-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to execute 'postMessage' on 'DOMWindow' #29
Comments
Could you try the way that described in this page? |
Same problem here Setting this seems to fix it: this$1.player = new YouTube.Player(this$1.elementId, {
height: playerHeight,
width: playerWidth,
playerVars: playerVars,
videoId: videoId,
host: 'https://www.youtube.com', |
The problem is target and origin must be https |
I have the same problem. How could I solve it ?, the video loads perfectly but in the console it presents the following message (Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ( 'http://localhost:8080')). I already added (host: 'https://www.youtube.com',) in the file (vue-youtube-embed.js) but it still does not work, please excuse my ignorance and my bad English, |
My website is configured without the |
@Christilut A little late to the party, but after scouring the web for solution yours is the only one that worked. Sadly the |
Where to add this settings? I am using Vue.js in combination with Laravel |
Have the same issue both in production (with SSL) and locally. |
vue-youtube-embed version 2.1.2
The video loads normally, but the console displays the following message:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://ibutapp-mardonedias.c9users.io:8081').]
Thank you very much in advance.
The text was updated successfully, but these errors were encountered: