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?

贡献者指南