When I wish to play a German lesson which is based on a YouTube video, e.g. something from Geschichte | Terra X, I am unable to play the embedded video. Each time I get an error message from YT saying ‘Sign in to confirm you’re not a bot’ despite the fact that I am signed in to YouTube and can play the video either in a browser or on the YT app.
This is very frustrating.
I see that others have had the same problem, and that one solution is to switch off the VPN I use. This works but I would prefer not have to do this each time, as I like to have the VPN on.
We are having this problem for quite a while now…
I usually do not switch off VPN but change the VPN to another country where I don’t get that message.
Run this in your browser console:
document.querySelectorAll(‘iframe’).forEach(function(iframe) {
// Get the current src attribute
let src = iframe.getAttribute(‘src’);
// Replace "youtube-nocookie.com" with "youtube.com"
if (src && src.includes('youtube-nocookie.com')) {
src = src.replace('youtube-nocookie.com', 'youtube.com');
iframe.setAttribute('src', src);
}
});
var element1 = document.querySelector(‘.reader-container.has-text-dark.is-relative’);
element1.style.float= “right”
var element2 = document.querySelector(‘.modal.modls.hide-default-close.video-player.is-minimized.is-active’);