Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Learn More

http://www.johnkhutchison.com/ has MP4 content I can't play

  • 3 svar
  • 1 har detta problem
  • 14 visningar
  • Senaste svar av Alex-N

more options

I have numerous MP4 files that play OK, but the web site shown has MP4s where nothing happens when I click the start triangle. I've tried adding VLC media player that does not help.

I have numerous MP4 files that play OK, but the web site shown has MP4s where nothing happens when I click the start triangle. I've tried adding VLC media player that does not help.

Alla svar (3)

more options

Check the video links. My download managers show no clips.

more options

That web page thinks that Firefox can't play MP4 files:

var video = document.getElementById('video');
if (video.canPlayType && video.canPlayType('video/mp4')) {
	// canPlayType is overoptimistic, so we have browser sniff.
	if (navigator.userAgent.indexOf('WebKit/') <= -1) {
		// Only webkit-browsers can currently play this natively
		fallback(video);
	}
} else {
	fallback(video);
}

That makes the website fallback to a Shockwave Flash player that doesn't seem to work (at least for me on Linux). If I spoof the user agent to Google Chrome (WebKit) then I get a native HTML5 media player that can play the MP4 file.

more options

The answer seems geared to someone who has more knowledge than me. Is there a step-by-step way for me to get past this problem?