Skip to content

Commit

Permalink
Address a review comment from foolip.
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker committed Mar 4, 2014
1 parent 6f321cd commit f140323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media-source/interfaces.html
Expand Up @@ -131,7 +131,7 @@
video.src = URL.createObjectURL(mediaSource);
mediaSource.addEventListener("sourceopen", function () {
var defaultType ='video/webm;codecs="vp8,vorbis"';
if (video.canPlayType && video.canPlayType(defaultType)) {
if (video.canPlayType(defaultType)) {
sourceBuffer = mediaSource.addSourceBuffer(defaultType);
} else {
sourceBuffer = mediaSource.addSourceBuffer('video/mp4');
Expand Down

0 comments on commit f140323

Please sign in to comment.