- Notifications
You must be signed in to change notification settings - Fork207
Open
Description
Description
@IxquitilisSaid
I have install"@videogular/ngx-videogular": "^3.0.1",
and
"hls.js": "^0.14.17",
have add thehls.min.js file to The script in Angular.json file.
On my component.html I have :
<video #media #vgHls="vgHls" width="1000" height="800" crossorigin controls [vgMedia]="media" [vgHls]=" 'http://demo.unified-streaming.com/video/tears-of-steel/tears-of-steel.ism/.m3u8' " type="video/mp4" ></video>
My app.module.ts :
import { BrowserModule } from '@angular/platform-browser';import { NgModule } from '@angular/core';import { FormsModule } from '@angular/forms';import { NgbModule } from '@ng-bootstrap/ng-bootstrap';import { AppRoutingModule } from './app-routing.module';import { BrowserAnimationsModule } from '@angular/platform-browser/animations';import { VgCoreModule } from '@videogular/ngx-videogular/core';import { VgControlsModule } from '@videogular/ngx-videogular/controls';import { VgOverlayPlayModule } from '@videogular/ngx-videogular/overlay-play';import { VgBufferingModule } from '@videogular/ngx-videogular/buffering';import { VgStreamingModule } from '@videogular/ngx-videogular/streaming';import { AppComponent } from './app.component';import { CameraComponent } from './camera/camera.component';import { NavbarComponent } from './navbar/navbar.component';@NgModule({ declarations: [AppComponent, CameraComponent, NavbarComponent], imports: [ BrowserModule, AppRoutingModule, FormsModule, BrowserAnimationsModule, NgbModule, VgCoreModule, VgControlsModule, VgOverlayPlayModule, VgBufferingModule, VgStreamingModule, ], providers: [], bootstrap: [AppComponent],})export class AppModule {}
Expected Behavior
But still, can t play my file
I have created a question on StackOverflow too please visit :
https://stackoverflow.com/questions/65846501/how-to-play-m3u8-file-from-unified-streaming-on-ngx-videogular
Please help me make this run
Thanks
Metadata
Metadata
Assignees
Labels
No labels