Multimedia Audio and Video Kyle Hawver BGSOUND element
Multimedia: Audio and Video Kyle Hawver
BGSOUND element Should be placed in the HEAD section of the HTML document l Has 4 key properties: l – SRC – URL of the audio clip – LOOP – Number of times to play – BALANCE between left and right speakers l (-10000 to 10000) – VOLUME (-10000 to 0) EXAMPLE
IMG element’s DYNSRC property l IMG allows both images and videos l DYNSRC indicates the source is a video clip EXAMPLE
EMBED element l Embeds a media clip (audio or video) l Gives the user direct control over the media clip AUDIO EXAMPLE VIDEO EXAMPLE
OBJECT element l Uses Windows Media Player l Several parameters: – File. Name – file containing the media clip – Auto. Start – boolean value – Show. Controls – boolean value – Loop – boolean value EXAMPLE
Real. Player Active. X Control l Use the EMBED element l Can add streaming audio and video EXAMPLE
QUESTIONS l l l What is an advantage of using the EMBED element over the BGSOUND element? (T/F) EMBED element can embed either an audio clip or a video clip. (T/F) The IMG element’s DYNSRC property indicates that the source is an audio clip. What element do you use for streaming audio and video? (T/F) The OBJECT element uses Windows Media Player.
Answers l l l User has more control & EMBED works in Netscape T F EMBED T
- Slides: 8