dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Why don't embedded videos play when viewed with Firefox?

  1. #1
    Join Date
    Apr 2011
    Posts
    19

    Why don't embedded videos play when viewed with Firefox?

    I developed this site for a client that has embedded videos in it. They are played in a model window when the viewer clicks on one of the videos. These are created with Java Script. The videos are hosted on Vimeo.

    So far the videos play perfectly on every computer and browser Iíve tried them on except for one. Iíve tried launching and watching the videos on several Mac Laptops using Firefox and the playback is terrible. Itís very stalled and choppy.

    Iíve read that Firefox has a problem with H.264 encoded video. Is this what the problem is?

    Does anyone have a solution? It would be greatly appreciated.

    Thanks

    http://www.duncansharpfilms.com/new/test0001/

  2. #2
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    I doubt very much that there is any problem with Firefox playing H.264 video... more likely the problem is that the bitrate is just too high for the connection you are testing on.
    Here is why I say that...
    very stalled and choppy
    is a symptom of the video player not receiving data fast enough to continue the display uninterrupted.
    videos play perfectly on every computer and browser I’ve tried
    sounds like you are using desktop computers to test??? and then a MAC laptop?? are they ALL hardwired into the Internet connection via ethernet or are the desktops hard wired while the laptop is wireless??
    If you are testing some computers that are hardwired and some that are wireless, of course the wireless connection will have a slower connection than computers hardwired into the same router.
    On the MAC that is having trouble, what other browsers have you tested on, IE, Chrome, Safari? or is the Mac only using FF? or have you also tested the video on the Mac in IE?
    Test and compare download speeds of the various computers here:
    http://speedtest.net/
    Just for review of what bitrate is:
    Video bit rate
    Video bitrate is the minimum amount of data that must continually flow into the video player in order for the player to display that particular video uninterrupted. If that supply of data is not high enough, the video player will stop…. Wait for more data to download, then resume. The video bitrate is set as a parameter when the video is encoded.
    One of the principle of goal setting is to "Begin with the end in mind". In this case it'll be very hard to give good recommendations because the end is not defined. So I'll just make a few assumptions and you can correct me as needed.
    First, I'll assume that since you are converting to Flash, you want to deliver this video over the Internet. If that's true, then we'll have to make some assumptions on the Internet connection download speeds of your potential viewers. Let's just say that most have at least a 1.5Mb connection or faster.
    OK, that would mean that a video bitrate of half that should usually provide a video download that is not interupped by buffering (most of the time anyway). So assuming a video bitrate of 750kbps, what would the optimum display dimensions be?
    Before we decide, here's a little info about bitrate. For highest quality playback, the video bitrate is tied directly to the display dimensions. That is, the larger the display, the more incoming data is required to properly display the video. Think of bitrate in terms of a can of paint. If you have 1 quart of paint, you might be able to do a very nice job on a 32 X 24 foot area. But if you try to stretch that same amount of paint out over a 64 X 48 foot area, the coverage will not be nearly as good and you get poor results.
    In the same way, a video displayed at 640 X 480 pixels will require 4 times the bitrate as a video displayed at 320 X 240 pixels to produce the same quality. So for example a video with a bitrate of 100kbps, displayed at 160 X 120 will produce the same quality results as a video with a bitrate of 1600kbps if displayed at 640 X 480.
    So to boil it all down, video bitrates of 750kbps, even up to 1000kbps can usually get delivered of the Internet on most high speed connections. Higher bit rates may work for really fast connections but will cause problems for viewers with slower connections. Video display size has a direct bearing on the final quality. In the 750 to 1000kbps range, display size should be kept around 450 or 500 width max (and whatever height the aspect ratio calls for). Yes it can be displayed larger, but the quality will suffer.
    Sound like your audio settings are fine, especially for Internet delivery.
    As for framerate, maintain the original raw video framerate for best results. So if the video was shot at 24fps, leave it.
    As for video converters, do you have the Flash 8 Video Converter? It works just fine for video to be delivered over the Internet. Remember, you are taking a Cadillac version of video (h.264 HD) and stuffing it into a Chevy body to get it to work over the Internet.
    Best of luck!
    Eye for Video

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles