Skip to content

Commit

Permalink
Merge pull request #180 from bbc/fix_aframe_example_video
Browse files Browse the repository at this point in the history
Fix broken source of aframe example video
  • Loading branch information
richski authored Oct 24, 2019
2 parents 62606bc + 56a5e7a commit 12d429e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/examples/aframe.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<!DOCTYPE html>
<html>
<head>
Expand All @@ -15,9 +14,9 @@
var canvas = document.getElementById("canvas");
var vc = new VideoContext(canvas);

var videoNode1 = vc.video("https://ucarecdn.com/bcece0a8-86ce-460e-856b-40dac4875f15/", undefined, undefined, {volume:0.2, loop:true});
var videoNode2 = vc.video("https://ucarecdn.com/bcece0a8-86ce-460e-856b-40dac4875f15/", undefined, undefined, {volume:0.2, loop:true});
var videoNode1 = vc.video("https://ucarecdn.com/fadab25d-0b3a-45f7-8ef5-85318e92a261/", undefined, undefined, {volume:0.2, loop:true});
var videoNode2 = vc.video("https://ucarecdn.com/fadab25d-0b3a-45f7-8ef5-85318e92a261/", undefined, undefined, {volume:0.2, loop:true});

var effect1 = vc.effect(VideoContext.DEFINITIONS.MONOCHROME);
var effect2 = vc.effect(VideoContext.DEFINITIONS.STATIC_EFFECT);

Expand Down Expand Up @@ -51,4 +50,4 @@
<a-videosphere src="#canvas" rotation="0 180 0"></a-videosphere>
</a-scene>
</body>
</html>
</html>

0 comments on commit 12d429e

Please sign in to comment.