Hello,
I'm currently switching from Firefox to Pale Moon and because the builtin (and Custom like youtube) Players had (and still have) horrible Performance (or even just Crash), I heavily used the "Video Assistant" Plugin, which Play's all videos with an freely chooseable external Player (by exec()'ing the Player with the Video's URL as argument). However this Plugin isn't installable on Pale Moon.
Are there any alternatives?
"Video Assistant" Firefox Plugin Pale Moon equivalent
Moderators: FranklinDM, Lootyhoof
Re: "Video Assistant" Firefox Plugin Pale Moon equivalent
You can use Youtube without flash. Just visit the site and Pale Moon use then HTML5.
In Tycho (Pale Moon 27) you have 720+ resolutions (read the warning before use PM 27 alpha)
In Tycho (Pale Moon 27) you have 720+ resolutions (read the warning before use PM 27 alpha)
Re: "Video Assistant" Firefox Plugin Pale Moon equivalent
As far as I know, there is not. I too had looked at this add on and searched for another but could not find. Sorry.Kiray wrote:However this Plugin isn't installable on Pale Moon.
Are there any alternatives?
Re: "Video Assistant" Firefox Plugin Pale Moon equivalent
I meant the HTML5 Players. Sadly Greasemonkey Scrpts can't exec() anything.dark_moon wrote:You can use Youtube without flash. Just visit the site and Pale Moon use then HTML5.
In Tycho (Pale Moon 27) you have 720+ resolutions (read the warning before use PM 27 alpha)
Re: "Video Assistant" Firefox Plugin Pale Moon equivalent
Ok so i finally developed a Greasemonkey Script that filters out HTML5 Video Sources and "youtube.com/watch" URLs and copies them to the Clipboard, where an small bash one-liner picks them up and executes the Videoplayer.
Here the Greasemonkey Script:
And here the Bash Script:
Here the Greasemonkey Script:
Code: Select all
// ==UserScript==
// @name Video2Clipboard
// @namespace none
// @description Copies "youtube.com/watch" URL and HTML5 Video Sources to Clipboard and removes the element. So External Programs can pick them up.
// @include *
// @version 1.0
// @grant GM_setClipboard
// ==/UserScript==
var clipprefix="extplay ";
var regex = /https*:\/\/www.youtube.*\/watch/;
//Check if Youtube
if (regex.test(window.location.href)) {
GM_setClipboard(clipprefix+window.location.href)
return;
}
//Remove and copy HTML5 Videos
//document.addEventListener('DOMContentLoaded',function() {
var elems = document.querySelectorAll("video");
for (var i = 0; i < elems.length; i++) {
elems[i].remove();
GM_setClipboard(clipprefix+elems[i].querySelector("source").getAttribute("src"));
}
//});
//Remove and copy newly created video elements
document.addEventListener("DOMNodeInserted", function(e) {
var elem = e.target;
if (elem.nodeName == "VIDEO") {
elem.remove();
GM_setClipboard(clipprefix+elem.querySelector("source").getAttribute("src"));
}
}, false);
Code: Select all
while true; do if [[ -n $( xclip -o | grep '^extplay') ]]; then url=$(xclip -o | awk '{print $2}'); smplayer $url; echo $url | xclip -i; fi; sleep 1; done