0

How to insert a media in a webpage...with audio and video..??

It is a way to insert media in ur webpage according to your wish... media like audio and video.. Following is the code :- <html> <head> <title> </title> <style> <!--for any further modifications--> </head> <body> <!--for any further modifications--> <h2>Mp3 player </h2> <audio controls autoplay> <source src="link of mp3 file" type="audio/mpeg"></audio> <h2>Video Player </h2> <video width="as per required" height="as per required" controls> <source src="link to video file" type="video/mp4"> </video>

26th Jun 2017, 1:34 PM
Shubh Pratap Singh
Shubh Pratap Singh - avatar
1 Antwort
+ 1
You can upload videos to YouTube, then embed them with an <iframe> tag that YouTube will generate for you to simply paste it into your HTML.
16th Jul 2017, 12:12 AM
James
James - avatar