搜尋 Mozilla 技術支援網站

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

了解更多

Can I play a video in a web page locally (offline)?

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

more options

I'm creating a demo on an Android 3.1 tablet, I need to deliver the demo locally (offline). The demo will basically be a series of HTML pages with embedded HTML5 videos.

I know the demo will work if I deliver it via the Net, but I don't want to do that. Will Firefox play HTML5 video in pages that I load from local storage? Or do the pages have to be served by a web server for the video to play?

I'm creating a demo on an Android 3.1 tablet, I need to deliver the demo locally (offline). The demo will basically be a series of HTML pages with embedded HTML5 videos. I know the demo will work if I deliver it via the Net, but I don't want to do that. Will Firefox play HTML5 video in pages that I load from local storage? Or do the pages have to be served by a web server for the video to play?

所有回覆 (3)

more options

Yes, Firefox can play videos in HTML pages saved on your computer. For example, if you open a page that contains HTML5 videos and choose "Save Page As..." from the Firefox menu, and choose the "Web page (complete)" option, then Firefox should save the videos too in a separate folder, and play them when you open the saved page.

more options

Thanks! I'll give it a shot.

more options

Hmmm... Firefox7 for Android doesn't seem to have a "Save Page As" function (or maybe I just haven't found it yet). Maybe I could save the page on a Windows machine, transfer it to my tablet, and load it there? I'll see if that works.