Skip to content

Conversation

@KZeni
Copy link

@KZeni KZeni commented May 12, 2017

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/

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/
@jeffbax
Copy link

jeffbax commented Nov 30, 2017

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants