googlearchive / vrview

Library for embedding immersive media into traditional websites.
http://developers.google.com/cardboard/vrview
Apache License 2.0
1.71k stars 1.09k forks source link

AdaptivePlayer - video element - preload - is it really necessary? #241

Open liorfrenkel opened 7 years ago

liorfrenkel commented 7 years ago

in the AdaptivePlayer() constructor: (embed/adaptive-player.js)

// For FF, make sure we enable preload.
  this.video.setAttribute('preload', 'auto');

Is this still really necessary for Firefox? and why? I changed it to this.video.setAttribute('preload', 'none'); and it works on Firefox too.