Skip to content

Commit 677efd1

Browse files
committed
Use Window Instead of Global
1 parent 42004e7 commit 677efd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/supportsTranscoding.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function supportsTranscoding() {
2-
if (typeof global.tizen !== 'undefined' || typeof global.webOS !== 'undefined' || typeof window.qt !== 'undefined') {
2+
if (typeof window.tizen !== 'undefined' || typeof window.webOS !== 'undefined' || typeof window.qt !== 'undefined') {
33
return Promise.resolve(false);
44
}
55
return Promise.resolve(true);

0 commit comments

Comments
 (0)