-
Notifications
You must be signed in to change notification settings - Fork 83
[xExtension-YouTube] Add referrer policy to iframe in extension.php #382
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
Conversation
Fixes Error 153 / Video player configuration error
|
Ping @Inverle |
|
With CSS you can do things like set an aspect ratio (but I'm not quite sure what the point of the code is as written). |
|
Indeed that seems to be the cause (referrerpolicy) But a video can still manage to load without a referrer after a few iframe reloads, which is strange. |
Yes the |
|
Thanks guys! |
|
I'm still running into this even after updating my extension to the latest code. I've checked the rendered html and it has the Is there anything else that could be causing this to happen? or I can provide to help with debugging? |
|
I believe this only affects newly fetched entries, you can try deleting and updating from the feed settings to confirm. Example working iframe render from my feed:
Switching between youtube.com and youtube-nocookie.com in dev tools confirms both domains should work |
Look at the Network tab in DevTools (F12) and see in the youtube iframe request if your browser is sending a
No, the |

Hi,
I've been seeing Error 153 / Video player configuration error just like reported here:
https://forum.obsidian.md/t/youtube-video-embed-does-not-work-video-player-configuration-error/103181
Added referrer policy as taken from youtube embed iframe via share button on youtube.com, seems to be working nicely.
Additionally, it seems to work just fine with width/height set directly on the iframe element, no need to duplicate with inline style - this is not in the PR, but observed and tested.