Introducing PMPlayer

General discussion, compatibility and contributed extensions.

Moderators: Lootyhoof, FranklinDM

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Introducing PMPlayer

Post by moonbat » 2020-05-15, 16:47

Just submitted an original extension, PMPlayer. It lets you play videos from popular streaming sites as well as MP4/WEBM and other container formats in a separate floating window. Please try it and provide feedback (on Windows especially, since I developed this on Linux).
Last edited by moonbat on 2020-05-16, 04:00, edited 1 time in total.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
adesh
Board Warrior
Board Warrior
Posts: 1277
Joined: 2017-06-06, 07:38

Re: Introducing PMPlayer

Post by adesh » 2020-05-15, 17:27

Wonderful! You've really started making some impact in the extension sphere.

KlarkKentThe3rd
Lunatic
Lunatic
Posts: 444
Joined: 2018-04-20, 20:31

Re: Introducing PMPlayer

Post by KlarkKentThe3rd » 2020-05-15, 19:59

Is this yet another fork of the MPlayer project?

User avatar
therube
Board Warrior
Board Warrior
Posts: 1381
Joined: 2018-06-08, 17:02

Re: Introducing PMPlayer

Post by therube » 2020-05-15, 21:59

Windows 7.

Not seeing anything (happen)...

https://vimeo.com/ondemand/40yearsofcomedy
Tools... grayed out

https://www.youtube.com/watch?v=30b-5ABaONA
Tools... says Play with, but it doesn't

https://www.dailymotion.com/video/x7txbfd
Context-menu (when over the video) shows here, & it works, here. Tools menu, grayed out.

https://www.bitchute.com/video/mcWIHQE6yIAF/
No context-menu, but Tools is there, & it plays from there.
(I've never like Peanuts so much in my life.)

User avatar
therube
Board Warrior
Board Warrior
Posts: 1381
Joined: 2018-06-08, 17:02

Re: Introducing PMPlayer

Post by therube » 2020-05-15, 22:14

Shortcut keys, & or have the window follow OS rules.

Winkey+left,right,down, work, but not Winkey+up (to maximize).

Similarly, double-click on the Title line (to maximize).
Could even have standard window controls, maximize, minimize, restore.

(Options) Changing the initial player size, can't seem to figure out how to type a value in there?


Youtube requires a double-context menu click(s).
First click, gives the html context-menu, second click gives the OS context-menu (but even so, Play is not working there).


Presumably any clip opened with the browser "native player" will "just work", this does:
https://edu-net.net/media/balcony/balcony.mp4
But not (necessarily) if it is "styled", embedded in a web page.
https://www.edu-net.net/media/balcony/

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: Introducing PMPlayer

Post by moonbat » 2020-05-16, 02:41

KlarkKentThe3rd wrote:
2020-05-15, 19:59
Is this yet another fork of the MPlayer project?
Nope, it's a new browser extension. PM as in Pale Moon, not related to any standalone player software :) .
I was inspired to make it from what I had earlier, a Jetpack extension from CAA called 'Youtube Video Player Pop Out' (a mouthful). The idea was similar - it has a toolbar button to play the currently displayed youtube video in a floating javascript popup window - but was terrible to use apart from only supporting Youtube, and now it doesn't display properly after they moved to the new interface. The window could barely be moved around without jerking and it wasn't a true separate desktop window like this one.
therube wrote:
2020-05-15, 21:59
Not seeing anything (happen)...

https://vimeo.com/ondemand/40yearsofcomedy
Tools... grayed out
Yeah, it works for simple video links, not their ondemand. You have to be on the actual video page for it to work - so for example it will stay disabled on Youtube.com, or on the main page of a channel or playlist. Same goes for rightclick - only if the link points to a video it will play. If you enable logging, it will log detected video links to the toolkit error console.
therube wrote:
2020-05-15, 22:14
Shortcut keys, & or have the window follow OS rules.

Winkey+left,right,down, work, but not Winkey+up (to maximize).

Similarly, double-click on the Title line (to maximize).
Could even have standard window controls, maximize, minimize, restore.
I'm running Linux Mint here, it appears like any other standard window since internally the window it uses is just a regular window opened via Javascript and the doubleclick to maximize, controls etc work (check out the preview screenshot on the addons page).
Browser windows are supposed to follow OS conventions without any extra effort, I'll need a little more help troubleshooting on Windows.
therube wrote:
2020-05-15, 22:14
Youtube requires a double-context menu click(s).
First click, gives the html context-menu, second click gives the OS context-menu (but even so, Play is not working there).
Are you rightclicking on the video itself when on a Youtube video page? You don't have to do that - if you're on a youtube video like this one, you can rightclick anywhere on the page for the context menu, or just use the toolbar button or tools menu entry. It goes by the URL in the address bar, or the URL that you rightclick on on any non video webpage (like on the youtube link above). I've got plans to allow rightclicking embedded videos on other sites too.
therube wrote:
2020-05-15, 22:14
But not (necessarily) if it is "styled", embedded in a web page.
https://www.edu-net.net/media/balcony/
Yup, that's planned for future.

I'm also looking at whether to implement fullscreen support - if you press the fullscreen button on the site's player, it won't work so at best you can maximize the window. Then again the point of the extension was to be able to watch videos while doing something else ;)
So far I've been unable to, so it's on a future to do list.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: Introducing PMPlayer

Post by moonbat » 2020-05-16, 02:46

If anyone's interested in the technicalities - I'm using a <browser> element in the popup window along with the embed URL specific to each site that allows embeds. URLs are detected by pattern, for example Peertube instances follow the format of /videos/watch/<videoID> so it will try to work any site that follows that URL pattern. I was originally hoping for more sophisticated control over the displayed video - having a separate set of playback buttons that pass events to the displayed player, but these are completely different for each site (to say nothing of using remote Javascript calls, which wouldn't be good security aside from being a moving target if they unexpectedly change or deprecate them as Google famously does). So what you see is just the regular embedded player on the site's page but in a floating window of its own.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29675
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Introducing PMPlayer

Post by Moonchild » 2020-05-16, 10:09

FTR: WIn+Up isn't available in windows that don't have maximize enabled, so that would be by design.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 9284
Joined: 2012-10-09, 19:37
Location: Seriphia Galaxy

Re: Introducing PMPlayer

Post by New Tobin Paradigm » 2020-05-16, 10:59

Isn't that contengent on having aero snap enabled?
You know I have the greatest enthusiasm possible for the mission.
Image

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: Introducing PMPlayer

Post by moonbat » 2020-05-20, 02:18

PMPlayer 1.2 changelog
  • Supports Borealis Navigator.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: Introducing PMPlayer

Post by moonbat » 2020-05-23, 06:20

PMPlayer 1.3 changelog
  • Supports small icons in toolbar.
  • Detects youtu.be links.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: Introducing PMPlayer

Post by moonbat » 2020-06-14, 15:02

Changelog for 1.3.2
  • Enhancement: - Context menu now available over videos embedded on 3rd party sites, not just for links.
  • Use Services.jsm instead of directly calling services.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
Billyhook
Moongazer
Moongazer
Posts: 9
Joined: 2020-05-29, 05:49

Re: Introducing PMPlayer

Post by Billyhook » 2020-06-22, 14:52

Today i install two Palemoon extension for better experience, Search engine button (tumpio) Version 1.2.2 and PMPlayer (moonbat) Version 1.3.2.
and wanted tell "Thank you" developer for this great job. :clap:

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: Introducing PMPlayer

Post by moonbat » 2020-06-22, 15:40

Billyhook wrote:
2020-06-22, 14:52
Today i install two Palemoon extension for better experience, Search engine button (tumpio) Version 1.2.2 and PMPlayer (moonbat) Version 1.3.2.
and wanted tell "Thank you" developer for this great job. :clap:
You're welcome :)
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: Introducing PMPlayer

Post by moonbat » 2020-06-24, 16:27

Changelog for 1.3.3
  • PMPlayer now has a homepage! :mrgreen: Updated with screenshots and usage instructions.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29675
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Introducing PMPlayer

Post by Moonchild » 2020-06-24, 17:23

Tip: Specify lighter colors for links (and visited). dark blue and dark purple defaults are hard to read on black.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: Introducing PMPlayer

Post by moonbat » 2020-06-25, 12:23

Moonchild wrote:
2020-06-24, 17:23
Tip: Specify lighter colors for links (and visited). dark blue and dark purple defaults are hard to read on black.
Thanks, I've changed it. Am still a beginner at CSS :)
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: Introducing PMPlayer

Post by moonbat » 2020-06-25, 12:26

Changelog for 1.4
  • Added support for Basilisk :D
    Install it from here.
  • Separate CSS for each operating system - so that I can set default background colors on Windows separately from others. Would appreciate feedback from Windows users, especially on Basilisk.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2933
Joined: 2015-12-09, 15:45
Contact:

Re: Introducing PMPlayer

Post by moonbat » 2020-06-25, 13:01

Changelog for 1.4.1
  • Removed os=Linux from chrome.manifest (thanks Lootyhoof!)
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
Tharthan
Board Warrior
Board Warrior
Posts: 1200
Joined: 2019-05-20, 20:07
Location: New England

Re: Introducing PMPlayer

Post by Tharthan » 2020-07-18, 03:29

It doesn't seem to be working for me.

I usually use two windows, one for private browsing and one for non-private browsing, but because I was informed that this only works when one uses only one window. So I opted to use the private window for all browsing when I want to use the extension.

But when I try using it, even when the button is useable (not... "greyed out" [not the proper term here, but I'm not sure what to call it]), it fails to do anything.


I'm using Pale Moon Version 28.11.0 (32-bit) for Windows 7, and I don't have any problems with any other extensions:

My list of extensions:ABPrime, Active Tab More Visible, Autoplay Toggle (Non-Restartless), butWhyMod, Context Search X, Cookie Permissions Button, Cookies Control Panel, Decentraleyes, Dismiss The Overlay, Greasemonkey for Pale Moon (no scripts present for it at the moment, so it's not doing anything), NoSquint, OpenDownload², Pale Moon Commander, PDFViewer, PMPlayer, Pure URL, Reader View, Sasuga, SearchLoad Options Revived, Statusbar Date & Time, Tab Mix Plus, and TimerFox.

Autoplay Toggle is enabled, which means that it prevents videos (such as YouTube videos) from autoplaying, but I don't see why that would interfere. That doesn't prevent videos from loading, it just has them on "forever buffer" until I choose to have them play.
"This is a war against individuality and intelligence. Only thing we can do is stand strong."adesh, 9 January 2020

"I used to think I was a grumpy old man, but I don't hold a candle compared to Tharthan."Cassette, 9 September 2020

Image

Post Reply