Skip to content

Commit 1db590e

Browse files
committed
Merge pull request remy#25 from foolip/video-preload-auto
Use preload="auto" on videos that expect to get the canplay event
2 parents f4ca7b5 + 34a2e5a commit 1db590e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demos/two-videos.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
</style>
1111
<title>Two videos in sync</title>
1212
<article>
13-
<video id="one">
13+
<video preload="auto" id="one">
1414
<source src="assets/dizzy.mp4" />
1515
<source src="assets/dizzy.ogv" />
1616
</video>
17-
<video id="two">
17+
<video preload="auto" id="two">
1818
<source src="assets/dizzy.mp4" />
1919
<source src="assets/dizzy.ogv" />
2020
</video>

0 commit comments

Comments
 (0)