03-27-2013, 01:27 AM
The player doesn't have to be visible in the designer or in form load. You can load a specific youtube video on form load but in order to do that the link must be modified
Normal link:
http://www.youtube.com/watch?v=QK8mJJJvaes
Modified link:
http://www.youtube.com/v/QK8mJJJvaes
As i said in my previous post asign this link to the movie property like this :
[code2=vbnet]AxShockwaveFlash1.Movie = "http://www.youtube.com/v/QK8mJJJvaes"[/code2]
Also the link accepts several parameters like "autoplay"
, and to use them they must be added at the end of the link with an & sign example:
http://www.youtube.com/v/QK8mJJJvaes&autoplay=1
autoplay parameter at the end means that the video will start when the link is loaded.
A full list of parameters can be found at :
https://developers.google.com/youtube/pl...eters.html
But bear in mind that several Youtube videos can only be watched on the site and dont know if this is the best aproach
Normal link:
http://www.youtube.com/watch?v=QK8mJJJvaes
Modified link:
http://www.youtube.com/v/QK8mJJJvaes
As i said in my previous post asign this link to the movie property like this :
[code2=vbnet]AxShockwaveFlash1.Movie = "http://www.youtube.com/v/QK8mJJJvaes"[/code2]
Also the link accepts several parameters like "autoplay"
, and to use them they must be added at the end of the link with an & sign example:
http://www.youtube.com/v/QK8mJJJvaes&autoplay=1
autoplay parameter at the end means that the video will start when the link is loaded.
A full list of parameters can be found at :
https://developers.google.com/youtube/pl...eters.html
But bear in mind that several Youtube videos can only be watched on the site and dont know if this is the best aproach
Sssssssssoftware developer...