mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-01 14:18:15 +00:00
The video was accidentally removed in commit d5ba665f89.
This adds the video back to the LibWeb/Text/data folder, and validates
that the video loads in the test that depends on it loading.
11 lines
343 B
HTML
11 lines
343 B
HTML
<video id="video" autoplay src="../../Assets/test-webm.webm"></video>
|
|
<script type="text/javascript">
|
|
video.addEventListener("loadedmetadata", () => {
|
|
parent.postMessage("video loaded", "*");
|
|
});
|
|
|
|
video.addEventListener("error", e => {
|
|
parent.postMessage(`error: ${e.target.error.message}`, "*");
|
|
});
|
|
</script>
|