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

Adding video texture to projections in an onclick event (Android) #63

Closed
monkeybullet opened this issue Nov 27, 2017 · 1 comment
Closed

Comments

@monkeybullet
Copy link

monkeybullet commented Nov 27, 2017

I dont know if this might be a duplicate (i couldn't find a related issue), but if it is feel free to close this issue. I have a problem with adding a video texture to a projection (a simple plane) that gets created when clicking on a cube on Android.

If i create a plane object with a video texture and add it to a POI it works just fine on Android, but whenever i add a new projection with a video texture behind a click event i just cant get the video texture to start playing. I know most video's on Android need a click event to start playing but that doesn't make a difference in this case.

All the above works fine if i run it in browser, don't know about IOS.

If anyone has a relating issue or tips to fix this problem please let me know! Any help is appreciated.
Note: I use awe.js with phonegap as a cross-platform.

Edit: This problem persists even if i add the projection at the start but make it invisible and make it visible within the onclick from the cube.

Edit 2: Seems like the video is actually getting stuck on readyState 1, any ideas?

@monkeybullet
Copy link
Author

Alright i fixed the issue by adding the crosswalk plugin for cordova.

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

1 participant