GithubHelp home page GithubHelp logo

grmat / play-with Goto Github PK

View Code? Open in Web Editor NEW
97.0 97.0 7.0 32 KB

WebExtension to open a video stream on a web page with an external player.

License: GNU General Public License v3.0

JavaScript 100.00%

play-with's People

Contributors

grmat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

play-with's Issues

Issues on Windows

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.
firefox_2018-05-12_19-53-41

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?

Compatibility with JW Player with MEDIAL

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.

Use case

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.

Links

https://www.medial.com/

https://www.jwplayer.com

https://github.com/jwplayer

https://en.wikipedia.org/wiki/JW_Player#Features_and_licensing

… JW Player supports … Digital rights management (DRM) (in collaboration with Vualto), …

https://www.vualto.com/

[OUT OF TOPIC] amdgpu-fancontrol

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

[PSA] Prevent M3U8 file from being saved to Downloads dir

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.

Open links with mpv using proxychains for a proxy on linux?

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

not work for me

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

Play with for non-stream filetypes (like .mp3 .webm .opus audio files)

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.

[Suggestion] Hotkey executing player

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.

Add options for mpv

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

[request] option to choose preferred resolution

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.