Flowplayer with HTML5 player fallback

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Oracle Porn
    Affiliate
    • Oct 2002
    • 24433

    #1

    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
    Monger Cash
    • Jul 2010
    • 2773

    #2
    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

    Comment

    • Oracle Porn
      Affiliate
      • Oct 2002
      • 24433

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


      Comment

      • vdbucks
        Monger Cash
        • Jul 2010
        • 2773

        #4
        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).
        Last edited by vdbucks; 04-22-2014, 03:30 AM.

        Comment

        • Oracle Porn
          Affiliate
          • Oct 2002
          • 24433

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


          Comment

          • geedub
            Confirmed User
            • Jun 2005
            • 3489

            #6
            Any ideas for mobile video behind http authorization? html5 video players don't like http auth.
            Reliable web host that actually cares, tell em geedub sent ya. Vacares

            Comment

            Working...