I'm new in video.js. I use it in angular as follows:
app.component.scss:
@import "~video.js/src/css/video-js";
app.component.html:
<video id="video-id" class="video-js"></video>
app.component.ts:
ngOnInit(): void {
const player = videojs('video-id');
player.ready(() => {
player.src({
src: 'http://localhost/stream/masterPlayList.m3u8',
type: 'application/x-mpegURL'
});
});
}
How can I remove extra sections(It marked with red)?
