juan1387 / jquery-tubular

Automatically exported from code.google.com/p/jquery-tubular
MIT License
0 stars 0 forks source link

Hide mission-controls if no flash #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I really like your plugin and it works fine, but i'm searching for a clean way 
to hide the mission-controls if flash is not activated.

Would be great if you have an solution, that can be intregrated into the 
jquery.tubular.js

Original issue reported on code.google.com by mydirtyf...@gmail.com on 5 Dec 2011 at 9:12

GoogleCodeExporter commented 8 years ago
swfobject already does flash detection:

you could perhaps modify the below (found code) hide mission control. 

 if(swfobject.hasFlashPlayerVersion("9.0.115"))
    {
        $("#withflash").show (); 
    }
    else
    {
        $("#noflash").show ();  
    }
});

Original comment by jenkins2...@gmail.com on 8 Dec 2011 at 1:47

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
thx jenkins, this works fine for me:

if 
(swfobject.hasFlashPlayerVersion("9.0.18")){}else{$("#video-controls").hide();} 

Original comment by mydirtyf...@gmail.com on 12 Dec 2011 at 11:39

GoogleCodeExporter commented 8 years ago
My first goal will be to make it work via html5 video.  But yeah, the plugin 
should be unobtrusive and get out of the way when the video player doesn't work.

Original comment by seanmcca...@gmail.com on 24 Feb 2012 at 4:58

GoogleCodeExporter commented 8 years ago

Original comment by seanmcca...@gmail.com on 24 Feb 2012 at 5:04

GoogleCodeExporter commented 8 years ago
Updated to YouTube's iframe embed code.  How does that affect this issue?  It 
will still use the Flash embed sometimes.

Original comment by seanmcca...@gmail.com on 15 May 2012 at 5:50