I have install videojs and videojs-resolution-switcher from npm and trying to use this plugin for adaptive video formats but its show error. i am using angular 6 and have installed latest version of videojs . If someone know solution Please help
Someone also try to make this but failed I have attached stackblitz link blow:
https://stackblitz.com/edit/angular-btj4zw?file=src%2Fapp%2Fapp.component.ts
My code
import videojs from 'video.js';
import "@videojs/http-streaming";
import 'videojs-contrib-quality-levels';
import 'videojs-resolution-switcher';
I have install videojs and videojs-resolution-switcher from npm and trying to use this plugin for adaptive video formats but its show error. i am using angular 6 and have installed latest version of videojs . If someone know solution Please help Someone also try to make this but failed I have attached stackblitz link blow: https://stackblitz.com/edit/angular-btj4zw?file=src%2Fapp%2Fapp.component.ts
My code import videojs from 'video.js'; import "@videojs/http-streaming"; import 'videojs-contrib-quality-levels'; import 'videojs-resolution-switcher';
const options = { 'controls': true, 'autoplay': false, 'controlBar': { 'children': { 'playToggle': true,