Ad Code Installation:
Video Player / XML parsing: (avoid using JS libraries)
- Create a 640x480 HTML video player with standard controls
- Get XML via AJAX:
- Parse XML nodes:
- Set MediaFile node as video player src
- Set ClickThrough node as video player onclick event
- Fire Tracking events at the appropriate time during video playback, mute and pause (create an img element with the src of the Tracking event URL)
- Notes:
- Avoid using JS libraries
- The XML parser should be namspaced “mbrix_parser”
- Demonstrate JS prototyping and inheritance patterns when executing Tracking events