Last active
December 30, 2024 00:49
-
-
Save peterwzhang/2efd5c29c872256abb2986569e2a09a4 to your computer and use it in GitHub Desktop.
Script to allow more than 4 multi streams on streameast - paste into JS console to use.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('body').on('click', '#MultiStreamTakimlar li', function(e) { | |
e.preventDefault(); | |
let id = $(this).find('a').attr('id') | |
let title = $(this).find('.stream-title').text() | |
$('#row-stream-' + id).hide(); | |
let html = '<div class="col-lg-6 PlayerlarDuzenlemesi" style="float: left;" id="Mac-' + id + '"> </div>' | |
$('#Playerlar').append(html) | |
$.ajax({ | |
url: '/multi-stream-player/' + id, | |
type: 'get', | |
dataType: 'text', | |
success: function(data) { | |
$('#Mac-' + id).html(data) | |
} | |
}) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment