Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:remy/html5demos
Browse files Browse the repository at this point in the history
* 'master' of github.com:remy/html5demos:
  Fix it so that both videos play at the same speed!
  • Loading branch information
remy committed Jun 20, 2017
2 parents 39da113 + eae156c commit 596fc2d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions demos/two-videos.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@

addEvent(togglePlay, 'click', function () {
if (ready) {
video.playbackRate = 0.5;
if (video.paused) {
if (video.ended) {
video.currentTime = 0;
Expand Down Expand Up @@ -101,4 +100,4 @@
if (s.length < 2) s = "0" + s;
return s;
}
</script>
</script>

0 comments on commit 596fc2d

Please sign in to comment.