How to embed videos & channels dynamically
In order to embed videos or channels dynamically into any HTML page. You can use the following script tag and add it to the head tag of your HTML document.
Once the script has been added, you can add a div tag to your page where the video/channel needs to be displayed. The div tag should have the attribute
data-dyntube-key. The value should be
channelKeyfield of the video or the value should be the
keyof your video channel. You can find the
channelKeyof a video by listing your videos using API.