You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FilePlayer.canEnablePIP returns true when it should
Steps to Reproduce
use import FilePlayer from 'react-player/file';
call FilePlayer.canEnablePIP
Environment
Browser: Chrome, Safari
Operating system: Mac OS 14.1
Other Information
using ReactPlayer.canEnablePIP by importing it from react-player works as expected
The text was updated successfully, but these errors were encountered:
alessandroliveri
changed the title
canEnablePIP is not defined when I use 'react-player/file'canEnablePIP is not defined when using 'react-player/file'Nov 20, 2023
Current Behavior
FilePlayer.canEnablePIP
returns alwaysfalse
even if the feature is supported because it seems to be undefined herereact-player/src/ReactPlayer.js
Line 41 in 9d58201
Expected Behavior
FilePlayer.canEnablePIP
returnstrue
when it shouldSteps to Reproduce
import FilePlayer from 'react-player/file';
FilePlayer.canEnablePIP
Environment
Other Information
using
ReactPlayer.canEnablePIP
by importing it fromreact-player
works as expectedThe text was updated successfully, but these errors were encountered: