Adding audio files first
The <audio> element is used to add audio files to website units
<audio src="audio/test-audio.ogg">
- src: for audio files path
- controls: "Indicates whether to display controls to the player" No controls are displayed by default
- Autoplay: The sound should play automatically
video-tag
Video> Tag is a number of attributes that allow you to control the resume of the video.
<video src "video/puppy.mp4" Width="400" height="300"controls></video>
- src: Specifies the path to the image file
- Width, Height: Size in pixels
- controls: replay
- autoplay: play the video automatically
Comments