mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Hide hls segment setting initially but show it for WebOS users.
This commit is contained in:
parent
e3ae5d3632
commit
d46b7f256c
2 changed files with 6 additions and 1 deletions
|
@ -190,6 +190,11 @@ function loadForm(context, user, userSettings, systemInfo, apiClient) {
|
||||||
context.querySelector('.fldEnableHi10p').classList.remove('hide');
|
context.querySelector('.fldEnableHi10p').classList.remove('hide');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Show hls segment length setting for Web0s only, as the setting only aims to fix an issue on that platform.
|
||||||
|
if (browser.isWeb0s) {
|
||||||
|
context.querySelector('.fldLimitSegmentLength').classList.remove('hide');
|
||||||
|
}
|
||||||
|
|
||||||
context.querySelector('#selectAllowedAudioChannels').value = userSettings.allowedAudioChannels();
|
context.querySelector('#selectAllowedAudioChannels').value = userSettings.allowedAudioChannels();
|
||||||
|
|
||||||
apiClient.getCultures().then(allCultures => {
|
apiClient.getCultures().then(allCultures => {
|
||||||
|
|
|
@ -190,7 +190,7 @@
|
||||||
<div class="fieldDescription checkboxFieldDescription">${EnableHi10pHelp}</div>
|
<div class="fieldDescription checkboxFieldDescription">${EnableHi10pHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="checkboxContainer checkboxContainer-withDescription">
|
<div class="checkboxContainer checkboxContainer-withDescription fldLimitSegmentLength hide">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" is="emby-checkbox" class="chkLimitSegmentLength" />
|
<input type="checkbox" is="emby-checkbox" class="chkLimitSegmentLength" />
|
||||||
<span>${LimitSegmentLength}</span>
|
<span>${LimitSegmentLength}</span>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue