fixed definition of media source to pass jshint
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -126,7 +126,7 @@ | ... | @@ -126,7 +126,7 @@ |
126 | console.log("START"); | 126 | console.log("START"); |
127 | window.MediaSource = window.MediaSource || window.WebKitMediaSource; | 127 | window.MediaSource = window.MediaSource || window.WebKitMediaSource; |
128 | 128 | ||
129 | ms = new MediaSource(); | 129 | ms = new window.MediaSource(); |
130 | 130 | ||
131 | video = document.querySelector('video'); | 131 | video = document.querySelector('video'); |
132 | video.src = window.URL.createObjectURL(ms); | 132 | video.src = window.URL.createObjectURL(ms); | ... | ... |
-
Please register or sign in to post a comment