useState issue
issaouimuhamedaziz opened this issue · 2 comments
issaouimuhamedaziz commented
Whenever i use useState inside the page where I have set up Plyr with HLS it changes the Plyr classes and state I think? and breaks the whole page after pressing it twice.
realamirhe commented
could you use the usePlyr and look at the HLS component, for re-rendering you must be in the same depth with the <Plyr />
component itself, Plyr is best for static usage.
issaouimuhamedaziz commented
could you use the usePlyr and look at the HLS component, for re-rendering you must be in the same depth with the
<Plyr />
component itself, Plyr is best for static usage.
hello, thank you so much your provided solution works perfectly.