#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2008
    Posts
    48
    Rep Power
    15

    Help with getting Player to work in Firefox


    I've (with help) added the video.js player to a web page and it plays well in all browsers except Firefox. When accessing via Firefox, and trying to play a video I see: "no video with supported format and MIME type found".

    Here's my player code:

    Code:
    <video id="video_1200k.mp4" class="video-js vjs-default-skin"
          preload="none" width="640" height="264" controls
          poster="[var.base_url]/[var.thumb_file]" data-setup='{}'>
          <source src="http://url.com/uploads/[var.video_play]" type='video/mp4' />
    <object class="vjs-flash-fallback" width="640" height="264" type="application/x-  shockwave-flash" data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf">
    <param name="movie" value="http://url.com/flowplayer/flowplayer-3.2.16.swf" />
    <param name="allowfullscreen" value="true" />
    <param name="flashvars" value='config={"playlist":["[var.base_url]/[var.thumb_file]",  {"url": "http://url.com/uploads/ [var.video_play]","autoPlay":false,"autoBuffering":true}]}' />
    <!-- Image Fallback. Typically the same as the poster image. -->
    <img src="[var.base_url]/[var.thumb_file]" width="640" height="264" alt="Poster Image" title="No video playback capabilities." />
    </object>
    </video>
    Any suggestions/ideas/remedies will be appreciated.
  2. #2
  3. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,301
    Rep Power
    7170
    Firefox doesn't support mp4 videos, you need to provide a copy of the video in a supported format like WebM in addition to providing it in mp4. Since you're using Flowplayer, I recommend checking the documentation; it should cover ways of providing multiple video formats.
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2008
    Posts
    48
    Rep Power
    15
    Originally Posted by E-Oreo
    Firefox doesn't support mp4 videos, you need to provide a copy of the video in a supported format like WebM in addition to providing it in mp4. Since you're using Flowplayer, I recommend checking the documentation; it should cover ways of providing multiple video formats.
    I'm hoping to find a Firefox fallback solution

IMN logo majestic logo threadwatch logo seochat tools logo