summaryrefslogtreecommitdiffstats
path: root/webkit/data/media
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/data/media')
-rw-r--r--webkit/data/media/bear.html2
-rw-r--r--webkit/data/media/manybear.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/webkit/data/media/bear.html b/webkit/data/media/bear.html
index 1dde744..9cc3682 100644
--- a/webkit/data/media/bear.html
+++ b/webkit/data/media/bear.html
@@ -5,7 +5,7 @@
layoutTestController.waitUntilDone();
var v = document.getElementById('v');
- v.addEventListener('load', function() {
+ v.addEventListener('canplaythrough', function() {
window.setTimeout("layoutTestController.notifyDone();", 1000);
}, false);
v.src = 'bear_silent.ogv';
diff --git a/webkit/data/media/manybear.html b/webkit/data/media/manybear.html
index 066c270..2ebf5ff 100644
--- a/webkit/data/media/manybear.html
+++ b/webkit/data/media/manybear.html
@@ -23,7 +23,7 @@
v = document.createElement("video");
c.appendChild(v);
v.src = file;
- v.addEventListener("load", function () { loop(); }, false);
+ v.addEventListener("canplaythrough", function () { loop(); }, false);
v.load();
}