Finalize youtube video embedded in as3

0

I'm using a YouTube video embedded in a flash. When the video ends, you get the default YouTube video end screen, and suggest videos to the user.

Is there a way to set the video to pause in its final frame or go to another frame as soon as the video finishes?

    
asked by anonymous 13.07.2015 / 18:55

1 answer

1

If you do not want to display the related videos at the end of the video, just add the rel = 0 parameter at the end of the url.

For example:

<iframe width="560" height="315" src="https://www.youtube.com/embed/89Oc1UE7SS4?rel=0"frameborder="0" allowfullscreen></iframe>

More information: link

  

rel compatible players: HTML5, AS3 / 0 or 1. The default value is 1. This parameter indicates whether the player should display videos   when the playback of the initial video ends.

    
13.07.2015 / 19:09