Skip to content

Failed to execute 'postMessage' on 'DOMWindow':The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('https://www.mysite.fr'). #491

@J0onathan

Description

@J0onathan

Hello all.
After loading the video with jquery.mb.YTPlayer I receive this error message. With it, I also got :
Access to XMLHttpRequest at 'https://googleads.g.doubleclick.net/pagead/viewthroughconversion/962985656/?backend=innertube&cname=56&cver=20221005&foc_id=t2fHJDmqGo63N7nAOt19nA&label=followon_view&ptype=no_rmkt&random=118337904&cv_attributed=0' (redirected from 'https://www.youtube.com/pagead/viewthroughconversion/962985656/?backend=innertube&cname=56&cver=20221005&foc_id=t2fHJDmqGo63N7nAOt19nA&label=followon_view&ptype=no_rmkt&random=118337904') from origin 'https://www.youtube.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Even if I add the option useNoCookie.
Any help please. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions