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 channelKey
field of the video or the value should be the key
of your video channel. You can find the channelKey
of a video by listing your videos using API.
Last updated