Palestine: Please, consider viewing YouTube videos via
yt-dlp (coupled with your media player of choice, such as:
mpv).
While completing tasks, I will often have a video playing in one of the corners of the screen; so, there is no need to waste resources on decoding high-definition video. I tend to request something akin to the following (with the vertical resolution of the source video limited to a maximum of 360 pixels):
Palestine: Wow, I never thought to get such an awesome answer.
I use mpv, updated yt-dlp but can't get any video (eg.
https://www.youtube.com/watch?v=ADBH1EgCud0) to play:
```
[build_webm] Lua error: [string "~/.config/mpv/scripts/build-webm.lua"]:1: attempt to index a nil value
[ytdl_hook] ERROR: [youtube] ADBH1EgCud0: Unable to extract uploader id; filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
[ytdl_hook] youtube-dl failed: unexpected error occurred
Failed to recognize file format.
Exiting... (Errors when loading file)
```
if I try to play with
mpv LINK instead I get:
```
Authorization required, but no authorization protocol specified
[vo/gpu] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will be unavailable.
_amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-13)
amdgpu: amdgpu_device_initialize failed.
_amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-13)
amdgpu: amdgpu_device_initialize failed.
[vo/gpu] Failed to commit ModeSetting atomic request (-13)
[vo/gpu/opengl] Failed to set CRTC for connector 126: Permission denied
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
[vo/sdl] SDL_Init failed
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Error opening/initializing the selected video_out (--vo) device.
Video: no video
```
this is YT, probably I would need an account on YT to get it working.