Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: HTML5 video player on iOS #4568

Closed
root-io opened this issue Oct 28, 2015 · 2 comments
Closed

bug: HTML5 video player on iOS #4568

root-io opened this issue Oct 28, 2015 · 2 comments

Comments

@root-io
Copy link

root-io commented Oct 28, 2015

Type: bug

Platform: ios 9 webview

I am trying to get the HTML5 video player to work on iOS (it works on android), I have tried multiple video formats with no success. So basically, when I click to play the video, nothing happen.
Any help would be appreciated, here is a link to the code.

If you want to run it on a device: https://github.com/root-io/myApp

    <video controls="" autoplay="" width="100%">
      <!-- MP4 must be first for iPad! -->
      <source src="http://clips.vorwaerts-gmbh.de/VfE_html5.mp4" type="video/mp4"><!-- Safari / iOS, IE9 -->
      <source src="http://clips.vorwaerts-gmbh.de/VfE.webm" type="video/webm"><!-- Chrome10+, Ffx4+, Opera10.6+ -->
      <source src="http://clips.vorwaerts-gmbh.de/VfE.ogv" type="video/ogg"><!-- Firefox3.6+ / Opera 10.5+ -->
    </video>

Source: http://camendesign.com/code/video_for_everybody/test.html

@root-io root-io changed the title HTML5 video player on iOS bug: HTML5 video player on iOS Oct 28, 2015
@root-io root-io changed the title bug: HTML5 video player on iOS bug: bug: HTML5 video player on iOS Oct 28, 2015
@root-io root-io changed the title bug: bug: HTML5 video player on iOS bug: HTML5 video player on iOS Oct 28, 2015
@mhartington
Copy link
Member

Are you seeing on ios9? This sounds like apple's ATS is to blame.
I have this put together to help out with that

https://www.npmjs.com/package/cordova-config-utils

@mhartington mhartington added the needs: reply the issue needs a response from the user label Oct 29, 2015
@root-io
Copy link
Author

root-io commented Oct 29, 2015

Damn, you are totally right, I tested the files with https now it works, thanks !

@Ionitron Ionitron removed the needs: reply the issue needs a response from the user label Oct 29, 2015
@root-io root-io closed this as completed Oct 29, 2015
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants