paulirish / lite-youtube-embed

A faster youtube embed.

Home Page:https://paulirish.github.io/lite-youtube-embed/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to execute 'postMessage'

bsastregx opened this issue · comments

Hello, greetings.

On mobile, the following error is showing in the console:

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('https://lite-youtube-embed.netlify.app').

You can test it here

Any help on how to fix this will be much appreciated.

I don't see this error on your test page anymore.

Was it coming from the l-yt-e script or from youtube's js?

Ah nevermind. It doesn't go that codepath unless its mobile or safari.

yeah this is expected. nothing is wrong.

image