Skip to content

Commit

Permalink
Merge pull request aframevr#26 from cvan/fix-autoplay
Browse files Browse the repository at this point in the history
fix `autoplay` + `loop` defaults + video examples (fixes aframevr#25)
  • Loading branch information
cvan committed Sep 22, 2015
2 parents 25d9e4d + 60563a3 commit ba9bed5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/video.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</vr-controls>
<vr-skysphere color="#000"></vr-skysphere>
<vr-grid size="50"></vr-grid>
<vr-video position="0 4.5 0" width="16" height="9" src="https://raw.githubusercontent.com/Mozilla-NTU/slidesMay2015/gh-pages/media/bunny.mp4" autoplay loop></vr-video>
<vr-video position="0 4.5 0" width="16" height="9" src="https://raw.githubusercontent.com/Mozilla-NTU/slidesMay2015/gh-pages/media/bunny.mp4" autoplay="true" loop="true"></vr-video>
</vr-scene>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/video360.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<vr-camera></vr-camera>
</vr-controls>
<vr-grid size="10"></vr-grid>
<vr-video360 src="https://mozvr.github.io/loops/shared/video/cubes/cubes-4096-mp4-30fps-3.mp4" autoplay loop></vr-video360>
<vr-video360 src="https://mozvr.github.io/loops/shared/video/cubes/cubes-4096-mp4-30fps-3.mp4" autoplay="true" loop="true"></vr-video360>
</vr-scene>
</body>
</html>

0 comments on commit ba9bed5

Please sign in to comment.