* bit of tidying up
* bbc back to old m3u8
This commit is contained in:
parent
fb96f93473
commit
821f8d0ddd
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -17,7 +17,7 @@
|
||||
</div>
|
||||
<div id="container">
|
||||
<Youtube title="Sky News" id="skynews" src="https://www.youtube.com/embed/9Auq9mYxFEE?enablejsapi=1&autoplay=1&mute=1&controls=0&fs=0&modestbranding=1&cc_load_policy=1"/>
|
||||
<Live title="BBC News" id="bbc" src="https://vs-hls-uk-live.akamaized.net/pool_902/live/uk/bbc_news_channel_hd/bbc_news_channel_hd.isml/bbc_news_channel_hd-pa4%3d128000-video%3d827008.m3u8"/>
|
||||
<Live title="BBC News" id="bbc" src="https://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_news24.m3u8"/>
|
||||
<Youtube title="EuroNews" id="euronews" src="https://www.youtube.com/embed/6xrJy-1_qS4?enablejsapi=1&autoplay=1&mute=1&controls=0&fs=0&modestbranding=1&cc_load_policy=1"/>
|
||||
<Twitch title="twitch.tv/rukpolitics" id="rukpolitics" channel="rukpolitics"/>
|
||||
<Twitch title="twitch.tv/ukcommons" id="ukcommons" channel="ukcommons"/>
|
||||
|
@ -50,7 +50,7 @@
|
||||
}
|
||||
})
|
||||
|
||||
console.log(`mounted ${fullId} player`, player);
|
||||
console.log(`mounted ${fullId} player`);
|
||||
})
|
||||
|
||||
|
||||
|
@ -22,21 +22,6 @@
|
||||
player.setMuted(false);
|
||||
}
|
||||
|
||||
/*
|
||||
Playing.subscribe((v) => {
|
||||
if (typeof(fullId) !== 'undefined') {
|
||||
active = (fullId !== '' && v === fullId) ? 'active' : '';
|
||||
|
||||
if (player) {
|
||||
mute();
|
||||
|
||||
if (active) {
|
||||
unMute();
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
*/
|
||||
function handleClick() {
|
||||
console.log(`click ${fullId}`);
|
||||
actions.setPlaying(fullId);
|
||||
@ -56,8 +41,6 @@
|
||||
console.log(e);
|
||||
}
|
||||
|
||||
mute();
|
||||
|
||||
Playing.subscribe((v) => {
|
||||
active = (fullId !== '' && v === fullId) ? 'active' : '';
|
||||
|
||||
@ -71,7 +54,7 @@
|
||||
|
||||
})
|
||||
|
||||
console.log(`mounted ${fullId} player`, player);
|
||||
console.log(`mounted ${fullId} player`);
|
||||
})
|
||||
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
Playing.subscribe((v) => {
|
||||
|
||||
if (typeof(fullId) !== 'undefined') {
|
||||
console.log(`${fullId} playing`, v);
|
||||
// console.log(`${fullId} playing`, v);
|
||||
active = (fullId !== '' && v === fullId) ? 'active' : '';
|
||||
|
||||
if (player) {
|
||||
@ -55,22 +55,16 @@
|
||||
}
|
||||
});
|
||||
|
||||
console.log(`${fullId} Player`, player);
|
||||
console.log('>>>');
|
||||
// console.log(`${fullId} Player`, player);
|
||||
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
}
|
||||
|
||||
|
||||
console.log('---');
|
||||
}
|
||||
|
||||
onMount(async () => {
|
||||
console.log(`${fullId} videojs`, window);
|
||||
|
||||
setTimeout(async ()=> {
|
||||
console.log('GO!');
|
||||
await createPlayer()
|
||||
}, 1500);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user