mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 22:33:55 -07:00
Updated
This commit is contained in:
parent
f31094fdca
commit
740e9651bf
2 changed files with 6 additions and 1 deletions
|
@ -1286,6 +1286,7 @@ $lang['DOWNLOAD_M3U_FILE'] = 'Download .m3u file';
|
|||
$lang['PLAYBACK_M3U'] = 'Playback .m3u file';
|
||||
$lang['COPY_STREAM_LINK'] = 'Copy stream link to clipboard';
|
||||
$lang['M3U_NOT_SUPPORTED'] = 'This file cannot be played in the browser...';
|
||||
$lang['M3U_FFPROBE_NO_DATA'] = 'It seems ffprobe will not be able to return data about this codec...';
|
||||
$lang['M3U_NOTICE'] = 'Some browsers do not support playback of certain video formats. In such a case, you can download the .m3u file and play it using a third-party player';
|
||||
|
||||
$lang['ATTACHMENT'] = 'Attachments';
|
||||
|
|
|
@ -13,10 +13,14 @@
|
|||
ajax.callback.ffprobe_info = function (data) {
|
||||
if (data.ffprobe_data) {
|
||||
$('#ffprobe_' + data.file_index).html(data.ffprobe_data);
|
||||
} else {
|
||||
if ($('#ffprobe_' + data.file_index).find('span.warnColor2').length > 3) {
|
||||
$('#ffprobe_' + data.file_index).append('<hr><span class="warnColor2">{L_M3U_FFPROBE_NO_DATA}</span>');
|
||||
} else {
|
||||
$('#ffprobe_' + data.file_index).append('<hr><span class="warnColor2">{L_PLEASE_TRY_AGAIN}</span>');
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<table class="forumline">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue