pinchflat icon indicating copy to clipboard operation
pinchflat copied to clipboard

[FR] Add link to video stream on media item show page

Open jburnham opened this issue 9 months ago • 0 comments

Is your feature request related to a problem? Please describe. There is no problem. I have a minor enhancement suggestion to be able to quickly view the video in an external video player like VLC or PotPlayer, rather than in the browser's video player. I like to be able to click and drag links from the browser directly into my app and it opens the stream automatically.

For example, currently, I could drag the "Open Original" link into PotPlayer and it knows how to start streaming the video directly from Youtube.

Describe the solution you'd like I would like a similar link (named something like "Open Stream") directly to the https://pinchflat.example.com/media/d22e36a7-e132-432a-960b-ddad91ca0aa8/stream that I could drag into my player instead.

It could go right below the "Open Original" link here or nearby. https://github.com/kieraneglin/pinchflat/blob/3a5c06fe6495cf8f6301b60775c8231bdeae0928/lib/pinchflat_web/controllers/media_items/media_item_html/show.html.heex#L35-L37

Describe alternatives you've considered Right-clicking the video preview (in Firefox) has a "Copy Video Link", and with this I can have have VLC/PotPlayer open the URL directly. It's not as simple as dragging and dropping as it requires several mouse clicks or hotkey operations.

jburnham avatar May 26 '24 10:05 jburnham