Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I add a video player to my mainform???
#8
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
Sssssssssoftware developer...


Messages In This Thread
Re: How can I add a video player to my mainform??? - by Snake_eyes - 03-27-2013, 01:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Opening a video automatically from a directory K_Mccormic 3 13,513 03-14-2012, 10:53 AM
Last Post: Vinwarez

Forum Jump:


Users browsing this thread: 1 Guest(s)