|
|
|
@ -247,8 +247,8 @@
|
|
|
|
|
});
|
|
|
|
|
const playVideo = () => {
|
|
|
|
|
player = TCPlayer('player-container-id-live', {
|
|
|
|
|
width: 380,
|
|
|
|
|
height: 180,
|
|
|
|
|
width: 480,
|
|
|
|
|
height: 280,
|
|
|
|
|
sources: [
|
|
|
|
|
{
|
|
|
|
|
src: 'http://175.27.168.120:6012/live/4.flv', // 播放地址
|
|
|
|
@ -290,8 +290,8 @@
|
|
|
|
|
</script>
|
|
|
|
|
<style lang="less" scoped>
|
|
|
|
|
.live-preview {
|
|
|
|
|
width: 400px;
|
|
|
|
|
height: 248px;
|
|
|
|
|
width: 500px;
|
|
|
|
|
height: 348px;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
background: #0d0e15;
|
|
|
|
|
box-shadow:
|
|
|
|
@ -369,7 +369,7 @@
|
|
|
|
|
z-index: 3;
|
|
|
|
|
}
|
|
|
|
|
.player {
|
|
|
|
|
height: 180px;
|
|
|
|
|
height: 280px;
|
|
|
|
|
#player-container-id-live {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|