Multimedia Scripting
The purpose of this lab is to give you some chance to get acquainted with multimedia scripting techniques. You may wish to view the relevant set of functions that can be called for a multimedia object.
Below is an embedded video clip. (Please link to the original, rather than making your own copy on aurora.) Your job is to add the following behavior:
- When the mouse hovers over the video (onMouseOver event), it plays
- When the mouse moves off the video, it stops playing
- If you click the video, it will remain playing even after the mouse moves off
- If you click the video again, it will stop
- BONUS: Add a button to the page that rewinds the video to the start
- SUPER BONUS: Can you create a button that will create a stopmotion effect, advancing the video forward in 1-second increments?