I found the flash fallback is not working. I have only one video file, an MP4 file. It played on IE, Chrome, and Safari, but not on Firefox. I replaced the MP4 file with a FLV file and it played on all four browsers, including Firefox. I checked the following suggestion at videojs.com to add another line after the video end tag. I did not see such a line after the video end tag in the videojs.tpl.php module. Would this be causing it or am I doing something wrong?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ngwong’s picture

I forgot to mention that I also tried having both an MP4 and FLV file loaded with the same name. When FLV is higher prioity, it played on all four browsers. But when MP4 is higher priority, it does not work on Firefox.

Jorrit’s picture

Can I see the page where only the MP4 is loaded online? I would like to test this with Firefox myself.

ngwong’s picture

I am on localhost right now. Here are pictures of my setup. Problem with Firefox is that it only plays the audo and not show any video with MP4.

Jorrit’s picture

Status: Active » Postponed (maintainer needs more info)

Is it possible to post the MP4 file somewhere so I can download it and test it? What version of Firefox are you using?

michael.k’s picture

mp4 is not yet supported in Firefox. This is a prime example of why it's important to transcode into multiple codecs.

Open this page in Firefox, Chrome, Safari, etc:
http://rack.mkfilms.org/mime-types-check

Jorrit’s picture

MP4 should play in Firefox using the Flash fallback method.

paulap’s picture

As i understand the Flash fallback method is exactly for this situation that a browser can't play the video with HTML5 implementation.

This is a problem with the player itself?

Wr, paulap

ngwong’s picture

Jorrit,

Thanks for continuing to look at this issue. I just tried Firefox 11 and the flash fallback still does not work. I do not have a site where you can download the file. However, based your wanting to look at the file, I suspect I may be using an incorrect profile for the MP4 production. I will try other profiles to see what happens.

ngwong’s picture

I tried a MP4 IPOD/IPAD profile and it does not work either.

ngwong’s picture

Seeing that Mozilla just a few hours ago has thrown in the towel to support H.264, having flash fallback has just became a non-issue.

Jorrit’s picture

I don't know what to do with this issue. I need access to the page that has the described problem to be able to find the source of the problem. If you can't provide that, I can't solve this problem.

ngwong’s picture

Jorrit,

I put the file at ftp://ftp.compostcomfort.com for you to look at.

Jorrit’s picture

The MP4 that I downloaded from your FTP is not entirely conforming to what browsers and flash expect:

jorrit@jorrit-vm:~/Desktop$ ffmpeg -i H264\ PSP\ Bag\ video.mp4
FFmpeg version 0.6.4-4:0.6.4-0ubuntu0.11.04.1, Copyright (c) 2000-2010 the Libav developers
built on Jan 4 2012 16:13:16 with gcc 4.5.2
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'H264 PSP Bag video.mp4':
Metadata:
major_brand : MSNV
minor_version : 9024
compatible_brands: MSNVisommp42

Duration: 00:03:50.90, start: 0.000000, bitrate: 794 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 660 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 128 kb/s
At least one output file must be specified

A file that is OK looks like the following:

jorrit@jorrit-vm:~/Desktop$ ffmpeg -i sample.mp4
FFmpeg version 0.6.4-4:0.6.4-0ubuntu0.11.04.1, Copyright (c) 2000-2010 the Libav developers
built on Jan 4 2012 16:13:16 with gcc 4.5.2

Seems stream 1 codec frame rate differs from container frame rate: 2000.00 (2000/1) -> 10.00 (10/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Drupal/Video/Test Files/sample.mp4':
Metadata:
major_brand : M4V
minor_version : 1
compatible_brands: M4V M4A mp42isom

Duration: 00:01:25.51, start: 0.000000, bitrate: 209 kb/s
Stream #0.0(eng): Audio: aac, 44100 Hz, stereo, s16, 115 kb/s
Stream #0.1(eng): Video: h264, yuv420p, 320x240, 90 kb/s, 10 fps, 10 tbr, 1k tbn, 2k tbc
At least one output file must be specified

I recommend you transcode the video.

ngwong’s picture

Jorrit,

Thank you. I did not know there were such differences. I will transcode the video and let you know what happens.

Nelson

ngwong’s picture

I transcoded the video. It is not quite the format you have, but the video works on Firefox now. I confirmed that Flash took over by disabing Flash. When Flash is disabled, the video would not work. However, it does not work on Opera for some reason even though Flash was enabled. At least IE, Chrome, Firefox, and Safari are covered. Thank you.

ngwong’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

studiotaffi’s picture

Sorry for maybe an easy issue, but...

how do you encode like that using the video presets?

I got:

ffmpeg version git-2012-12-28-5079568 Copyright (c) 2000-2012 the FFmpeg developers
built on Dec 28 2012 18:04:05 with gcc 4.4.5 (Debian 4.4.5-8)
configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
libavutil 52. 12.100 / 52. 12.100
libavcodec 54. 81.100 / 54. 81.100
libavformat 54. 50.104 / 54. 50.104
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 30.101 / 3. 30.101
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Input #0, flv, from '2012-10-02_10.10.36_flv_1357558069.flv':
Metadata:
major_brand : isom
minor_version : 0
compatible_brands: isom3gp4
encoder : Lavf54.50.104
Duration: 00:00:03.77, start: 0.079000, bitrate: 794 kb/s
Stream #0:0: Video: h264 (High), yuv420p, 640x480 [SAR 4:3 DAR 16:9], 800 kb/s, 30 tbr, 1k tbn, 60 tbc
Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 128 kb/s

thanks!

studiotaffi’s picture

Issue summary: View changes

Misspelled Jorrit's name