YouTube IFrame API - Untrusted Origin: Null

923 views Asked by At

Not sure if this is a bug in the API or a security feature in Chrome but when trying to run the YT IFrame API on a local file (via the File:// protocol) I get the error Untrusted origin: null.

The video loads but postMessage doesn't work so I can't run any api methods nor use events from YouTube.

Could anyone shed some light on this please?

Thanks, Dean

0

There are 0 answers