You are not logged in.
Put this together today after getting fed up with YouTube's crappy player. It removes the player from any YouTube page and instead plays the video mpv. It also supports playlists if that's your sort of thing.
Source code and install instructions
Hope someone else finds this useful.
Offline
If you install totem + libquvi you get native youtube playback over gstreamer. However, in chromium the plugin does not appear to work. Upon inspecting, it does not appear to associate itself with any mime-types (that can't be good right?). In Firefox, the totem vegas plugin does not show up at all!
fs/super.c : "Self-destruct in 5 seconds. Have a nice day...\n",
Offline
The point is to get it in an external player - not just to play it natively. With mpv, I get all my key bindings and a familiar UI (or lack thereof), as well as lirc support, best quality by default, etc.
Offline
would be good if there was a way to control the quality chosen as sometimes interent connection can be a bit slow so the highest quality is not always the best choice
You can like linux without becoming a fanatic!
Offline
You can probably edit the youtube-view script to support your needs.
Offline
It looks interesting, but since html5 videos are becoming more any time I'm ok just enabling the html5 player in youtube ![]()
Offline
Seems to be overkill to me at least since mpv will play a youtube video if you just give the link. Playlist support might be useful though. Mpv is the best; I use it for all online videos ![]()
Offline
mpv doesn't work well with a lot of videos, especially DRM'd ones. I originally made it go straight to mpv, but switched to the youtube-dl solution later.
Offline
mpv doesn't work well with a lot of videos, especially DRM'd ones. I originally made it go straight to mpv, but switched to the youtube-dl solution later.
Ah, I've not yet had that problem. What exactly are the youtube credentials used for?
Offline
Private videos/playlists.
Offline
Thank you for this, I've been searching a lot for something similar. Is it possible to make it work on embedded videos?
Offline
It's probably possible, but I haven't tried.
Offline
I dont understand the install instructions - the last one that says
"Install the xpi in this directory"
wich dir do you mean?
You can like linux without becoming a fanatic!
Offline
The one in the repo. There's an xpi file, install it on firefox (Ctrl+Shift+A... "Install add-on from file")
Offline
The one in the repo. There's an xpi file, install it on firefox (Ctrl+Shift+A... "Install add-on from file")
oh I see - thanks for the explanation
You can like linux without becoming a fanatic!
Offline
This works great!
I have been looking for addon like this everywhere, thank you very much.
Offline
I'm having a little trouble getting it to work, not even sure where to check. I have the script 'youtube-view' in my scripts folder. I chmod +x the script. I installed the extension for externalplayer. I go to youtube.com and it plays as normal without opening mpv. Did I miss something?
youtube-view <url>Running this in terminal does work. Mpv opens the youtube link and plays.
Last edited by frank604 (2015-08-07 23:40:03)
Offline