Skip to content

Commit 3586875

Browse files
committed
Remove unused code
1 parent 57092eb commit 3586875

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

src/index.html

-44
Original file line numberDiff line numberDiff line change
@@ -305,50 +305,6 @@
305305
yospacePlayer.load(customSource);
306306
});
307307

308-
var tbseFpSource = {
309-
title: 'TBSE FP',
310-
hls: 'https://live-manifests-aka-qa.warnermediacdn.com/csmp/cmaf/live/2011915/tbseast-cbcs-stage/master_fp.m3u8?yo.pdt=true&_fw_ae=53da17a30bd0d3c946a41c86cb5873f1&_fw_ar=1&afid=180483280&conf_csid=tbs.com_desktop_live_east&nw=42448&prof=48804:tbs_ios_live&yo.vp=false&yo.ad=true&yo.dr=true',
311-
// Yospace configuration
312-
assetType: bitmovin.player.ads.yospace.YospaceAssetType.LINEAR,
313-
drm: {
314-
fairplay: {
315-
LA_URL: 'https://fairplay-stage.license.istreamplanet.com/api/license/de4c1d30-ac22-4669-8824-19ba9a1dc128',
316-
certificateURL:
317-
'https://fairplay-stage.license.istreamplanet.com/api/AppCert/de4c1d30-ac22-4669-8824-19ba9a1dc128',
318-
prepareContentId: function (skd) {
319-
const parts = skd.split('/');
320-
return parts[parts.length - 1];
321-
},
322-
prepareCertificate: function (certificate) {
323-
const str = ab2str(certificate).split('"').join('');
324-
const uint8 = str2uint8(atob(str));
325-
return uint8;
326-
},
327-
prepareMessage: function (event, session) {
328-
return event.messageBase64Encoded;
329-
},
330-
prepareLicense: function (license) {
331-
const str = license.split('"').join('');
332-
return str;
333-
},
334-
useUint16InitData: true,
335-
},
336-
},
337-
};
338-
339-
function ab2str(buf) {
340-
return String.fromCharCode.apply(null, new Uint8Array(buf));
341-
}
342-
343-
function str2uint8(str) {
344-
var buf = new ArrayBuffer(str.length);
345-
var bufView = new Uint8Array(buf);
346-
for (var i = 0, strLen = str.length; i < strLen; i++) {
347-
bufView[i] = str.charCodeAt(i);
348-
}
349-
return bufView;
350-
}
351-
352308
var adBreakState = {
353309
abs: 0,
354310
as: 0,

0 commit comments

Comments
 (0)