Enable audio streaming
This commit is contained in:
parent
5a8689827c
commit
ba688a9668
@ -1,7 +1,7 @@
|
||||
<div class="video-wrapper">
|
||||
<div class="player-container" [ngClass]="{ hide: !isUrlOnline && usingVjs }" *ngIf="isStable">
|
||||
<div *ngIf="usingVjs">
|
||||
<video #vjs class="video-js" controls preload="none"></video>
|
||||
<audio #vjs class="video-js" controls preload="none" liveui="true"></audio>
|
||||
</div>
|
||||
<div *ngIf="!usingVjs" class="iframe-player">
|
||||
<iframe
|
||||
|
@ -25,6 +25,8 @@ import { ConfigService } from 'app/core/ui-services/config.service';
|
||||
|
||||
enum MimeType {
|
||||
mp4 = 'video/mp4',
|
||||
mp3 = 'audio/mpeg',
|
||||
ogg = 'audio/ogg',
|
||||
mpd = 'application/dash+xml',
|
||||
m3u8 = 'application/x-mpegURL'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user