When the page is reloaded the video will start from the last positionĪdd one or more CSS filters as object to the videoĪ callback function fired once the player is readyĪ callback function fired if there's an errorĪ callback function fired when the video endsĨ. The video always fit the containment without displaying the black strips ![]() The video when in full screen covers all the display Stop the video if the window loose the focus * if the player containment is set to "self" this allow the video to go fullscreen when played Percentage of the player height the video should stop or start when visible Play the video only if the containment is on screen Shows the control bar at the bottom of the containmentĬenter,top,bottom,left,right combined in pairĭisplay the Youtube logotype inside the button bar Quality has been deprecated on the YT API and doesn't work anymore Include jQuery YTPlayer CSS to style your player ģ. ![]() ![]() Include jQuery framework and jQuery YTPlayer on the page Ģ. Fullscreen Background Video Plugin For jQuery - BigVideoġ. ![]() You can also use this plugin as a normal video player (with playlist support) for your web page. YTPlayer is a jQuery plugin that allows you to use a youtube video as the background of your web page using html5 data-* attributes and youtube API.
0 Comments
Leave a Reply. |