How to embed the DynTube player in React
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.
Step 1.
Please open /public/index.html
a page and paste the following script tag in the <head> section.
Step 2.
Please open /src/App.js
or any other component where you want to embed it and paste the <div> part of your embed code.
Last updated