forked from x3dom/x3dom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request x3dom#1227 from x3dom/videoWork
MovieTexture fixes
- Loading branch information
Showing
4 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
test/regression-suite/test/cases/movieTexture/movietexture.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv='Content-Type' content='text/html;charset=utf-8' /> | ||
<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" /> | ||
<script type="text/javascript" src="../../../../x3dom-include.js"></script> | ||
</head> | ||
<body> | ||
<p> | ||
videos as texture | ||
</p> | ||
<x3d width='500px' height='400px' showlog='true'> | ||
<scene> | ||
<shape> | ||
<appearance> | ||
<MovieTexture repeatS="false" repeatT="false" loop='true' url='https://upload.wikimedia.org/wikipedia/commons/e/ee/Lava_Hijzelaar_-_Imagine_%282020%29.webm'></MovieTexture> | ||
</appearance> | ||
<box></box> | ||
</shape> | ||
</scene> | ||
</x3d> | ||
<a href="https://commons.wikimedia.org/wiki/File:Lava_Hijzelaar_-_Imagine_(2020).webm">Lava Hijzelaar (Lava Art)</a>, <a href="https://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>, via Wikimedia Commons | ||
</body> | ||
</html> |