• 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
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Progress bar when controls hidden - by randomuser123 - 2024-07-25, 01:04 PM
    RE: Progress bar when controls hidden - by TheDreadPirate - 2024-07-25, 01:28 PM
    RE: Progress bar when controls hidden - by randomuser123 - 2024-07-25, 01:37 PM
    RE: Progress bar when controls hidden - by Leania - 2024-08-13, 03:03 PM
    RE: Progress bar when controls hidden - by Efficient_Good_5784 - 2024-08-13, 03:32 PM

    • 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