Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
hcodes authored May 22, 2024
1 parent 68d34a9 commit 6bab155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
var text = '';

text += 'MediaSource: ' + window.MediaSource;
text += 'MediaSource.isTypeSupported: ' + typeof MediaSource.isTypeSupported;
text += window.MediaSource ? ('MediaSource.isTypeSupported: ' + typeof window.MediaSource.isTypeSupported) : '';

document.querySelector('#output').innerHTML = text;

Expand Down

0 comments on commit 6bab155

Please sign in to comment.