N/APosted on - 09/03/2016
I am unable to understand how I can add a video in the same HTML page such that no new page loads or even the same page doesn’t have to reload to play the video. Every time I press play, the link backfires to the original live video. Please help me.
Adding Videos in a Dynamic Webpage
There are certain easy steps you need to follow in order to play a video on a web page without reloading it. Follow the instructions below:
Make sure that the video exists on web and note down the Video ID.
Specify an “<iframe>” element into your web page.
Point the src attribute to the URL of the video
Remember that the attributes (height and width) can be used to define the dimension of the frame of the video.
Embed this part of the code between texts where you want the video to be viewed on your webpage.