Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of YouTube 2 Player

YouTube 2 Player by Rasmus Riiner

Watch YouTube videos in an external player.

2.3 (15 reviews)2.3 (15 reviews)
38 Users38 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
Icon Context Menuregular context menu itemsFancy Image Linkplayer group options
About this extension
Legacy version
For pre-Quantum Firefox or Pale Moon, the legacy version can be found here:
https://github.com/sumzary/yt2p/releases/tag/v2.1.1

Setting up
After FF57, an additional Native Client is required.
Download yt2p-nativeapp.zip and follow instructions here:
https://github.com/sumzary/yt2p/releases/latest

Configuring players
Open the add-on settings.
Players are sorted into groups. Pick the active group on the left itembox, then the active player on the right itembox. Below the boxes are the Name, Icon, and Command input fields for the active item. Command is the most important, requiring the player executable path and URL identifier.

"C:/Program Files (x86)/mpv/mpv.exe" VIDEOURL
Opens a video in mpv player. Notice the quotes around the file path.

"C:/Program Files/youtube-dl.exe" -f 22 VIDOURL
Downloads a 720p video. Change the exe path to the actual youtube-dl.exe file.

youtube-dl --format 140 --extract-audio --audio-format mp3 VIDEOID
Downloads a mp3, "140" is a audio-only format on YouTube, more info here:
https://github.com/rg3/youtube-dl/blob/master/README.md

LINKURL - becomes the raw right-clicked link url,
VIDEOURL - is the same, but standardized, if it's a YouTube video url.
VIDEOID - is the extracted video ID.

Why bother?
It'll probably run smoother, you can make use of the player's filters, change the aspect ratio, maybe save the video for later... it's just what a professional ought to do.

mpv
The best player I've found.
https://mpv.io/

youtube-dl
Download videos in any format you'd like, including audio-only.
https://rg3.github.io/youtube-dl/

Media Player Classic BE
A light-weight player based on the original MPC and the MPC-HC projects.
https://sourceforge.net/projects/mpcbe/

DAUM Potplayer
https://potplayer.daum.net/

VLC Media Player
http://www.videolan.org/vlc/

BS Player
http://bsplayer.com/

Notes
This add-on is no longer under active development. If this add-on feels convoluted, it is. It's frustrating having to use the native messaging API for something as elementary as running an executable, a no-brainer before Quantum. Development shall continue once Mozilla has provided an alternative API.
Thank you for your interest in YT2P.
Developer comments
If there are any problems, anything at all you'd like to say, contact me at: rasmus.riiner@mail.ee
Rated 2.3 by 15 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
4
4
0
3
1
2
2
1
8
Read all 15 reviews
Permissions and dataLearn more

Required permissions:

  • Exchange messages with programs other than Firefox
  • Download files and read and modify the browser’s download history
  • Display notifications to you
  • Access your data for all web sites
More information
Add-on Links
  • Homepage
  • Support site
  • Support Email
Version
4.5resigned1
Size
75.23 kB
Last updated
a year ago (25 Apr 2024)
Related Categories
  • Download Management
  • Photos, Music & Videos
Licence
MIT Licence
Version History
  • See all versions
Add to collection
Report this add-on
More extensions by Rasmus Riiner
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike Licence v3.0 or any later version.