Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access to javascript youtube player
Message
De
25/03/2017 18:52:18
 
 
À
25/03/2017 18:18:42
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01649327
Message ID:
01649340
Vues:
53
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform