Running PMS 1.9.3.4290 I no longer get the “click here to login” button which was a recent solution to breaking iFrame support a couple weeks ago, but instead just a blank page.
Any chance this will be resolved or is Plex just done with iFrame’s altogether?
@jesse.g said:
Running PMS 1.9.3.4290 I no longer get the “click here to login” button which was a recent solution to breaking iFrame support a couple weeks ago, but instead just a blank page.
Any chance this will be resolved or is Plex just done with iFrame’s altogether?
I’ve reported this and engineering will be investigating.
@iPerplexed said:
where was this reported? Anyway we can track this issue? Thanks.
This was reported internally to engineering, specifically the folks who work on federated auth. We don’t provide a public issue tracking system, however I can provide an update on this. A fix for iFrames in the login page was deployed in PMS 1.9.4.
@jonfinley said: @kinoCharlino I’m running Version 1.9.4.4325 and unless I’m already authed it does not create the new page for login like it had previously done.
Can you verify this using developer tools in browser? We just tested this as functioning. In Chrome enable the JavaScript Console, choose the Console context. It needs to be focused on the internal app, not on the external iframe context. You should see index.html in pink and below that:
window != window.top true
window is “the page you are running a script in.” window.top is “a window object for a parent page (frame or iframe).” So the check is “is this window object not the same as the parent window object”, which will be true if the script is running in an iframe.
@causefx Thanks for the video. We have reports of this working fine by several, including Ninjas, so this is odd behavior. I’ll get back to you when I have more info.
Thanks again for the video. After reviewing it, we can see that the server you are trying to access at https://plex.sonflix.com/web/index.html is running web version 3.20.7, indicating it is on an older PMS version. The latest web version is 3.23.1 You’ll need to update PMS running there.
Right so as mentioned, sonflix.com shows Plex Web 3.20.7, which is outdated. PMS 1.9.4.4325 ships with web version 3.23.1. Is this the same server as the other screenshots? If it was 1.9.4 Plex Web would be the latest version.
@causefx said:
want me to update to newest 1.9.5 that just came out?
Updating won’t help. Took a deeper look and it appears it has to do with whatever custom work you are doing on your end.
In my /etc/hosts file I made a “fake” domain for plex.myfakedomain.com. I pointed this domain at 127.0.0.1 (my local host plex server. I replaced your domain with my fake domain. As you can see in the screenshot it is loading. I’m noticing you are using a reverse proxy though Cloudflare, with lots of custom work. That’s where the failure is likely happening. We’ve verified iFrames does work when using a basic plex server iFramed into a page. Sorry it doesn’t work for you, but your setup is highly specialized and not something we support. Best of luck.