How to embed the DynTube player in React
Last updated
Last updated
You use our sample react app from GitHub and edit the data-dyntube-key
attribute in /src/App.j.
Here are the two steps explaining how you can do it in your app.
Please open /public/index.html
a page and paste the following script tag in the <head> section.
Please open /src/App.js
or any other component where you want to embed it and paste the <div> part of your embed code.