搜尋 Mozilla 技術支援網站

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

了解更多

File URL doesn't pass from another app

  • 2 回覆
  • 1 有這個問題
  • 12 次檢視
  • 最近回覆由 kiomiobob

more options

I can enter the file URL "file:///sdcard/video.mp4" and the video plays just fine. When online it also brings up "www.file.com" in the window, which would be best that it didn't.

When I pass the same URL from another app, the URL bar shows "http://www.file.com///sdcard/video.mp4", when online. When offline, it shows "http://file///sdcard/video.mp4". Consequently the video doesn't play.

I have tried the same with 9 other browsers and the substituted URL is different, so I assume that it is the browser doing the substitution rather than the app.

I want to play the video from the app through FireFox whether offline or online using the same URL that works directly.

Thank you, Bob

I can enter the file URL "file:///sdcard/video.mp4" and the video plays just fine. When online it also brings up "www.file.com" in the window, which would be best that it didn't. When I pass the same URL from another app, the URL bar shows "http://www.file.com///sdcard/video.mp4", when online. When offline, it shows "http://file///sdcard/video.mp4". Consequently the video doesn't play. I have tried the same with 9 other browsers and the substituted URL is different, so I assume that it is the browser doing the substitution rather than the app. I want to play the video from the app through FireFox whether offline or online using the same URL that works directly. Thank you, Bob

由 kiomiobob 於 修改

所有回覆 (2)

more options
more options

I appreciate your idea. I do that for my web apps. But for my OFFLINE implementations, I want to access the video clip from the SD card on the mobile device.

由 kiomiobob 於 修改