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

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -