ngokevin / 360-image-gallery-boilerplate

[DISCONTINUED] Starter kit scene for selecting between different 360-degree images.
https://glitch.com/~aframe-gallery
MIT License
71 stars 123 forks source link

Scene does not load/play on mobile #4

Closed cvan closed 7 years ago

cvan commented 7 years ago

Description:

  1. Load https://aframe.io/examples/showcase/360-image-gallery/ (or https://aframe.io/360-image-gallery-boilerplate/) on mobile.
  2. Notice the screen is black.
  3. I haven't looked, but is this a video codec issue or just not listening for a user-gesture requirement in Chrome to explicitly play the video? If so, we should probably fix the 360-image-gallery-boilarplate to handle that (with this great walkthrough).
onim4ru commented 7 years ago

Hi ! Thanks for the request.

https://aframe.io/examples/showcase/videosphere/ doesnt seems to function too in Android Chrome and Iphone's Safari and Chrome.

Error in Chrome/iphone's Chrome is : Failed to execute 'play' on 'HTMLMediaElement': API can only be initiated by a user gesture // .play function

------------------ edit 08.11.2016 When you launch the event play() by clicking on the google glasses (custom made) the video is launching and after you can trigger onClick() events attached to images for examples.

Iphone : Safari / Chrome Event is launched but video isnt. It is opened by the iphone player if you PIN the website to the home screen so you have on one side your scene and interactivity and another you have your video playing endlessly in your player.

Is it possible to make the videosphere working in Iphone as in others ?

ngokevin commented 7 years ago

This repository has no video. For the video example, refer to http://stackoverflow.com/questions/38380912/why-is-my-video-or-videosphere-not-playing-on-mobile-in-a-frame-vr