GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Flowplayer with HTML5 player fallback (https://gfy.com/showthread.php?t=1138889)

Oracle Porn 04-22-2014 02:30 AM

Flowplayer with HTML5 player fallback
 
How do I make flowplayer fallback to HTML5 for those surfers not having flash installed/mobiles etc?
I see there are many options for HTML5 player with flowplayer fallback but since having video ads on flowplayer is much easier I prefer having it as the primary player.

vdbucks 04-22-2014 03:04 AM

Quote:

By default Flowplayer uses the HTML5 video tag and falls back to Flash when HTML5 video is not supported. Alternatively Flowplayer can be configured to use Flash first and then fall back to HTML5 when Flash support is not present. The primary engine can be configured with the engine option or the data-engine attribute:
This will play intro.mp4 using the Flash engine if Flash is enabled in the browser:
Code:

<div class="flowplayer" data-engine="flash">
  <video>
      <source type="video/webm" src="http://mydomain.com/path/to/intro.webm">
      <source type="video/mp4"  src="http://mydomain.com/path/to/intro.mp4">
  </video>
</div>

https://flowplayer.org/docs/setup.html#flash

Oracle Porn 04-22-2014 03:10 AM

I'm talking about the flowplayer flash version not the new one. http://flash.flowplayer.org

vdbucks 04-22-2014 04:27 AM

http://jsfiddle.net/eb9VU/

You can test it by enabling/disabling flash in your browser (in chrome open a new tab, type "about:plugins" (no quotes) then click "Disable" for "Adobe Flash Player).

Oracle Porn 04-22-2014 07:37 AM

it works but for some reason it crashes chrome browser on android

geedub 04-22-2014 08:03 AM

Any ideas for mobile video behind http authorization? html5 video players don't like http auth.


All times are GMT -7. The time now is 07:56 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc