LivePlayer Webcast, on-demand player

Resource download: www.liveqing.com/docs/downlo… Instructions: www.liveqing.com/docs/manual…

Display and play automatically according to the width and height of DIV

<body>
    <div class="dydiv">
        <live-player video-url="http://localhost:10080/vhls/562vgkMZR/562vgkMZR_live.m3u8" aspect="fullscreen">
        </live-player>
    </div>
</body>
<style>
    .dydiv {
        position: relative;
        height:500px;
        width: 400px;
    }
</style>
Copy the code

Set stretch spread display effect

<body>
    <div class="dydiv">
        <live-player video-url="http://localhost:10080/vhls/562vgkMZR/562vgkMZR_live.m3u8" aspect="fullscreen"  stretch="true">
        </live-player>
    </div>
</body>
<style>
    .dydiv {
        position: relative;
        height:500px;
        width: 400px;
    }
</style>
Copy the code



WEB:www.liveqing.com