File URL doesn't pass from another app
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
Endret
All Replies (2)
<embed URL> </embed>
you can upload to youtube ,imageshack,blogger,photobucket...etc.
<embed src="http://www.file.com/sdcard/video.mp4"></embed>
【Reference】 http://www.htmlcodetutorial.com/embeddedobjects/_EMBED.html http://rot2k5.blogspot.com/2011/09/swfavimp4gif.html http://rot2k5.blogspot.com/2011/06/yahoo-blogyoutube.html
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.
Endret