Play Youtube from form (1 Viewer)

pekajo

Registered User.
Local time
Tomorrow, 00:13
Joined
Jul 25, 2011
Messages
133
Hi,
I think I am missing something simple but can you tell me how to play a youtube video from a form.
I have a number of youtube demos and would like have them 'clickable' (Button?) from a form.
I have tried Me.WebBrowser0.ControlSource but get an error.
Any Ideas.
Thanks
 

Rene vK

Member
Local time
Today, 14:13
Joined
Mar 3, 2013
Messages
123
You can use a Textbox in the background for the hyperlink. the textbox will be your controlsource
 

Isaac

Lifelong Learner
Local time
Today, 06:13
Joined
Mar 14, 2017
Messages
8,738
Try Me.Webbrowser0.navigate "url"
 
Last edited:

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 21:13
Joined
May 7, 2009
Messages
19,175
Me.WebBrowser0.ControlSource = "=""" & theURLHere & """"
 

pekajo

Registered User.
Local time
Tomorrow, 00:13
Joined
Jul 25, 2011
Messages
133
Hi,
I'm getting:
Error.jpg
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 21:13
Joined
May 7, 2009
Messages
19,175
what msa version do you have?
maybe you can use .Navigate method of the webbrowser control.
 

Users who are viewing this thread

Top Bottom