Fix up getting-started samples so they work on more platforms
Created by: davemevans
This week I have been looking at Google's cobalt, and I thought I'd see if I could get dash.js to run on it.
The manual-load-single-video sample works great, but <body onload>
doesn't work to get the application running, so I needed to change it to using an event listener. This should be a harmless on other platforms - I have verified all examples still work in Chrome.
I also noticed that most samples did not have a closing head tag, so I fixed that up.