Encode video URLs with encodeURI to make video ajax request work with more complex video URLs, for issue #1125