gajus/react-youtube-player

http vs https?

Open

#9 aberto em 7 de jul. de 2016

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (17 forks)github user discovery
help wanted

Métricas do repositório

Stars
 (40 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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?

Guia do colaborador