You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Disable fullscreen on double click Created Nov 8, 2009

This thread is solved

Views: 4605     Replies: 6     Last reply Aug 7, 2011  
You must login first before you can use this feature

ev02

Posts: 2

Registered:
Nov 8, 2009

Disable fullscreen on double click

Posted: Nov 8, 2009

Hi,
I've search trough the forum and documentation, but I couldn't find an answer regarding fullscreen disable on double click.
Here is my code.

<script> 
flowplayer("player", "/flowplayer-3.1.5.swf",  { 
   plugins:  { 
        controls: null
    },  
     
    // pause on first frame of the video 
    clip: { 
	 onBegin: function () { this.getPlugin("play").hide(); }, 
	  autoPlay: true,
	 onBeforePause : function(){ 
        return false; },
	
	 onBeforeFinish: function() { return false; }
    } 
	

	
});
Thanks.

Edge
Vizmu Media ------------------- http://vizmu.com/

Posts: 576

Registered:
Nov 29, 2008

» Disable fullscreen on double click

Posted: Nov 8, 2009

Reply to: Disable fullscreen on double click, from ev02
I just tested this and it worked. But it completely disables full screen, Eg. the full screen button gets disabled as well.


<script language="JavaScript"> 
$f("player", { allowfullscreen: 'false', src: "/flowplayer-3.1.5.swf"},
{
   clip: {  
        url: "/path/to/video.flv", 
        scale: 'fit', 
        autoPlay: false, 
        autoBuffer: false 
         }
});      
</script> 

ev02

Posts: 2

Registered:
Nov 8, 2009

» » Disable fullscreen on double click

Posted: Nov 9, 2009

Reply to: » Disable fullscreen on double click, from edge
Works perfect. Thank you very much!

Chetan Sachdev
-- http://riageeks.com

Posts: 61

Registered:
Jan 27, 2010

» » » Disable fullscreen on double click

Posted: Feb 23, 2010

Reply to: » » Disable fullscreen on double click, from ev02
Doesn't works for me, gives me this error

SecurityError: Error #2152: Full screen mode is not allowed.
	at flash.display::Stage/set displayState()
	at FullscreenManager/goFullscreen()[E:wssflowplayer-wsFlowPlayerflowplayersrcactionscriptorgflowplayerviewFullscreenManager.as:95]
	at FullscreenManager/toggleFullscreen()[E:wssflowplayer-wsFlowPlayerflowplayersrcactionscriptorgflowplayerviewFullscreenManager.as:82]
	at org.flowplayer.view::FlowplayerBase/toggleFullscreen()[E:wssflowplayer-wsFlowPlayerflowplayersrcactionscriptorgflowplayerviewFlowplayerBase.as:264]
	at org.flowplayer.view::Launcher/onDoubleClick()[E:wssflowplayer-wsFlowPlayerflowplayersrcactionscriptorgflowplayerviewLauncher.as:776]
	at org.flowplayer.view::Launcher/onClickEvent()[E:wssflowplayer-wsFlowPlayerflowplayersrcactionscriptorgflowplayerviewLauncher.as:807]
I am using 3.1.5, I have tested it by downloading player and with one, which is configured in my Flash Builder.

Below is the error message from non debug version:

SecurityError: Error #2152: Full screen mode is not allowed.
	at flash.display::Stage/set displayState()
	at FullscreenManager/goFullscreen()
	at FullscreenManager/toggleFullscreen()
	at org.flowplayer.view::FlowplayerBase/toggleFullscreen()
	at org.flowplayer.view::Launcher/onDoubleClick()
	at org.flowplayer.view::Launcher/onClickEvent()
Any suggestions, or tweaks to sort this out ?

--
Chetan
http://riageeks.com

Edge
Vizmu Media ------------------- http://vizmu.com/

Posts: 576

Registered:
Nov 29, 2008

» » » » Disable fullscreen on double click

Posted: Mar 1, 2010

Reply to: » » » Disable fullscreen on double click, from cksachdev
What version of flash player are you running?

Chetan Sachdev
-- http://riageeks.com

Posts: 61

Registered:
Jan 27, 2010

» » » » » Disable fullscreen on double click

Posted: Mar 4, 2010

Reply to: » » » » Disable fullscreen on double click, from edge
I tested it on both Flash Player 9.0.115 and higher and FP 10. Sorry, for the late response, I wasn't subscribed to this thred. Please let me know the solution.

Thank you

--
Chetan