Fix timeouts
Added tests for xhr timeouts
Fixed lint errors
Minor url change
Updated test
Simplified test
Removed extra stuff from test
Cleanup the current source when loading a new one
If src() is called when a src is already loaded, make sure to abort any outstanding work and reset the state of the SourceBuffer. Switching sources after initial load occasionally caused weird audio and video artifacts because the underlying decoder was working from the old state.
Merge pull request #165 from videojs/hotfix/src-change

Cleanup the current source when loading a new one
Set responseText from server on error to use as a custom information
Added a test for error.responseText
Merge pull request #166 from videojs/responsetext-errors

return responseText in errors
Moved XHR test to separate file
Merge pull request #151 from amfr/fix_timeouts

Fix timeouts
Write out audio metadata frequently. Fixes #169.
If the source was switched among variant playlists that have different audio sampling rates and the initial audio metadata tag skipped, audio would dissapear. Instead, emit an audio meta tag at least once per second so that the decoder can get back on track after a change. Fix typo that caused audio DTS not to be written out properly.
Merge pull request #171 from videojs/hotfix/more-audio-meta

Write out audio metadata frequently. Fixes #169.
Merge branch 'master' into feature/mid-segment-switch