Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access to javascript youtube player
Message
From
25/03/2017 18:52:18
 
 
To
25/03/2017 18:18:42
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Miscellaneous
Thread ID:
01649327
Message ID:
01649340
Views:
52
>there is one youtube player built with google JSapi .it can be configured diffrently
>there is settings cannot change at runtime (named playerVars) and are set in player initialization
>(for building the player ).
>methods can change dynamically (at runtime) are:
> -play ,pause,stop,mute,unmutre,restart,end,volume level,go forward,go backward,speed,fullscreen.....
>i get some progress in this work but i struggle with communication between vfp/javascript.
>
>the code i gave is to put in navigated html file of the web Browser on a form
>add some vfp commandbuttons to send commands to the player.
>
>
>i solved the buttons from vfp: play,pause,stop,mute,unMute.
>i stumbled on : getVolume,setVolume,getcurrentTime,GetDuration....
>The player i work on a form, looks like the photo attached.

Using the VLC Media Player ActiveX those settings are easy to set and get, with a surplus bonus (at least, as I see it) that the IE layer is not required. If you're interested, you could take a look at it.
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform