#Not able to play youtube video if opened from different site

I am able to play the videos directly in youtube. But when I tried to open embeded video of youtube from a different site like https://www.gsmarena.com/leaked_pixel_4_ad_focuses_on_hand_gestures_and_google_assitant_not_the_tele_camera-news-39103.php

The video is not played and getting the below error .

An error occurred. Please try again later. (Playback ID: KKp8B_IFG__jJyUe)

I have pasted error logs information from developer tools below

Access to XMLHttpRequest at ‘https://googleads.g.doubleclick.net/pagead/id’ from origin ‘https://www.youtube.com’ has been blocked by CORS policy: The value of the ‘Access-Control-Allow-Origin’ header in the response must not be the wildcard ‘*’ when the request’s credentials mode is ‘include’. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
2chrome-extension://invalid/:1 Failed to load resource: net::ERR_FAILED
hqdefault.jpg:1 Failed to load resource: the server responded with a status of 404 ().

Hey,

Unusual, I didn’t see any youtube embedded element on that site, only a embedded twitter video on it. Try clearing the cookies and cache for the site and twitter.com?

I also only see a Twitter video embedded in the site linked above. Additionally, that video does work with Shields up and default settings.

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.