Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

context menu: Work on arbitrary links #153

Open
chrysn opened this issue Jan 19, 2019 · 0 comments
Open

context menu: Work on arbitrary links #153

chrysn opened this issue Jan 19, 2019 · 0 comments

Comments

@chrysn
Copy link

chrysn commented Jan 19, 2019

The Firefox plugin works quite well when working on plain video files hosted on a HTTP server, but becomes unusable when those can't be opened in Firefox. For example, I can open an MP4 file easily, it starts playing, and then I can right-click on it or use the menu button to send it to Kodi, but when dealing with AVI or MKV files (which would only be offered for download and not played on-screen in Firefox), neither option works.

On Android (using the Kore app), I can long-press on the .mkv link and share it to Kodi; it would be nice if that'd work on arbitrary links from Firefox as well.

As I understand, the "Play on Kodi" context menu item is only shown if the plugin detects a URI on one of the centralized video platforms behind the link, but not for arbitrary links to avoid cluttering the user interface. That "Play on Kodi" should be shown could (in addition to the existing checks for recognized platforms) be detected by file name extension heuristics, or by inspecting the type attribute of the link (eg. when it matches video/*, or any playlist's media type when #41 is resolved).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant