Skip to content

Commit

Permalink
Fix it so that both videos play at the same speed!
Browse files Browse the repository at this point in the history
It is broken without this fix.
  • Loading branch information
CoolOppo committed Apr 13, 2015
1 parent 6e95a5d commit b812019
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 b812019

Please sign in to comment.