This adds paddings to various containers so that buttons and contents are not
hidden by the notch or the Home indicator (the gray bar at the bottom).
- `src/assets/css/librarybrowser.scss`
- `.skinHeader`: menu bar at the top.
- `.padded-left` and `.padded-right`: the heading of library.
- `src/assets/css/site.scss`
- `.content-primary`, `.padded-bottom-page`, `.page`,
`.pageWithAbsoluteTabs`, and `.pageTabContent`: settings and dashboards.
- `src/elements/emby-scroller/emby-scroller.scss`
- `.emby-scroller`: the library items.
- `src/assets/css/videoosd.scss`
- `.videoOsdBottom`: the video playback control buttons and the progress bar.
- `src/components/alphaPicker/style.scss`
- `.alphaPicker-fixed` and `.alphaPicker-fixed-right`: the alphabet picker.
- `src/components/appFooter/appFooter.scss`
- `.appfooter`: the bottom bar showing the currently playing media.
- `src/components/multiSelect/multiSelect.scss`
- `.selectionCommandsPanel`: the top bar when selecting multiple media.
Shown when long-pressing media.
- `src/components/remotecontrol/remotecontrol.scss`
- `.playlistSectionButton`: the bottom bar for current playlist.
Shown when touching `.appfooter`.
- `src/components/toast/toast.scss`
- `.toastContainer`: the toast. Shown when refreshing metadata.
- `src/index.html`
- `.mainDrawerHandle`: gesture area for the drawer.
It seems conflicting with gestures of Safari.
- `src/libraries/navdrawer/navdrawer.scss`
- `.tmla-mask` and `.touch-menu-la`: the drawer.
- `src/plugins/htmlVideoPlayer/style.scss`
- `.videoPlayerContainer`: the video area when not fullscreen.
- `.videoSubtitles`: the video subtitles for some devices, not including
iPhone.
- `src/plugins/youtubePlayer/style.scss`
- `.youtubePlayerContainer` container for the YouTube plugin. Not tested.
The hls.js maxBufferLength parameter sets the minimum amount of video
that hls.js will try to buffer. We used to have this set to 30
seconds, but this caused problems with high-bitrate videos trying to
buffer too much data and making Chrome/Firefox cranky, so
maxBufferLength was reduced in #2148 and #2224.
However, those PRs *also* reduced maxMaxBufferLength to 6 seconds,
which doesn't make sense -- basically this is telling hls.js that it
must *never* buffer more than 6 seconds at a time, even if there's
plenty of memory and it wouldn't make the browser cranky at all. And
obviously such a tiny buffer makes it very easy for small network
glitches to cause user-visible playback problems.
So this PR removes the maxMaxBufferLength configuration entirely,
accepting hls.js's default (which is currently 600 seconds).
Fixes#2856