-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
component: UIThe issue involves the Shaka Player UIThe issue involves the Shaka Player UIpriority: P1Big impact or workaround impractical; resolve before feature releaseBig impact or workaround impractical; resolve before feature releasestatus: archivedArchived and locked; will not be updatedArchived and locked; will not be updatedtype: bugSomething isn't working correctlySomething isn't working correctly
Milestone
Description
I am using shaka player to play video,
I am getting picture in picture option on menu items along with quality, language and playback speed
I want to disable picture in picture from list
I tried to add disablePictureInPicture in video player but still getting PIP
<video
className="w-full h-full"
data-testid="video-element"
ref={videoRef}
poster={posterUrl}
autoPlay
disablePictureInPicture
></video>
I tried to add custom configuration as well
player.configure({
abr: { enabled: true},
streaming: {
rebufferingGoal: 5,
bufferBehind: 10*60,
bufferingGoal: 30,
failureCallback: failureCallbackHandler
},
'overflowMenuButtons' : ['quality','language','playback_rate']
});
Still seeing PIP in UI
Also tried using native video player element
videoRef.current.setAttribute('disablepictureinpicture', 'true');
videoRef.current.disablePictureInPicture = true
Still seeing PictureInPicture video player
Is there a way to disable PictureInPicture in shaka player
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component: UIThe issue involves the Shaka Player UIThe issue involves the Shaka Player UIpriority: P1Big impact or workaround impractical; resolve before feature releaseBig impact or workaround impractical; resolve before feature releasestatus: archivedArchived and locked; will not be updatedArchived and locked; will not be updatedtype: bugSomething isn't working correctlySomething isn't working correctly