• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions Copy Stream URL - playback in browser

     
    • 0 Vote(s) - 0 Average

    Copy Stream URL - playback in browser

    Copied Stream URL automatically downloads video in web browser.
    fakers123
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Sep
    Reputation: 0
    Country:Latvia
    #1
    2023-09-07, 01:35 PM
    Hello!

    I've have fresh jellyfin 10.8.10 install on Ubuntu 22.04 server. And I've uploaded a video to the server for testing purposes.

    Is there a way to get the "Copy Stream URL" to create a suitable URL link to play the video in browser publicly with no account?

    Are there any solutions to this where you don't need to use third party apps VLC etc.. ?

    Any help would be appreciated!
    bitmap
    Offline

    Community Moderator

    Posts: 781
    Threads: 9
    Joined: 2023 Jul
    Reputation: 24
    #2
    2023-09-07, 04:25 PM (This post was last modified: 2023-09-07, 06:42 PM by bitmap. Edited 1 time in total.)
    The web client doesn't require a third-party app, but I'm guessing that's not what you're asking?

    You can get the link you're talking about via API but the token and everything is required and I'm not sure about expiry on playback USER tokens. I haven't taken a deep dive into the Jellyfin API yet.

    Don't do this. Read:

    (2023-09-07, 05:33 PM)niels Wrote: I would strongly recommend not sharing those URL's as the token is not a playback token but your users access token, you don't want that to leak.
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    niels
    Offline

    Core Team

    Posts: 248
    Threads: 4
    Joined: 2023 Jun
    Reputation: 12
    Country:Netherlands
    #3
    2023-09-07, 05:33 PM
    I would strongly recommend not sharing those URL's as the token is not a playback token but your users access token, you don't want that to leak.
    fakers123
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Sep
    Reputation: 0
    Country:Latvia
    #4
    2023-09-07, 05:36 PM
    Yeah, the web client doesn't need a third party app.

    Im looking for a possible solution for "Copy Stream URL" link is automatically turned into a download link. Is there any possible solutions to make or get the video link from the server, so it would function in internet browser, that automatically shows video and can be played?

    And if possible, without an account on the server, but a public one.
    fakers123
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Sep
    Reputation: 0
    Country:Latvia
    #5
    2023-09-07, 06:01 PM
    (2023-09-07, 04:25 PM)bitmap Wrote: The web client doesn't require a third-party app, but I'm guessing that's not what you're asking?

    [quote="niels" pid='3867' dateline='1694108032']
    I would strongly recommend not sharing those URL's as the token is not a playback token but your users access token, you don't want that to leak.


    Security is not a issue, it would be for an internal corporate network.
    bitmap
    Offline

    Community Moderator

    Posts: 781
    Threads: 9
    Joined: 2023 Jul
    Reputation: 24
    #6
    2023-09-07, 06:39 PM (This post was last modified: 2023-09-07, 06:44 PM by bitmap. Edited 1 time in total.)
    (2023-09-07, 05:33 PM)niels Wrote: I would strongly recommend not sharing those URL's as the token is not a playback token but your users access token, you don't want that to leak.

    I was assuming that would be inferred...but you're 100% correct to state it explicitly. That's my bad for not saying the quiet part out loud. *Also for not realizing it was user token, not playback token. Edited previous post to reflect that it's a "bad" (read: terrible) idea. "Token" generally means DO NOT SHARE WITH OTHER PEOPLE.
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    bitmap
    Offline

    Community Moderator

    Posts: 781
    Threads: 9
    Joined: 2023 Jul
    Reputation: 24
    #7
    2023-09-08, 12:05 AM
    (2023-09-07, 06:01 PM)fakers123 Wrote:
    (2023-09-07, 04:25 PM)bitmap Wrote: The web client doesn't require a third-party app, but I'm guessing that's not what you're asking?

    [quote="niels" pid='3867' dateline='1694108032']
    I would strongly recommend not sharing those URL's as the token is not a playback token but your users access token, you don't want that to leak.


    Security is not a issue, it would be for an internal corporate network.

    Why not run an "open" instance of Jellyfin internally and allow users to download from there (e.g., require VPN to access/authenticate)? Or have a service user? I still think the idea of providing a download link that includes a token is problematic. More info about the use case would be good to provide information about a solution.
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2023-09-08, 12:58 AM
    (2023-09-08, 12:05 AM)bitmap Wrote:
    (2023-09-07, 06:01 PM)fakers123 Wrote:
    (2023-09-07, 04:25 PM)bitmap Wrote: The web client doesn't require a third-party app, but I'm guessing that's not what you're asking?

    [quote="niels" pid='3867' dateline='1694108032']
    I would strongly recommend not sharing those URL's as the token is not a playback token but your users access token, you don't want that to leak.


    Security is not a issue, it would be for an internal corporate network.

    Why not run an "open" instance of Jellyfin internally and allow users to download from there (e.g., require VPN to access/authenticate)? Or have a service user? I still think the idea of providing a download link that includes a token is problematic. More info about the use case would be good to provide information about a solution.

    He could also lock it down by not allowing remote connections and seeing the Internal network config to all his corporate subnets.  Could take that further and set the firewall to only allow incoming connections to port 8096 from trusted subnets.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    1
    bitmap
    Offline

    Community Moderator

    Posts: 781
    Threads: 9
    Joined: 2023 Jul
    Reputation: 24
    #9
    2023-09-08, 02:20 AM
    Tons of better ways to do this than "grab the URL"...
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode