mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
convert programs and channels to new providers
This commit is contained in:
parent
84347e8631
commit
f83b2b662a
@ -61,7 +61,7 @@
|
||||
<a data-role="button" id="ppButton" onclick="$(this).parents('form')[0].submit();">
|
||||
<img src="css/images/supporter/registerpaypal.png" /></a>
|
||||
<p id="noEmail" style="display: none">
|
||||
<strong>This developer has not provided a PayPal email. Please see their
|
||||
<strong>This developer has not provided a PayPal email. Please see their
|
||||
website for registration information.</strong>
|
||||
</p>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) {
|
||||
|
||||
if (pluginSecurityInfo.IsMBSupporter) {
|
||||
$('#contribute', page).show();
|
||||
$('#contribute', page).hide();
|
||||
} else {
|
||||
$('#contribute', page).show();
|
||||
}
|
||||
|
@ -239,15 +239,14 @@
|
||||
currentSrc = replaceQueryString(currentSrc, 'MaxWidth', finalParams.maxWidth);
|
||||
currentSrc = replaceQueryString(currentSrc, 'VideoBitrate', finalParams.videoBitrate);
|
||||
currentSrc = replaceQueryString(currentSrc, 'AudioBitrate', finalParams.audioBitrate);
|
||||
currentSrc = replaceQueryString(currentSrc, 'Static', finalParams.isStatic);
|
||||
|
||||
if (finalParams.isStatic) {
|
||||
currentSrc = currentSrc.replace('.webm', '.mp4').replace('.m3u8', '.mp4');
|
||||
} else {
|
||||
currentSrc = currentSrc.replace('.mp4', getTranscodingExtension());
|
||||
currentSrc = currentSrc.replace('.mp4', transcodingExtension);
|
||||
}
|
||||
|
||||
currentSrc = replaceQueryString(currentSrc, 'Static', finalParams.isStatic);
|
||||
|
||||
clearProgressInterval();
|
||||
|
||||
$(element).off('ended.playbackstopped').off('ended.playnext').on("play.onceafterseek", function () {
|
||||
@ -1852,19 +1851,7 @@
|
||||
var currentSrc = currentMediaElement.currentSrc.toLowerCase();
|
||||
var isStatic = currentSrc.indexOf('static=true') != -1;
|
||||
|
||||
var transcodingExtension = isStatic ? getTranscodingExtension() : null;
|
||||
|
||||
if (!transcodingExtension) {
|
||||
if (currentSrc.indexOf('.m3u8') != -1) {
|
||||
transcodingExtension = '.m3u8';
|
||||
}
|
||||
else if (currentSrc.indexOf('.webm') != -1) {
|
||||
transcodingExtension = '.webm';
|
||||
}
|
||||
else {
|
||||
transcodingExtension = '.mp4';
|
||||
}
|
||||
}
|
||||
var transcodingExtension = getTranscodingExtension();
|
||||
|
||||
var currentAudioStreamIndex = getParameterByName('AudioStreamIndex', currentMediaElement.currentSrc);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user