Thanks! I am not sure it is a bug yet, nothing show in the output in shell, as if no specific error, and I don’t know if there is a thing like dev tool that could help me understand what is youtube expecting that it’s not getting…
For now I have made a work around, mapping the following function to
C-c p to open the video using
mpv (it’s using
youtube-dl under the hood and working pretty much on 90% of videos) - it’s not perfect but it’s usable.
(define-command youtube-play-current-page ()
"Watch a Youtube video with mpv"
(list "mpv" (render-url (url(current-buffer))))))