JoL-player icon indicating copy to clipboard operation
JoL-player copied to clipboard

not working

Open pateljoel opened this issue 4 years ago • 3 comments

i get invalid hook call on the example alone

pateljoel avatar Dec 30 '21 12:12 pateljoel

Can you provide a case?

lgf196 avatar Jan 03 '22 11:01 lgf196

jolplayer-issue

import React from 'react';
import JoLPlayer from "jol-player";

const App = () => (
  <>
    <JoLPlayer
        option={{
          videoType: 'hls',
          videoSrc:"https://media.vimejs.com/hls/index.m3u8",
          width: 750,
          height: 420,
        }}
      />
  </>
);

export default App;

https://jolplayerdemo.joelptl.repl.co

pateljoel avatar Jan 04 '22 11:01 pateljoel

Please try it with npm install

lgf196 avatar Jan 05 '22 01:01 lgf196