video.js - using videojs and videojs-contrib-hls not able to configur HLS and videojs.tech.hls are not coming using react js -


using videojs , videojs-contrib-hls not able configur hls , videojs.tech.hls not coming using react js.

import videojs "video.js"; window.videojs = videojs; import video 'videojs-contrib-hls';  let player = videojs("really-cool-video",{html5: {          hls: {              withcredentials: true,                  usecuetags:true          }}});  player.src({      src: "http://clips.vorwaerts-gmbh.de/big_buck_bunny.webm",      type: 'video/webm'      });  let hls = player.tech({ iwillnotusethisinplugins: true }).hls; 

here hls undefined coming.


Comments

Popular posts from this blog

PHP while loop dynamic rowspan -

timer - Java TimerTask cancel -

android - How to read a column value in parse.com without accessing an object or a pointer -