Pause ended stable

https://github.com/videojs/video.js/pull/1507 except rebased against stable.