CPSC 1045 Lecture Notes - Web Storage, Autofocus, Autocomplete
Document Summary
Video attribute: defining the default state of the audio. autoplay, value: autoplay video attribute: video will play when ready. controls, value: controls. Video attribute: controls will be displayed. height&width, value: pixels video attribute: sets dimension of the video player. loop, value loop poster, value url the video. Video attribute: video plays again every time it finishes. Video attribute: specifies the url of an image representing preload, value preload. Video attribute: video will be loaded at page load, and ready to run. src, value url. Video attribute: the url of the video to play. ******instead of writing audio attribute just write autoplay, value: autoplay audio attribute: audio will play when ready. controls, value: controls. Audio attribute: controls will be displayed. loop, value loop. Audio attribute: video plays again every time it finishes. preload, value preload. Audio attribute: audio will be loaded at page load, and ready to run. src, value url. Audio attribute: specifies the url of the audio to play.