Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Can't play video in Android #71

Open
windystrife opened this issue Apr 3, 2018 · 6 comments
Open

Can't play video in Android #71

windystrife opened this issue Apr 3, 2018 · 6 comments

Comments

@windystrife
Copy link

i write some demo to play video .mp4 (no AR) , three.js only
but it can't play video in webARonARCore (it's black screen)
can play well on PC.
here it is:
https://windystrife.github.io/three.ar.js/examples/VideoTest.html

(it can work with livestream m3u8, but mp4 can't)

@robertjuh
Copy link

if it does work on normal chrome browsers it could be an issue with the current version of Chromium that webarONarcore uses.

@windystrife
Copy link
Author

yeah it work with normal chrome browers, but this version for ARCore not work

@robertjuh
Copy link

Yes i know.
What i do know is that they are working on trying to bring three.ar.js to a newer version of Chromium. There might be a chance that this would change the matter.

@robertjuh
Copy link

or maybe the DOM is different? have you tried the remote debugger function from chrome?
It is possible to debug what's happening on your phone by connecting to a remote device

@Danpollak
Copy link

Experienced the same issue when trying to render video through aframe-xr on this browser.
Got "Uncaught (in promise) DOMException: Failed to load because no supported source was found."
There was a user interaction to play the video, and I couldn't get it to play also through debugging and forced play() through the console.
The video did work on iOS at AR environment.
Tested on Pixel 2.

@judax
Copy link

judax commented May 1, 2018

This build of chromium does not have support for all the video formats. We will try to resolve this in the new completely rebuilt version we are working on. Sorry for the inconveniences.

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

4 participants