We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cfe4e3 commit 9cca8a6Copy full SHA for 9cca8a6
video/video.html
@@ -250,9 +250,6 @@
250
video.addEventListener("playing", function() {
251
copyVideo = true;
252
}, true);
253
- video.addEventListener("canplaythrough", function() {
254
- setVideo = true;
255
- }, true);
256
video.addEventListener("ended", function() {
257
if (!audio) {
258
video.currentTime = 0;
@@ -285,6 +282,9 @@
285
282
audio.play();
286
283
});
287
284
+ video.addEventListener("canplaythrough", function() {
+ setVideo = true;
+ }, true);
288
video.load();
289
} else {
290
video.play();
0 commit comments