Play local video from iPad on HTML 5 webpage

Does anyone know if you can use the HTML5 tag to play videos from an iPad library?

Something like:

<source src="/local/path/video.mp4" type="video/mp4" /> 

thank you for your time

+7
html5 iphone html5-video ipad video
source share
2 answers

As far as I know, web pages do not have access to the file systems of iOS devices (hence the lack of support for <input type="file"> in iOS).

The user does not have direct access to the file system, so it would be strange if they made web pages.

+1
source share

There is a solution, although it is not the most convenient.

You can use Jailbreak for your iOS device, install Cydia and download / install a web server such as iFile.

Then you can refer to any device file system file, referring to the device IP address, for example:

 <source src="http://192.168.xx:10000/local/path/video.mp4" type="video/mp4" /> 

iFile will also give you direct access to your file system. Alternatively, you can use OpenSSH to remotely access your file system using programs such as WinSCP.

+1
source share

All Articles