diff --git a/index.bs b/index.bs index cefc5fe..56c9492 100644 --- a/index.bs +++ b/index.bs @@ -1528,7 +1528,7 @@ When the media session action is Handling picture-in-picture:
navigator.mediaSession.setActionHandler("enterpictureinpicture", function() { - video.requestPictureInPicture(); + remoteVideo.requestPictureInPicture(); });