+ 1

How do I embed videos and music from my phone onto an HTML5 file? Thanks!

1st Jan 2018, 2:33 AM
Kevin Thron
2 Answers
+ 10
put the video ,audio and html file inside a folder then use <audio src="your_audio.mp3"/> for audio, where your_audio is your audio file name and use <video src="your_video.mp4"/> for video where your_video is the video file name ......well hope this help...
1st Jan 2018, 3:40 AM
Leon lit
Leon lit - avatar
+ 5
You can do this <audio src = "complete-file-path"> while just use video tag for video. But if you are using an online source then you must type the link in the src attribute.
1st Jan 2018, 4:44 AM
Harsh
Harsh - avatar