PiPTool icon indicating copy to clipboard operation
PiPTool copied to clipboard

Plex Web 3.17.2 break PiP

Open AndersTao opened this issue 8 years ago • 9 comments

Looks like the latest update to Plex Web 3.17.2 kills pip support for Plex Looks like a big webUI update, so suspekt a lot up updates to the webapp

AndersTao avatar Aug 04 '17 12:08 AndersTao

Just wanted to second loss of this valued feature.

acutedeveloper avatar Nov 02 '17 20:11 acutedeveloper

Yes I also miss this.

spencerhughes avatar Dec 22 '17 00:12 spencerhughes

Wanted to use PiP today, went to install PiPTool again, and noticed Plex/Web doesn't work any more. I miss it too.

ersan avatar Dec 29 '17 08:12 ersan

Same for me — Was sad that it worked so well and now it's broken :/

eytanschulman avatar Jan 20 '18 16:01 eytanschulman

Small work around for the time being is to drag the video element up to the top of the body in the dev elements console, then delete everything else below, then click the PiP extension and click the video.

screen shot 2018-01-24 at 12 26 24 pm

TroyEdmison402 avatar Jan 24 '18 18:01 TroyEdmison402

Is the class for the video player 'VideoContainer-videoElement-1EaMR' for everyone else? I see that's what it is in the screenshot there and that's what it's called for me. I'm trying to patch the plex support but I'm not super experienced with node.js or working with Plex.

spencerhughes avatar Jan 24 '18 20:01 spencerhughes

I can confirm the class "VideoContainer-videoElement-1EaMR" also. I used the inspector to move the video tag and it worked. Hopefully that'll help you target it.

acutedeveloper avatar Jan 24 '18 22:01 acutedeveloper

I'm not confident that the "1EaMR" portion of that class will remain after any subsequent deploys by Plex to the web app, even if the code is unchanged for that specific node so the fix might be fairly brittle. If there's any way to be slightly more generic, I'd give that a try first.

TroyEdmison402 avatar Jan 24 '18 23:01 TroyEdmison402

You could just look for the first video element

document.getElementsByTagName('video')[0].webkitSetPresentationMode("picture-in-picture")

Mechazawa avatar May 16 '18 11:05 Mechazawa