Currently I'm trying convert a external .mp4 file (URL) to blob object using Javascript. Here is my script:
<!DOCTYPE html>
<html>
    <body>
        <video controls="" preload="auto" id="_video"></video>
    </body>
</html>
<script>
function createObjectURL(object) {
    return (window.URL) ? window.URL.createObjectURL(object) : window.webkitURL.createObjectURL(object);
}
function display(videoStream){
    var video = document.querySelector('_video');
    var videoUrl=createObjectURL(videoStream);
    video.src = videoUrl;
}
display('http://vjs.zencdn.net/v/oceans.mp4');
</script>
But I'm getting:
Failed to execute
'createObjectURL' on 'URL': No function was found that matched the signature provided.
Jsfiddle: http://jsfiddle.net/xyzr67Lu/
 
     
    