Introducing PMPlayer
Moderators: Lootyhoof, FranklinDM
Forum rules
Please do not create new topics here unless you are an extension author in need of a dedicated releases&support thread!
Please do not create new topics here unless you are an extension author in need of a dedicated releases&support thread!
Introducing PMPlayer
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."
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Re: Introducing PMPlayer
Wonderful! You've really started making some impact in the extension sphere.
-
- Astronaut
- Posts: 567
- Joined: 2018-04-20, 20:31
Re: Introducing PMPlayer
Is this yet another fork of the MPlayer project?
Re: Introducing PMPlayer
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.)
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.)
Re: Introducing PMPlayer
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/
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/
Re: Introducing PMPlayer
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.
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, 21:59Not seeing anything (happen)...
https://vimeo.com/ondemand/40yearsofcomedy
Tools... grayed out
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.
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.
Yup, that's planned for future.therube wrote: ↑2020-05-15, 22:14But not (necessarily) if it is "styled", embedded in a web page.
https://www.edu-net.net/media/balcony/
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."
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Re: Introducing PMPlayer
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."
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Re: Introducing PMPlayer
FTR: WIn+Up isn't available in windows that don't have maximize enabled, so that would be by design.
"A programmer is someone who solves a problem you didn't know you had, in a way you don't understand." -- unknown
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Introducing PMPlayer
PMPlayer 1.2 changelog
- Supports Borealis Navigator.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Re: Introducing PMPlayer
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."
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Re: Introducing PMPlayer
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."
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Re: Introducing PMPlayer
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.
and wanted tell "Thank you" developer for this great job.
Re: Introducing PMPlayer
You're welcome
"One hosts to look them up, one DNS to find them and in the darkness BIND them."
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Re: Introducing PMPlayer
Changelog for 1.3.3
- PMPlayer now has a homepage! Updated with screenshots and usage instructions.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Re: Introducing PMPlayer
Tip: Specify lighter colors for links (and visited). dark blue and dark purple defaults are hard to read on black.
"A programmer is someone who solves a problem you didn't know you had, in a way you don't understand." -- unknown
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Introducing PMPlayer
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."
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Re: Introducing PMPlayer
Changelog for 1.4
- Added support for Basilisk
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."
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Re: Introducing PMPlayer
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."
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Re: Introducing PMPlayer
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.
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.