Closed ShahoG closed 5 years ago
Ok for anyone else struggling with this issue: I managed to solve this by putting the following in the HTML:
<vg-player>
<vg-controls>
<vg-play-pause></vg-play-pause>
<vg-scrub-bar>
<vg-scrub-bar-current-time></vg-scrub-bar-current-time>
<vg-scrub-bar-buffering-time></vg-scrub-bar-buffering-time>
</vg-scrub-bar>
<vg-time-display vgProperty="left" vgFormat="mm:ss"></vg-time-display>
<vg-mute></vg-mute>
<vg-volume></vg-volume>
<vg-fullscreen></vg-fullscreen>
</vg-controls>
<video #media [vgMedia]="media" [vgHls]="exerciseBankVideo" id="singleVideo" crossorigin>
</video>
</vg-player>
Description
Init of m3u8 playlist not working on ionic 4 using angular
Getting:
When using standard out of the documentation snippet for HLS player
My code:
Everything is imported correctly including the hls.js. This exact setup works in my angular 7+ project