:
$.ajax({
type: 'get',
url : videoUrlFromAnotherDomain,
crossDomain: 'true',
success: function(data) {
var base64 = window.btoa(data);
var newURL = 'data:video/mp4' + ';base64,' + base64;
video.find("source").attr("src", newURL);
}
"video/mp4" newURL.