let ssc1 = 'https://ssc1-ak.akamaized.net/out/v1/c696e4819b55414388a1a487e8a45ca1/index.mpd';
async function init1() {
const video = document.getElementById('ssc1');
const ui = video['ui'];
const config = {
'seekBarColors': {
base: 'blue',
buffered: 'red',
played: 'yellow',
}
};
ui.configure(config);
const controls = ui.getControls();
const player = controls.getPlayer();
player.configure({
drm: {
clearKeys: {
'd84c325f36814f39bbe59080272b10c3': '550727de4c96ef1ecff874905493580f'
}
}
});
// player.configure('manifest.dash.ignoreMinBufferTime', true);
//player.configure('streaming.rebufferingGoal', 1 /* second */);
window.player = player;
window.ui = ui;
player.addEventListener('error', onPlayerErrorEvent);
controls.addEventListener('error', onUIErrorEvent);
try {
await player.load(ssc1);
console.log('The video has now been loaded!');
} catch (error) {
onPlayerError(error);
}
}
function onPlayerErrorEvent(errorEvent) {
onPlayerError(event.detail);
}
function onPlayerError(error) {
console.error('Error code', error.code, 'object', error);
}
function onUIErrorEvent(errorEvent) {
onPlayerError(event.detail);
}
function initFailed(errorEvent) {
console.error('Unable to load the UI library!');
}
document.addEventListener('shaka-ui-loaded', init1);
document.addEventListener('shaka-ui-load-failed', initFailed);
document.addEventListener('shaka-ui-loaded', init2);
document.addEventListener('shaka-ui-loaded', init3);
document.addEventListener('shaka-ui-loaded', init4);
document.addEventListener('shaka-ui-loaded', init5);
document.addEventListener('shaka-ui-loaded', init6);
document.addEventListener('shaka-ui-loaded', init7);
function ganti_ssc1() {
ssc1 = 'https://ssc1-ak.akamaized.net/out/v1/c696e4819b55414388a1a487e8a45ca1/index.mpd';
init1();
}
<!DOCTYPE html>
<html>
<head>
<meta name='viewport' content='width=device-width, initial-scale=1.0'/>
<script src='https://cdnjs.cloudflare.com/ajax/libs/shaka-player/4.3.3/shaka-player.ui.min.js' crossorigin='anonymous'></script>
<script src='https://xystv.pages.dev/tvsports.js'></script>
<link rel='stylesheet' href='https://reisyah.github.io/ngopy/shakacontrol.css' crossorigin='anonymous'/>
<link rel='stylesheet' href='https://cdn.jsdelivr.net/gh/Arjunaaaaa/lsbtv/gaya.css' crossorigin='anonymous'/>
</head>
<body bgcolor='black' style='margin:0' oncontextmenu='return false' onkeydown='return false' onmousedown='return false'>
<div id="vidio" class="fit" data-shaka-player-container style='position:absolute;z-index: -1;top: 0;left: 0;width: 100%; height: 100%;object-fill:fill cover;'>
<video autoplay data-shaka-player id='ssc1' poster="https://mbehhh.github.io/img/live/backgroundplay.png" style='width:100%;height:100%;'></video>
<div class="shaka-controls-container" shown="true">
<div class="shaka-scrim-container"></div>
<div class="shaka-play-buton-container">
<button class="shaka-play-button shaka-no-propagation" ion="pause" aria-abel="Pause"></button>
</div>
<div class="shaka-server-side-ad-container"></div>
<div class="shaka-bottom-controls shaka-no-propagation">
<div class="shaka-ad-controls shaka-hidden">
<div class="shaka-ad-position shaka-hidden">
<span class="shaka-ad-position-span"></span>
</div>
<div class="shaka-ad-counter">
<span class="shaka-ad-counter-span"></span>
</div>
</div>
<div class="shaka-controls-button-panel shaka-show-controls-on-mouse-over">
<img src="https://mbehhh.github.io/img/live/dg.png" style='width:15% ;height:15%;' class="shaka-fullscreen-button material-icons-round shaka-tooltip" aria-label="mute">
</div>
</div>
</div>
</div>
<script>
async function init() {
const video = document.getElementById('vide');
const ui = video['ui'@CCORCH@;
const config = {
'seekBarColors': {
base: 'blue',
buffered: 'red',
played: 'yellow',
}
}
ui.configure(config);
const controls = ui.getControls();
const player = controls.getPlayer();
const punyalsbtv = 'https://linearjitp-playback.lsbtv.com.my/dash-wv/linear/$id(*;!-_?)/default.mpd';
player.configure({
drm: {
clearKeys: {
// 'key-id-in-hex': 'key-in-hex',
'$keyid?(*;!-_?)': '$key(*;!-_?)'
}
}
});
//player.configure({drm:{servers:{'com.widevine.alpha':'https://license.dstv.com/widevine/getLicense?CrmId=afl&AccountId=afl&ContentId=SH2&SessionId=D3C00F885C24B9C6&Ticket=C839A8D71AB94299'}}});
player.configure('manifest.dash.ignoreMinBufferTime', true);
player.configure('streaming.rebufferingGoal', 1/* second */);
window.player = player;
window.ui = ui;
player.addEventListener('error', onPlayerErrorEvent);
controls.addEventListener('error', onUIErrorEvent);
try{await player.load(punya_lsbtv);
console.log('The video has now been loaded!');} catch (error) {onPlayerError(error);}}
function onPlayerErrorEvent(errorEvent) {onPlayerError(event.detail);}
function onPlayerError(error) {console.error('Error code', error.code, 'object', error);}
function onUIErrorEvent(errorEvent) {onPlayerError(event.detail);}
function initFailed(errorEvent) {console.error('Unable to load the UI library!');}
document.addEventListener('shaka-ui-loaded', init);
document.addEventListener('shaka-ui-load-failed', initFailed);
</script>
</html>
function saweria() {
var frame = document.getElementById("vidio");
frame.src = "go:saweria";
}
function refreshPage() {
location.reload();
}
var iframe = document.getElementById('vidio');
iframe.src = 'player?id=tnt1uk50&ns=go:nstntuk1';
function ssc1() {
var frame = document.getElementById("vidio");
frame.src = "https://mbehhh.github.io/sc1.html";
}
function sscextra2() {
var frame = document.getElementById("vidio");
frame.src = "go:sscextra2";
}
function bein3my() {
var frame = document.getElementById("vidio");
frame.src = "player?id=bein3my&ns=go:nsbein3my";
}
function tnt1uk50() {
var frame = document.getElementById("vidio");
frame.src = "player?id=tnt1uk50&ns=go:nstntuk1";
}
function tnt2uk50() {
var frame = document.getElementById("vidio");
frame.src = "player?id=tnt2uk50&ns=go:nstntuk2";
}
function tnt3uk50() {
var frame = document.getElementById("vidio");
frame.src = "player?id=tnt3uk50&ns=go:nstntuk3";
}
function tnt4uk50() {
var frame = document.getElementById("vidio");
frame.src = "player?id=tnt4uk50&ns=go:nstntuk4";
}
function tnt5uk50() {
var frame = document.getElementById("vidio");
frame.src = "player?id=tnt5uk50&ns=go:nstntuk5";
}
function beinth3() {
var frame = document.getElementById("vidio");
frame.src = "player?id=beinth3&ns=go:nsbein3th";
}
function beinth4() {
var frame = document.getElementById("vidio");
frame.src = "player?id=beinth4&ns=go:nsbein4th";
}
function beinth5() {
var frame = document.getElementById("vidio");
frame.src = "player?id=beinth5&ns=go:nsbein5th";
}
function beinth6() {
var frame = document.getElementById("vidio");
frame.src = "player?id=beinth6&ns=go:nsbein6th";
}
function beinth7() {
var frame = document.getElementById("vidio");
frame.src = "player?id=beinth7&ns=go:nsbein7th";
}
function polsatprem1() {
var frame = document.getElementById("vidio");
frame.src = "player?id=polsatprem1&ns=go:nspppl1";
}
function polsatprem2() {
var frame = document.getElementById("vidio");
frame.src = "player?id=polsatprem2&ns=go:nspppl2";
}
function tv2_sport1() {
var frame = document.getElementById("vidio");
frame.src = "player?id=tv2_sport1&ns=go:nstv2s1";
}
function tv2_premium1() {
var frame = document.getElementById("vidio");
frame.src = "player?id=tv2_premium1&ns=go:nstv2p1";
}
function canale5() {
var frame = document.getElementById("vidio");
frame.src = "player?id=canale5&ns=go:nscanale5";
}
function infinity1() {
var frame = document.getElementById("vidio");
frame.src = "player?id=infinity1&ns=go:nsinfini1";
}
function sky251it() {
var frame = document.getElementById("vidio");
frame.src = "player?id=sky251it&ns=go:nssky251it";
}
function sky252it() {
var frame = document.getElementById("vidio");
frame.src = "player?id=sky252it&ns=go:nssky252it";
}
function sky253it() {
var frame = document.getElementById("vidio");
frame.src = "player?id=sky253it&ns=go:nssky253it";
}
function sky254it() {
var frame = document.getElementById("vidio");
frame.src = "player?id=sky254it&ns=go:nssky254it";
}
function sky255it() {
var frame = document.getElementById("vidio");
frame.src = "player?id=sky255it&ns=go:nssky255it";
}
function skysportuno() {
var frame = document.getElementById("vidio");
frame.src = "player?id=skysportuno&ns=go:nsskyuno";
}
function skysportseriea() {
var frame = document.getElementById("vidio");
frame.src = "player?id=skysportseriea&ns=go:nsskyseriea";
}
function xystv1() {
var frame = document.getElementById("vidio");
frame.src = "player?id=xystv1&ns=go:";
}
function xystv2() {
var frame = document.getElementById("vidio");
frame.src = "player?id=xystv2&ns=go:";
}
function espn_ar() {
var frame = document.getElementById("vidio");
frame.src = "player?id=espn_ar&ns=go:nsespnar";
}
function match_football1() {
var frame = document.getElementById("vidio");
frame.src = "player?id=match_football1&ns=go:nsmf1";
}
function match_football2() {
var frame = document.getElementById("vidio");
frame.src = "player?id=match_football2&ns=go:nsmf2";
}