add comment about no fullscreen if player type is audio
This commit is contained in:
parent
800e0dedfb
commit
838bd49a1d
@ -2229,9 +2229,11 @@
|
||||
|
||||
// Toggle fullscreen
|
||||
function _toggleFullscreen(event) {
|
||||
// We don't allow fullscreen on audio player
|
||||
if (plyr.type === 'audio') {
|
||||
return
|
||||
}
|
||||
|
||||
// Check for native support
|
||||
var nativeSupport = fullscreen.supportsFullScreen;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user