- Envato Staff
- Reviewer
- Has been a member for 4-5 years
- Bought between 50 and 99 items
- Referred between 500 and 999 users
- Sold between 100 000 and 250 000 dollars
- Latvia
- Author had a File in an Envato Bundle
Hi ActiveDen people. came here from VideoHive asking for your advice. There is this simple problem, which might bee too simple for you, but it’s huge for me as I’m not working with flash and actionscript normaly.
I made a video banner for client that plays separate flv file. banner will be displayed in the separate window or something so in the banner has to be X close button that calls JavaScript.
that part is fine, but the same button also have to kill the video stream. I was searching the forums and Google and all i can find is yourvideoplayername.stop(); which stops video and audio, but doesn’t stop the loading process. I mean – I can see at the bottom of my browser that it is still accessing the third party website and is loading the video content from there – therefore wasting resources while video is already closed.
any help?
- Sold between 50 000 and 100 000 dollars
- Author was Featured
- Author had a Free File of the Month
- Exclusive Author
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Europe
- Has been a member for 3-4 years
- Referred between 10 and 49 users
Is this video managed with FLVPlayback Class or a custom written video class?
- United States
- Has been a member for 4-5 years
- Exclusive Author
- Author was Featured
- Sold between 50 000 and 100 000 dollars
- Item was Featured
- Contributed a Tutorial to a Tuts+ Site
- Author had a Free File of the Month
If you’re using the FLVPlayback Component, add this:
video.stop(); video.closeVideoPlayer();
if your using your own custom player, add this:
netConnectionVar.close(); netStreamVar.close(); video.clear();
