Topic: Disable double click in media player Pages that link to <a href="https://ozoneasylum.com/backlink?for=30505" title="Pages that link to Topic: Disable double click in media player" rel="nofollow" >Topic: Disable double click in media player\

 
Author Thread
ssadi
Neurotic (0) Inmate
Newly admitted

From:
Insane since: Aug 2008

IP logged posted posted 08-25-2008 07:50 Edit Quote

Hi all,

I am new to scripting. I have developed a package in my company integrating media player and html pages using java script.

When I double click on the media player in the html file it goes into full screen mode. I need to diable this option. My client is not going to accept this package without the option diabled.

Please can anyone help me with this.

SSADI

samliew
Obsessive-Compulsive (I) Inmate

From: JavaScript World
Insane since: Aug 2008

IP logged posted posted 08-25-2008 08:02 Edit Quote

You could use a flash player to play the video/sound instead of using WMP plugin.

Hope this helps!

Personal Website | My JavaScripts | My Facebook

ssadi
Obsessive-Compulsive (I) Inmate

From:
Insane since: Aug 2008

IP logged posted posted 08-25-2008 08:22 Edit Quote

thanks for the suggestion but I have to use the media player as I am streaming my video and the duration of the video is also big.
Also I am integrating it with powerpoint slides. So I guess I have to use media player.

Any other suggestions

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 08-25-2008 10:20 Edit Quote

Streaming is easily handled by flash - see youtube, and I'm sure flash's even more accessible from javascript than the media player.

Can't say I have a solution for you - but why would your client 'not accept this package' with that option?


(Hacky attempt, though - don't do this at home kids)

code:
function preventFullscreen()
{
   player.fullScreen = false;
   setTimeout(preventFullscreen,100);
}



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu