Skip to content

Commit 4fbb104

Browse files
committed
Merge branch 'ie-native-fullscreen' of https://github.com/mattfawcett/jPlayer into mattfawcett-issue-213
2 parents 448ac43 + 16e8c38 commit 4fbb104

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/javascript/jplayer/jquery.jplayer.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,13 +353,22 @@
353353
'webkitExitFullscreen',
354354
'',
355355
''
356+
],
357+
ms: [
358+
'',
359+
'msFullscreenElement',
360+
'msRequestFullscreen',
361+
'msExitFullscreen',
362+
'MSFullscreenChange',
363+
'MSFullscreenError'
356364
]
357365
},
358366
specOrder = [
359367
'w3c',
360368
'moz',
361369
'webkit',
362-
'webkitVideo'
370+
'webkitVideo',
371+
'ms'
363372
],
364373
fs, i, il;
365374

@@ -368,7 +377,8 @@
368377
w3c: !!d[spec.w3c[0]],
369378
moz: !!d[spec.moz[0]],
370379
webkit: typeof d[spec.webkit[3]] === 'function',
371-
webkitVideo: typeof v[spec.webkitVideo[2]] === 'function'
380+
webkitVideo: typeof v[spec.webkitVideo[2]] === 'function',
381+
ms: typeof v[spec.ms[2]] === 'function'
372382
},
373383
used: {}
374384
};

0 commit comments

Comments
 (0)