Coder Social home page Coder Social logo

sumzary / yt2p Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 5.0 1.67 MB

Watch videos in an external player.

Home Page: https://addons.mozilla.org/en-US/firefox/addon/yt2p/

License: MIT License

JavaScript 45.05% CSS 5.96% Lua 40.57% Shell 2.65% Batchfile 0.17% HTML 5.60%
native-messaging webextension youtube

yt2p's People

Contributors

sumzary avatar

Stargazers

 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

yt2p's Issues

Notification appears when player quits

Whenever I'm watching a video and I exit the player manually, or I let the video end so mpv quits automatically, the plugin opens a new settings tab and displays a popup, stating that the native app isn't installed and that I should check the settings.

yt2p_rep

Sometimes it displays a longer text, when I quit the player before the video finishes.

yt

How to debug player startup problems?

In the past weeks yt2p has stopped working for me several times. Clicking on a YouTube link does nothing. Sometimes the problem was that I added an option (like --volume=70) after the mpv.exe command. Sometimes it stopped working without any warning.

My problem is that I could not find any possibility to debug what happens in the background. Yt2p just stops working silently and I have to do an endless trial and error to find out how to fix it. In the past days, yt2p stopped working again and now I simply cannot make it work after 3 days of struggling. This is frustrating.

What is even worse, when I change the mpv.exe command in the add-on settings I don't know whether yt2p uses the new command. I also don't know whether I have to refresh the page with the video link to make yt2p use the new command.

Please, make a short guide on how can I see the output of mpv.exe. I guess, it would show me if my command in the add-on settings is incorrect or if any other problem happened during mpv.exe startup.

I'm on Firefox 57.0.1, Windows 10 and native client 4.2. Actually, when I installed native client 4.2 it screwed yt2p up. I installed it because the add-on prompted me that a new version of the client is available. When I went back to native client 4.0 it fixed the problem for 1-2 days but then it stopped working again and now it refuses to work both with native client 4.0 and 4.2.

Firefox 39

For various reasons, I've stayed with Firefox 39. For several years, this has been the combination that's permitted me to have stable Flash playback on YouTube. I've kept that going, because Firefox 40 no longer allowed Flash to be stable enough. wrt other functionality, Firefox 43.0 is the last one to support cookie prompting.

I haven't buried the idea of Flash yet, but am considering YT2P.

The issue is, that context menu items do not work in version 2.0.1. When adding the path to vlc.exe in the command, then I get this error: "Command pattern is not setup correctly for this player."

YT2P 1.5 invokes VLC, but the link(s) sent to VLC do not appear to work any longer. If possible, I'll stay with Firefox 39.0 in the hopes of somhow keeping stutter-less Flash-based playback. And I'll never upgrade to anything newer beyond Firefox 43.0. Because cookie prompts.

Therefore, would it be possible to have support for older Firefox, at least going back to 38.8esr? I recently learned about some users who use even older ESR versions of Firefox, but that sounds like a stretch.

[Feature Request] Custom icon in context menu

I love the icon context menu idea, but is it possible to implement the ability to change the icon in the actual context menu?
feature_me
It would be great if I was able to set the icon to the actual player I want to use, in this case mpv.

Native app is not installed

I install latest version of extension and native app. After click on URL it open video in mpv, but after close mpv it show notification "native app is not installed" and open extension settings. I try to use wrapper for mpv with force return 0 after close, but it does not help me.

OS Linux.

Firefox 72

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.