aframevr / aframe

:a: Web framework for building virtual reality experiences.
https://aframe.io/
MIT License
16.66k stars 3.97k forks source link

Change examples to use `preload="true"` #3174

Closed cvan closed 5 years ago

cvan commented 7 years ago

See https://github.com/aframevr/aframe/blob/master/src/core/a-assets.js#L138 and https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#Attributes

preload="true" should be changed to preload="auto" (or preload="metadata" or preload="none") in all the <video>s in the Examples.

Example URL where preload="true" is used on a <video>: https://aframe.io/aframe/examples/test/videosphere/

Examples:

/cc @machenmusik


Related issue: https://github.com/aframevr/aframe/issues/3173#issuecomment-337191996

NameIsSoDiao commented 7 years ago

ios11 Can not play VR video, m3u8 format

machenmusik commented 7 years ago

Yes, there appears to be a regression in iOS 11 Safari behavior unfortunately, see discussion here: https://github.com/aframevr/aframe/pull/2830#issuecomment-338946580

ngokevin commented 5 years ago

https://github.com/aframevr/aframe/blob/master/examples/test/video/index.html#L12