MessageTransport.js:100 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://new-demo-test-store.myshopify.com') does not match the recipient window's origin ('http://localhost:3000'). code example

Example: The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://localhost')

//Add the parameter "origin" with the URL of your site in the paramVars attribute of the player
this.player = new window['YT'].Player('player', {
    videoId: this.mediaid,
    width: '100%',
    playerVars: { 
        'autoplay': 1,
        'controls': 0,
        'autohide': 1,
        'wmode': 'opaque',
        'origin': 'http://localhost:8100' 
    },
}