can anyone assist me in creating an html page where i van select from a list and play a video on the page and in the same window ?
can anyone assist me in creating an html page where i van select from a list and play a video on the page and in the same window ?
You can try to create a web page with the below code:
and in browsers like chrome you will be able to play videos without any problem.Code:<video src="test.mp4" controls width="320" height="240"> </video>
my problem is not just playing the video clip.
I want to be able select from a list and to play a clip then select another from the list to replace and play another clip in the same page and the same location and be able to select and play randomly until I close the page.
You require a playlist kind of think. Luckily you can add a Youtube Playlist on your HTML page. The code is below. This is a iframe code. In the place of list=ID you have to add the actual Youtube playlist ID.
If you want to upload your own videos on the server and then link them to a HTML page then you will require some kind of java script for the same. By default when we click a new link the page refreshes or a new window opens up. And in Javascript you can embeds a player with list options.Code:<iframe src="http://www.youtube.com/embed/videoseries?list=ID" width="100%" height="500" frameborder="0"></iframe>
Bookmarks