Jellyfin Forum
direct link to play a movie - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Development (https://forum.jellyfin.org/f-development)
+--- Forum: Web Development (https://forum.jellyfin.org/f-web-development)
+--- Thread: direct link to play a movie (/t-direct-link-to-play-a-movie)



direct link to play a movie - wolfgangam - 2023-12-18

Hello, hopefully this is the right forum. 
I wanted to create a different web interface for jellyfin, so I wrote a simple code html/js code that pulls data with jellyfin api and it looks exactly like I want it.

It shows the library I want it to, description of the movie, rating and has a play button.

The play button directs back to the original jellyfin interface, to the direct movie page,  and the user needs to play the movie from there. 

My question is - is there a way I can create a play button that will direct back to jellyfin but to that will start the movie immediately? 
and if possible, I would also want to pre-select subtitles .

You can assume I have all the details that jellyfin (movie id, subtitle id, etc...) , I'm connected to the API and directly to the database files.

Thanks.


RE: direct link to play a movie - thornbill - 2023-12-24

I don’t think this is currently possible. However it is probably worth implementing at some point because having that capability could also solve the ui breaking when the page is refreshed on the video player.