as you know that when you Embed youtube video in your web page, it works fine , but if you click on any part of screen, youtube website will open in new window.
is there any way to Embed youtube video in our website, but disable that youtube website opening when click on screen to pause the video?
or you can play you tube video in other player..?
i am looking for way around it.
any way possibility in j query, ajax, java script or PHP, mootools etc. Thanks
try this:
it is from youtube API sample, so it should be official supported
important is &version=3
or &something=xx;version=3
<object style="height: 390px; width: 640px">
<param name="movie" value="http://www.youtube.com/v/u1zgFlCw8Aw?version=3">
<param name="allowFullScreen" value="true">
<param name="allowScriptAccess" value="always">
<embed src="http://www.youtube.com/v/u1zgFlCw8Aw?version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="390"></object>