Answer the question
In order to leave comments, you need to log in
How to insert playerjs or flowplayer in REACT js without using components?
Good afternoon.
Tell me, how can I display the playerjs or flowplayer video player in return - does it matter?
I don’t fully understand how to connect it, import it into react.
Players are represented by the file playerjs.js and flowplayer.js.
In the HTML version, I inserted them with the script tag and indicated the path to them
. Sample code for connecting the player in HTML:
<div id="player"></div>
<script>
new Playerjs({
"id":"player",
"file": "url_to_file",
</script>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question