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

Can't get video to play on iOS #46

Closed
drejohnson opened this issue Oct 20, 2015 · 15 comments
Closed

Can't get video to play on iOS #46

drejohnson opened this issue Oct 20, 2015 · 15 comments

Comments

@drejohnson
Copy link

Here's my code pen if that helps. Videogular without the Youtube plugin works fine.

@2fdevs
Copy link
Collaborator

2fdevs commented Oct 23, 2015

Can yuo post the codepen again? It seems that github cut it. :P

@drejohnson
Copy link
Author

Here it is: http://codepen.io/drejohnson/pen/ZbvEoQ

@rg-najera
Copy link

I'm having the same issues. Checked out the codepen and same deal.

@rubenCodeforges
Copy link

@2fdevs any progress on that ?
i cant reproduce it without iOS , linux seems ok , can be some browser specific issues
i mean safari , dont know is it still on webkit or not .

Perhaps ill try in opera but FF , Chrome works fine.

It also could be an issue of z-index and play button overlay

@rubenCodeforges
Copy link

Opera works fine

@NamPNQ
Copy link
Owner

NamPNQ commented Oct 29, 2015

As i remember, in ios , youtube iframe need bring to top to work, @rubenCodeforges Can you show we the message show in console when run in ios

@rubenCodeforges
Copy link

@NamPNQ sorry buddy i dont have iOS , but @el-rotny has , its now but night in usa , so he will be back like in 8 hours

@rubenCodeforges
Copy link

@NamPNQ BTW android and all available browser for it , works fine

@rg-najera
Copy link

@NamPNQ WebGL: INVALID_ENUM: getParameter: invalid parameter name, WEBGL_debug_renderer_info not enabled is not an error, it's a warning on html5player. No errors on the console as of now. The video shows "if playback doesn't begin shortly, try restarting your device" @rubenCodeforges we should note that we added the Vimeo support. Is there a fork everyone can try out? as per PR #45

Here is a screenshot
https://www.dropbox.com/s/ojojpzvd6v597ce/Screenshot%202015-10-29%2010.44.05.png?dl=0

@rubenCodeforges
Copy link

@el-rotny ive provided guys with the code , but vimeo is not firing when we are handling a youtube url

@2fdevs
Copy link
Collaborator

2fdevs commented Oct 29, 2015

@rubenCodeforges @el-rotny I haven't got time to take a look to this issue yet, I'm pretty busy this last two weeks at work. That WebGL error is quite weird and it looks to me a Youtube error more than a Videogular error.

Not all Youtube videos plays well on all devices, specially if it's an old video. Did you tried playing that Youtube video in Youtube website on iOS?

@rg-najera
Copy link

@drejohnson did you find a solution you can share?

@rubenCodeforges
Copy link

@2fdevs hi seems like on ios the controls of videogular are blocked and thats why we cant play the video.
A solution is to disable vg-controlls and overlay-play and other overlays , so that the youtube player is native. its a fallback but thanks to iOS devs for this sht

@rg-najera
Copy link

For anyone coming across this issue. This plugin is not compatible with https://github.com/videogular/bower-videogular-overlay-play on iOS. The protocols to play videos need to be initiated by user directly on the iframe rather than programmatically. Also, the controls from videogular wont initiate the player. What we did to combat this issue, is to hide the controls on API.currentState is equal to stop and hiding the overlay on the same state, only when on iOS. Once the video is played, the controls will be available on hover if you have that setting enabled.

Thanks @rubenCodeforges and @2fdevs for the help.

@NamPNQ
Copy link
Owner

NamPNQ commented Jan 25, 2016

No any update more. I close this issuse. if you have more questions, we can reopen ticket.

@NamPNQ NamPNQ closed this as completed Jan 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants