搜尋 Mozilla 技術支援網站

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

了解更多

Is Firefox no longer reading *local* VTT files?

  • 3 回覆
  • 1 有這個問題
  • 6 次檢視
  • 最近回覆由 roberto32

more options

I have a website that has MP4 video in a HTML5 video player, with subtitles done in the WebVTT format (*.vtt). I just noticed that, when testing my pages locally on my C drive, the subtitles no longer appear on the movies. They do appear on the website (thankfully). Does this mean that lately Firefox has dropped support for local VTT files? Chrome has always ignored local VTTs, for some reason, which is why - until now - I used Firefox to test subtitles off the C drive. Note: If I link the local page to the VTT file on my website, subtitles still do not appear in Firefox. It could be something else, of course, so just need to know if VTTs are now unloadable locally in FF.

I have a website that has MP4 video in a HTML5 video player, with subtitles done in the WebVTT format (*.vtt). I just noticed that, when testing my pages locally on my C drive, the subtitles no longer appear on the movies. They '''do''' appear on the website (thankfully). Does this mean that lately Firefox has dropped support for local VTT files? Chrome has always ignored local VTTs, for some reason, which is why - until now - I used Firefox to test subtitles off the C drive. Note: If I link the local page to the VTT file on my website, subtitles still do not appear in Firefox. It could be something else, of course, so just need to know if VTTs are now unloadable locally in FF.

由 roberto32 於 修改

所有回覆 (3)

more options

Are you using file:// links or are you using a server to access the VTT files via localhost ? There can always be restriction with using file:// links.

more options

Thanks. Yes, I open the pages from file://. FF still loads everything else - the HTML page, the CSS, the mp4s, images, just not the VTTs. Reading the VTT files has never been a problem until now. So maybe recently FF introduced some extra "security" that's blocking VTT in particular?

more options