gajus/react-youtube-player

http vs https?

Open

#9 aperta il 7 lug 2016

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (17 fork)github user discovery
help wanted

Metriche repository

Star
 (40 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Hi, I'm getting the following error whenever I use playbackState='playing', though the video is playing: Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin

This post on SO suggests it's an issue of http vs https in the api call. How can I configure the call to make sure it is using the correct url?

Guida contributor