Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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

  • 3 ответа
  • 1 имеет эту проблему
  • 14 просмотров
  • Последний ответ от 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.

Все ответы (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?