Skip to content

Commit

Permalink
Merge pull request #122 from w3c/remove-external-media
Browse files Browse the repository at this point in the history
remove links to external media across TS (except examples)
  • Loading branch information
tobie committed May 30, 2013
2 parents 9e846df + 87dbb8e commit 37094e8
Show file tree
Hide file tree
Showing 155 changed files with 148 additions and 148 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<script type="text/javascript">

document.write(
"<audio id='audio0' src='" + getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "'" +
"<audio id='audio0' src='" + getAudioURI("/media/sound_5") + "'" +
" onplaying='do_playing(event);' autoplay>"
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

media.addEventListener("seeking", startTest, false);
media.loop = true;
media.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
media.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
media.play();
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
var controller = new MediaController();

media.controller = controller;
media.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
media.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
media.play();
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<audio id="m" controls muted>The user agent doesn't support media element.</audio>
<script type="text/javascript">
var media = document.getElementById("m");
media.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
media.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
media.volume = 1.0;
media.play();
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<audio id="m" controls muted>The user agent doesn't support media element.</audio>
<script type="text/javascript">
var media = document.getElementById("m");
media.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
media.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
media.play();
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<audio id="m" controls>The user agent doesn't support media element.</audio>
<script type="text/javascript">
var media = document.getElementById("m");
media.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
media.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
media.volume = 1.0;
media.play();
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<audio id="m" controls volume=0.0>The user agent doesn't support media element.</audio>
<script type="text/javascript">
var media = document.getElementById("m");
media.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
media.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
media.volume = 0.0;
media.play();
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
a.pause();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
a.pause();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
a.pause();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
a.pause();
});
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
a.pause();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
t.done();
a.pause();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
t.done();
a.pause();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
t.done();
a.pause();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
t.done();
a.pause();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
});
t.done();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
a.pause();
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
a.pause();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
a.pause();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
a.pause();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
a.pause();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
});
t.done();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
a.play();
a.pause();
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
a.pause();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
t.done();
a.pause();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
a.pause();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
a.pause();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
a.pause();
}, false);
a.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
a.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
t.step(function(){ assert_false(true); });
t.done();
}, false);
v.src = getAudioURI("http://media.w3.org/2010/05/sound/sound_5") + "?" + new Date() + Math.random();
v.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
v.pause();
}, false);
v.src = getVideoURI("http://media.w3.org/2010/05/video/movie_300") + "?" + new Date() + Math.random();
v.src = getVideoURI("/media/movie_300") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
v.pause();
}, false);
v.src = getVideoURI("http://media.w3.org/2010/05/video/movie_300") + "?" + new Date() + Math.random();
v.src = getVideoURI("/media/movie_300") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
v.pause();
}, false);
v.src = getVideoURI("http://media.w3.org/2010/05/video/movie_300") + "?" + new Date() + Math.random();
v.src = getVideoURI("/media/movie_300") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
v.pause();
}, false);
v.src = getVideoURI("http://media.w3.org/2010/05/video/movie_300") + "?" + new Date() + Math.random();
v.src = getVideoURI("/media/movie_300") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
v.pause();
}, false);
v.src = getVideoURI("http://media.w3.org/2010/05/video/movie_300") + "?" + new Date() + Math.random();
v.src = getVideoURI("/media/movie_300") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
t.done();
v.pause();
}, false);
v.src = getVideoURI("http://media.w3.org/2010/05/video/movie_300") + "?" + new Date() + Math.random();
v.src = getVideoURI("/media/movie_300") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
t.done();
v.pause();
}, false);
v.src = getVideoURI("http://media.w3.org/2010/05/video/movie_300") + "?" + new Date() + Math.random();
v.src = getVideoURI("/media/movie_300") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
t.done();
v.pause();
}, false);
v.src = getVideoURI("http://media.w3.org/2010/05/video/movie_300") + "?" + new Date() + Math.random();
v.src = getVideoURI("/media/movie_300") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
t.done();
v.pause();
}, false);
v.src = getVideoURI("http://media.w3.org/2010/05/video/movie_300") + "?" + new Date() + Math.random();
v.src = getVideoURI("/media/movie_300") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
});
t.done();
}, false);
v.src = getVideoURI("http://media.w3.org/2010/05/video/movie_300") + "?" + new Date() + Math.random();
v.src = getVideoURI("/media/movie_300") + "?" + new Date() + Math.random();
v.pause();
</script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
v.pause();
}, false);
v.src = getVideoURI("http://media.w3.org/2010/05/video/movie_300") + "?" + new Date() + Math.random();
v.src = getVideoURI("/media/movie_300") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
v.pause();
}, false);
v.src = getVideoURI("http://media.w3.org/2010/05/video/movie_300") + "?" + new Date() + Math.random();
v.src = getVideoURI("/media/movie_300") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
v.pause();
}, false);
v.src = getVideoURI("http://media.w3.org/2010/05/video/movie_300") + "?" + new Date() + Math.random();
v.src = getVideoURI("/media/movie_300") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
v.pause();
}, false);
v.src = getVideoURI("http://media.w3.org/2010/05/video/movie_300") + "?" + new Date() + Math.random();
v.src = getVideoURI("/media/movie_300") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
});
t.done();
}, false);
v.src = getVideoURI("http://media.w3.org/2010/05/video/movie_300") + "?" + new Date() + Math.random();
v.src = getVideoURI("/media/movie_300") + "?" + new Date() + Math.random();
v.play();
v.pause();
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
t.done();
v.pause();
}, false);
v.src = getVideoURI("http://media.w3.org/2010/05/video/movie_300") + "?" + new Date() + Math.random();
v.src = getVideoURI("/media/movie_300") + "?" + new Date() + Math.random();
</script>
</body>
</html>
Loading

0 comments on commit 37094e8

Please sign in to comment.