blob: 2c0d5cb519b909517c3d0f11f4e9e6ba6e3d1b56 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="plugin-types video/quicktime">
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
if (window.internals)
window.internals.settings.setQuickTimePluginReplacementEnabled(true);
</script>
</head>
<body>
<embed id="embed" type="video/quicktime" width="640" height="480" src="../../plugins/resources/yellow.mov" qtsrc="../../plugins/resources/orange.mov" postdomevents=true>
<script>
document.getElementById("embed").addEventListener("qt_begin", function () {
alert("PASS did load plugin.");
if (window.testRunner)
testRunner.notifyDone();
}, true);
</script>
</body>
</html>