Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove links to external media across TS (except examples) #122

Merged
merged 1 commit into from
May 30, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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