為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

udemy.com HTML5 video playback not supported by Firefox?

  • 10 回覆
  • 8 有這個問題
  • 22 次檢視
  • 最近回覆由 ccintron

more options

This seems odd to me because if i copy the direct link to the video from Chrome or Edge it plays just fine in Firefox, but trying to initiate the video via Firefox brings up the "you need Flash plug-in".

I no longer install Flash on my system and prefer Firefox as my main browser.

Note from udemy support.

"I spoke to our engineers and unfortunately, to use our video player on Firefox, you must have Flash Player installed. Our HTML5 Player is proprietary and is unfortunately not supported by the Firefox browser. Even when you select the HTML5 option, it reverts back to Flash because HTML5 is not supported."

This seems odd to me because if i copy the direct link to the video from Chrome or Edge it plays just fine in Firefox, but trying to initiate the video via Firefox brings up the "you need Flash plug-in". I no longer install Flash on my system and prefer Firefox as my main browser. Note from udemy support. "I spoke to our engineers and unfortunately, to use our video player on Firefox, you must have Flash Player installed. Our HTML5 Player is proprietary and is unfortunately not supported by the Firefox browser. Even when you select the HTML5 option, it reverts back to Flash because HTML5 is not supported."

被選擇的解決方法

Worked with udemy support to track down the problem.

Udemy has fixed the bug that kept kicking Firefox to the "requires Flash" dead end.

從原來的回覆中察看解決方案 👍 0

所有回覆 (10)

more options

If the site is coded to hide the HTML5 player from Firefox, then what can you do? Oh yeah, lie to the site and tell it Firefox is Chrome. Might work, might crash Firefox.

The extension ua-site-switch, which admittedly has a rather confusing interface, can be used to send specific user agent strings to different sites. To find Chrome's UA string you could search for it or load this page in Chrome (the UA is in red):

https://jeffersonscher.com/res/jstest.php

https://addons.mozilla.org/firefox/addon/ua-site-switch/

more options

You can find the latest Flash player versions for Firefox on this page:

Works for me with the HTML5 media player

I see the WebHD.mp4 played via a video tag. The file is hosted on cloudfront.net, so make sure that you aren't blocking content.

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window
more options

jscher 2000, I'll give that a try and see what happens.

cor-el, the whole point is that I do NOT want Flash installed period.

more options

ua-site-switch does work to spoof a different browser but it doesn't help with udemy.com.

Whatever method they are using to wrap the video always kicks back to "install Flash Plugin".

Looks like at present the best option (Flash is dead to me) is to use Chrome or Edge.

more options

It works for me with the built-in HTML5 media player on Linux. I only posted the link to Flash in case you would want to install Flash.

There is an iframe that is created by processing the code in this div that is part of the page code. I can't right-click the player area, but it looks like JWPlayer code and there is a video tag in the page code.

<div class="col-lg-8 col-md-7" data-purpose="introduction-video">
                                    <div class="slp-promo-asset ud-jwplayer-communicator"
                         data-playerhtml='            <iframe id="2375582"
                    src="https://www.udemy.com/embed/video/E0EYdltXTX4T/?params%5Bvars%5D%5Bplaylist%5D%5B0%5D%5Bimage%5D=https%3A%2F%2Fdujk9xa5fr1wz.cloudfront.net%2Fcourse%2F750x422%2F41295_dd3f_5.jpg&params%5BtrackVideoPlay%5D=true"
                    width="100%"
                    height="100%"
                    frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen
                    style="background: black;">
            </iframe>
        '>
more options

cor-el, if I link direct to the video I can get it to function as well. However, udemy.com support states that Firefox is not compatible, which I presume has something to do with how they are wrapping/embedding the video.

more options

Does it work for you on this page?

Can you post as link that doesn't require logging in that doesn't work?

more options

cor-el that's the issue. The non-functioning must use flash seems to only occur on videos requiring a log in.

more options

Conversing with udemy support as they are also puzzled that html5 intro videos play and if I copy the url to a course video from chrome or edge the video also plays in Firefox.

So its doubtful the issue is that Firefox does NOT support HTML5 video.

more options

選擇的解決方法

Worked with udemy support to track down the problem.

Udemy has fixed the bug that kept kicking Firefox to the "requires Flash" dead end.