grmat / play-with Goto Github PK
View Code? Open in Web Editor NEWWebExtension to open a video stream on a web page with an external player.
License: GNU General Public License v3.0
WebExtension to open a video stream on a web page with an external player.
License: GNU General Public License v3.0
I'm having trouble getting the add-on to work on Windows 10; I'm using mpv 0.28.0-564-g11289d5238 with latest youtube-dl in the mpv folder. Also using Nightly 62.
If I click the toolbar button on any YouTube video page, I get the following prompt.
But upon clicking OK, Firefox only downloads a small file containing the following lines.
#EXTM3U
https://www.youtube.com/watch?v=gCcx85zbxz4
Am I doing something wrong? Or is that an issue with FF/Extension?
https://mediastream.brighton.ac.uk/Play/1439 for example. The result:
#EXTM3U
https://mediastream.brighton.ac.uk/Play/1439
– does open in VLC media player, but there's no playback.
Can you tell, is this an unavoidable penalty of use of Vualto?
If it helps, from within the source of the page:
– results in the appearance of a player, with a playback button, but again there's no playback.
https://mobile.twitter.com/grahamperrin/status/1051005890491506693 – as far as I can tell, no way for content owners to download (and so, edit) their own content.
https://en.wikipedia.org/wiki/JW_Player#Features_and_licensing
… JW Player supports … Digital rights management (DRM) (in collaboration with Vualto), …
Hello,
Chrome support possible?
Hello grmat.
I apologize for asking here something that matters with amdgpu-fancontrol which is read-only now. I didn't find an other way to contact you...
amdgpu-fancontrol saves my GPU everyday from over heating. Thank you!
However, the script amdgpu-fancontrol produces numerous entries in /var/log/syslog. To avoid that, I have created a variable DEBUG_SYSLOG=false and duplicated your debug function (debug_syslog) while just changing $DEBUG with $DEBUG_SYSLOG
At lines 61, 62 and 63 I have replaced the echo with debug_syslog.
It seems to do the job but since I am not familiar with bash, I wonder if it's correct and I also wonder what $DEBUG || is for at the beginning of line 61.
Thank you for your help and once again excuse me for dealing here with something which has noting to do here.
Aqua
I recently found that the playlist files were being saved to the downloads directory, even if they are set to "Open with MPV" in Firefox. I'd have to clean up the files every so often.
It has to do with this change: https://www.ghacks.net/2021/08/04/a-close-look-at-firefox-91s-new-file-download-opening-behavior/
I was able to go back to the old behaviour by setting browser.download.improvements_to_download_panel
to false
in about:config
.
Just putting this here in case anyone else is also bugged by the change.
Hello,
does anyone know how to open links not only with mpv but with the "proxychains mpv" command?
I tried using a .desktop file and a bash script but none of them worked for me.
Using Manjaro and still somewhat new to this linux thing, so I don't have a lot of expierience.
Thanks
Hi,
Can you please update your README.md with the supported browser and this add-on installation procedure ?
God bless you.
not works:
$ mpv --player-operation-mode=pseudo-gui -- /tmp/mozilla_user0/Z+Y3RjTN
works:
$ mpv --player-operation-mode=pseudo-gui --load-unsafe-playlists -- /tmp/mozilla_user0/Z+Y3RjTN
$ mpv --player-operation-mode=pseudo-gui --playlist=/tmp/mozilla_user0/Z+Y3RjTN
It would be great if this addon would also allow downloading and playing other filetypes than .m3u streams, especially audio-files.
Depending on the file it would then either wait until the download with youtube-dl has finished and open the file afterwards or play the file (maybe after a short waiting-time depending on the detected download-speed, file-duration & file-size) as it gets downloaded (.part files can also be played with mpv).
The (default) download-location for the files should be configurable with the addon's settings.
It would be good if one could select either "Open with: MPV (audio)" or "MPV (video)".
The youtube-dl command for the audio download should look something like this: youtube-dl --extract-audio --audio-format best -i -o '/default-download-location/Music/%(title)s.%(ext)s'
and if the source file/website supports and/or it was configured in the settings with additional parameters --embed-thumbnail --add-metadata
.
It would be nice to trigger the opening of links by pressing a hotkey. This hotkey could be configured in a seperate dialog window or an config file.
mpv will currently refuse to play a lot of videos, see: mpv-player/mpv@8600490 (via mpv-player/mpv#4541), which has not been backported to the current release branch.
As a workaround, we can add load-unsafe-playlists
to the mpv config or use ytdl format settings to prevent DASH video.
Is there a way to send some options for mpv when opening videos?
I would like to set some quality/cache options like:
--ytdl-format=45/22/bestvideo[height<=720]+bestaudio/bestvideo[height<=720] \
--ytdl-raw-options=geo-bypass=,ignore-errors=,continue= \
--title="$TITLE" \
--cache=auto \
--cache-default=100000 \
--autofit-larger=100%x100% \
--autofit-smaller=100%x100% \
--geometry=50%:50% \
--demuxer-thread=yes \
--demuxer-readahead-secs=60 \
--cache-secs=60 \
--cache-initial=1024
Hi, It would be nice to have functionality that allow to pass additional parameters for the native player.
First off, thank you for your wonderful add on, this helps me a lot!
I think it would be perfect if there's a simple option to choose a preferred or maximum resolution (at least for youtube). Being able to limit them to e.g. 480p max would be really helpful for people with slow internet, limited data cap, or even slow computer.
Since version 81.0, Firefox supports the MPRIS api natively:
Does this mean that the play-with extension is obsolete?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.