Up: Browsing URLs [Top][Contents]
(defun my-browse-url-mpv (url &rest args) (message "Opening URL in MPV..." url) (start-process "mpv" "*mpv*" "mpv" url))
(with-eval-after-load 'org (add-to-list 'browse-url-handlers '("youtube.com" . my-browse-url-mpv)))