Hello Racket friends :
Please, if possible: could you verify ** if the youtube procedure in the very useful scribble-embedding package is working fine for you?**
In my installation (Racket v9.1, under Windows 10 and the current version of scribble-embedding package), the following code:
#lang scribble/manual
@require[scribble-embedding]
@title[#:style 'toc-hidden]{Testing @tt{scribble-embedding's} @tt{youtube} procedure}
@(youtube "https://www.youtube.com/embed/y1rOWZkALto")
Generates the following message:
Thank you very much in advance for your support on this issue .
Kind regards ,
E. Comer
P. S.
(a) The google-form procedure, is working fine.
(b) As a reference, the youtube procedure (in scribble-embedding package) worked fine when I use it, the years 2022-2025.
Hi,
The problem is the video itself:
VIDEO
/Jens Axel
Interesting!
I pasted the link
https://www.youtube.com/embed/y1rOWZkALto
into youtube and got the error.
But I now see that it works on Discourse.
Does this link work for you?
https://youtu.be/y1rOWZkALto
Thank you @soegaard , for your reply.
The link that you shared: "https://youtu.be/y1rOWZkALto " works fine, directly in my web browser.
I'm using as a reference the documentation for the scribble-embedding package, for example as in the file with link: scribble-embedding/scribblings/doc.scrbl at master · shriram/scribble-embedding · GitHub . Please see line 90 of the code, that corresponds in my local documentation to:
@(youtube " https://www.youtube.com/embed/43XaZEn2aLc ")
The problem is that (in my current installation,) the code above (line 90) generates the Error 153 , at the HTML output of the associated scribble file .
Does the above line of code, works fine in your installation , using the scribble-embedding package?
Thank you very much for your support to solve this issue .
EC
The link that you shared: "https://youtu.be/y1rOWZkALto " works fine, directly in my web browser.
Does it work in Scribble too?
If not, do you have a minimal, full Scribble we can use to debug?
Thank you @soegaard . The link "https://youtu.be/y1rOWZkALto " doesn't work under Scribble file:
A minimal Scribble file to produce the Error 153 is:
#lang scribble/manual
@require[scribble-embedding]
@(youtube "https://www.youtube.com/embed/43XaZEn2aLc")
Exploring this issue, I searched for the API changes for embedding a Youtube video, and found that the Error 153 was introduced in July 9, 2025 . See the section with link: https://developers.google.com/youtube/iframe_api_reference#Revision_History
It seems that a HTTP Referer is now needed to be able to embed the YouTube Video: see for example the section with link: https://developers.google.com/youtube/terms/required-minimum-functionality#set-the-referer
Thank you again for your support to solve this problem.
Kind regards.
EC