215 posts
  • Elite Author
  • 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
+5 more
placdarms Reviewer says

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?

1675 posts Envato Elite Author
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Europe
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
+1 more
Tean says

Is this video managed with FLVPlayback Class or a custom written video class?

5277 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
+5 more
CodingJack says

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();
by
by
by
by
by
by