• 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 Themes & Styles Progress bar when controls hidden

     
    • 0 Vote(s) - 0 Average

    Progress bar when controls hidden

    randomuser123
    Offline

    Junior Member

    Posts: 3
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    #1
    2024-07-25, 01:04 PM (This post was last modified: 2024-07-26, 09:51 AM by randomuser123. Edited 4 times in total.)
    Hello, I'm new here.
    I have been looking for the feature mentioned in the subject while customizing my Jellyfin setup and found nothing on it so I decided to make one myself using CSS.


    Code:
    /* show small progress bar when player control bar hidden */
    #videoOsdPage > div.videoOsdBottom.videoOsdBottom-maincontrols.videoOsdBottom-hidden.hide,
    div.videoOsdBottom.videoOsdBottom-maincontrols.videoOsdBottom-hidden.hide{
      opacity: 1 !important;
      display: block !important;
      margin-bottom: -13.1em;
    }
    #videoOsdPage > div.videoOsdBottom.videoOsdBottom-maincontrols.videoOsdBottom-hidden.hide div.sliderContainer.flex-grow.mdl-slider-container{
      margin: .5em 0 .25em;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
    }
    #videoOsdPage > div.videoOsdBottom.videoOsdBottom-maincontrols.videoOsdBottom-hidden.hide div.sliderContainer.flex-grow.mdl-slider-container > input.mdl-slider-hoverthumb,
    #videoOsdPage > div.videoOsdBottom.videoOsdBottom-maincontrols.videoOsdBottom-hidden.hide div.sliderContainer.flex-grow.mdl-slider-container > input.osdPositionSlider::-webkit-slider-thumb{
      display: none;
    }


       
    notice the blue line at the very bottom


    This shows a small progress bar at the bottom of the screen when the player controls are hidden and works in regular and full screen mode.
    Not sure if this is the correct approach to implement the feature but it works on all my devices (Desktop, mobile, ROG ally).

    Enjoy!
    1
    1
    1
    1
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-07-25, 01:28 PM
    I have zero custom CSS in my setup, but this is genuinely useful.  Even shows chapter markers.  Thanks!

       
    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]
    randomuser123
    Offline

    Junior Member

    Posts: 3
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    #3
    2024-07-25, 01:37 PM
    (2024-07-25, 01:28 PM)TheDreadPirate Wrote: I have zero custom CSS in my setup, but this is genuinely useful.  Even shows chapter markers.  Thanks!

    Didn't even know it still shows the chapter markers. 
    What I did was just basically destroy the default behavior of the controls when hidden and adjust it to where only the progress bar can be seen.
    Glad you like it!
    Leania
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    Country:Germany
    #4
    2024-08-13, 03:03 PM
    What do I have to do to implement this? I have no idea about the structure and don't know where I need to change anything.
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #5
    2024-08-13, 03:32 PM
    (2024-08-13, 03:03 PM)Leania Wrote: What do I have to do to implement this? I have no idea about the structure and don't know where I need to change anything.
    You just copy and paste the CSS code into your dashboard's custom CSS section in the bottom of the general section.
    « 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