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

window.videoControls.classList is undefined in Cordova #35

Open
mladenp opened this issue Mar 15, 2016 · 4 comments
Open

window.videoControls.classList is undefined in Cordova #35

mladenp opened this issue Mar 15, 2016 · 4 comments

Comments

@mladenp
Copy link

mladenp commented Mar 15, 2016

I am trying to use this inside Cordova with Ionic but i am getting error window.videoControls.classList doesn't exist.

@mladenp
Copy link
Author

mladenp commented Mar 16, 2016

As i am using Cordova i need to put runEleVRPlayer() inside deviceReady event.
When i did that, the player is showing, i hear the sound, videoControls is still undefined BUT no video is shown.
Everything works fine in latest Chrome browser but when i use it in Cordova/Ionic video is not working. I tried crosswalk so i can choose webview version (tried 13.42.319.6) but still nothing.

I am also getting a lot of warnings like:
[GroupMarkerNotSet(crbug.com/242999)!:54ACDF9E]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid target
[GroupMarkerNotSet(crbug.com/242999)!:54ACDF9E]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[GroupMarkerNotSet(crbug.com/242999)!:54ACDF9E]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid target

@hawksley
Copy link
Owner

I'm not really familiar with Cordova at all, so I'm not sure how to help.

The texture issue sometimes has to do with the size of your video, but it can show up for other reasons too.

@mladenp
Copy link
Author

mladenp commented Mar 22, 2016

As far as i know there isn't any difference between standard browser and WebView with Crosswalk. The only thing they are mentioning is that they are following standard WebGL blacklist. But if it works in Chrome browser on Android it should work on Crosswalk inside Cordova.

@thecrookedalchemist
Copy link

Load the player to an online server... Build your cordova app using an iFrame, just reference the source of the player in your iFrame.

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

3 participants