Open KZeni opened 7 years ago
Not sure if it is related, but I noticed that the videos on PBS also tend to be wrapped in an iframe and thus unfortunately don't work with PiPifier. I'm guessing this is to do with most iframe videos?
Example here: http://www.pbs.org/the-farthest/video/
I've added a function which checks the iframes on a page for same source policy and then checks if they have a video in them. It's even potentially recursive if the site uses nested iframes. The existing video element locating is used first & all other functionality should be left working as it was previously. That being said, I haven't yet tested this code within the safari extension itself.
Here's an example of a site using nested iframes for their self-hosted video element: https://www.giantbomb.com/chat/