Jump to content

Recommended Posts

Posted

Hi,

 

Through a proxy server, all videos are blocked by denying all mime types starting with video/. I have found that I can rename a video to .docx and then when I download it I can change the extension again, allowing me to watch the video. I would like to have it play in an HTML5 video player instead of having to download it. I have used the following code to do this:

 

<video width='320' height='240' controls>
<source src='video.docx' type='video/mp4'>
Your browser does not support the video tag.
</video>

 

Which works fine on Safari on my computer, however when I try to play it (same file) on iOS I get a broken play icon. Note that when I use a video file with the correct mime type and extension (server side) I can get it to play on iOS. Since I cannot change the mime type back to a video (blocked) how can I get it to play on iOS? I am jailbroken and using iFile I can download the file manually and rename it, which will allow it to play, but it is much faster to just have it play in the browser window.

 

Thanks!

  • Like 2
Posted

QuickTime on iOS will only play the video if it is in a video format, at least in Safari. I don't know if that can be modified on a jailbroken device. Perhaps try it using the Chrome web browser app.

Posted

I tried Chrome but since Apple requires all third-party browsers on iOS to use their web-rendering engine it also didn't work.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...