gajus/react-youtube-player

http vs https?

Open

#9 建立於 2016年7月7日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (17 fork)github user discovery
help wanted

倉庫指標

Star
 (40 star)
PR 合併指標
 (PR 指標待抓取)

描述

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?

貢獻者指南