So here is the deal i want that the button comes first so the client can skip video to see website...
// create youtube player
var player;
function onYouTubePlayerAPIReady() {
player = new YT.Player('player', {
height: '100%',
width: '100%',
videoId: 'fJaHtTJ_wkc',
playerVars: {
controls: 0,
showinfo: 0 ,
modestbranding: 1,
wmode: "opaque"
},
http://jsfiddle.net/7Gznb/880/
Can some1 help me pls?
Found a link that may answer your question.
http://msdn.microsoft.com/en-us/library/ie/hh924823(v=vs.85).aspx
You need to make functions to allocate commands for the video itself, and link it to buttons themselves. For a button to skip a video, you need to make commands to be able to skip the video itself.