You are not logged in.

#1 2014-04-23 05:39:59

SirCmpwn
Member
Registered: 2013-09-18
Posts: 89

Firefox add-on that opens YouTube videos with a native player

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.

Demonstration

Source code and install instructions

Hope someone else finds this useful.

Offline

#2 2014-04-23 06:25:15

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Firefox add-on that opens YouTube videos with a native player

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

#3 2014-04-23 06:27:23

SirCmpwn
Member
Registered: 2013-09-18
Posts: 89

Re: Firefox add-on that opens YouTube videos with a native player

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

#4 2014-04-30 07:56:20

chickenPie4tea
Member
Registered: 2012-08-21
Posts: 309

Re: Firefox add-on that opens YouTube videos with a native player

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

#5 2014-05-01 06:18:59

SirCmpwn
Member
Registered: 2013-09-18
Posts: 89

Re: Firefox add-on that opens YouTube videos with a native player

You can probably edit the youtube-view script to support your needs.

Offline

#6 2014-05-01 14:33:15

logos88
Member
From: Valencia
Registered: 2013-04-02
Posts: 31

Re: Firefox add-on that opens YouTube videos with a native player

It looks interesting, but since html5 videos are becoming more any time I'm ok just enabling the html5 player in youtube smile

Offline

#7 2014-05-04 01:16:08

angelic_sedition
Member
Registered: 2014-01-20
Posts: 124
Website

Re: Firefox add-on that opens YouTube videos with a native player

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 big_smile

Offline

#8 2014-05-04 01:17:55

SirCmpwn
Member
Registered: 2013-09-18
Posts: 89

Re: Firefox add-on that opens YouTube videos with a native player

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

#9 2014-05-04 01:44:39

angelic_sedition
Member
Registered: 2014-01-20
Posts: 124
Website

Re: Firefox add-on that opens YouTube videos with a native player

SirCmpwn wrote:

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

#10 2014-05-04 01:51:29

SirCmpwn
Member
Registered: 2013-09-18
Posts: 89

Re: Firefox add-on that opens YouTube videos with a native player

Private videos/playlists.

Offline

#11 2014-06-03 13:09:51

dummyano
Member
Registered: 2014-02-14
Posts: 10

Re: Firefox add-on that opens YouTube videos with a native player

Thank you for this, I've been searching a lot for something similar. Is it possible to make it work on embedded videos?

Offline

#12 2014-06-03 15:36:06

SirCmpwn
Member
Registered: 2013-09-18
Posts: 89

Re: Firefox add-on that opens YouTube videos with a native player

It's probably possible, but I haven't tried.

Offline

#13 2014-06-04 10:06:34

chickenPie4tea
Member
Registered: 2012-08-21
Posts: 309

Re: Firefox add-on that opens YouTube videos with a native player

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

#14 2014-06-04 15:06:53

SirCmpwn
Member
Registered: 2013-09-18
Posts: 89

Re: Firefox add-on that opens YouTube videos with a native player

The one in the repo. There's an xpi file, install it on firefox (Ctrl+Shift+A... "Install add-on from file")

Offline

#15 2014-06-04 18:08:23

chickenPie4tea
Member
Registered: 2012-08-21
Posts: 309

Re: Firefox add-on that opens YouTube videos with a native player

SirCmpwn wrote:

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

#16 2015-05-02 11:25:49

Midov
Member
Registered: 2013-10-22
Posts: 9

Re: Firefox add-on that opens YouTube videos with a native player

This works great!
I have been looking for addon like this everywhere, thank you very much.

Offline

#17 2015-08-07 23:28:13

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: Firefox add-on that opens YouTube videos with a native player

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

Board footer

Powered by FluxBB