kaltura / playkit-js

State of the Art HTML5 Player
GNU Affero General Public License v3.0
118 stars 35 forks source link

fix(SUP-43040): v7 player issues when using picture-in-picture (pop-out) #782

Closed Tzipi-kaltura closed 3 months ago

Tzipi-kaltura commented 3 months ago

Description of the Changes

Issue: In dual screen player the pip option is disabled by adding disablePictureInPicture on the video element. was done here - FEC-13591. As a result from that when clicking on the pip button error is thrown and the video is frozen

Solution: Call to pip function only if disablePictureInPicture is not true

Solves SUP-43040

CheckLists