views:

2029

answers:

3

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

+4  A: 

You shouldn't do that. If you need a video-host who keeps their branding off of your screen, I suggest http://blip.tv. You can transfer your videos there via a FTP (they make it available to all users), and even customize your own player with your own branding.

Jonathan Sampson
i try this vote down check http://blip.tv but its so slow, i prefer to use youtube , with their logo or water mark, can we just disable click.?
air
No, air. You can't disable their click.
Jonathan Sampson
A: 

use Jw player and add this code to your page

This text will be replaced var so = new SWFObject('http://astra.pcriot.com/videos/player.swf','ply','400','315','9','#000000'); so.addParam('allowfullscreen','true'); so.addParam('allowscriptaccess','always'); so.addParam('wmode','opaque'); so.addVariable('file','http://www.youtube.com/watch?v=YQmt8uHgIGY'); so.write('mediaspace');
axraf