Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed (UPI) Chapter 10: Enhancing Web Pages with Audio and Video!
Instruction
Common Attributes for Audio and Video Elements
Here are some useful attributes you can add for additional control:
src: URL of the media file.
width and height: Set the width and height of the video in pixels. These attributes are mostly used for videos.
preload: Controls whether the media file preloads:
none (default) — Browser won't preload any data.
metadata — Only metadata (like dimensions or track list) will load.
auto — ...