Every now and then I come across an EVP hosted video that will not download with my usual tools
Can you post here what tools you have that allow you to download this video or if you fancy hacking it the source is below
an example is here (he changes what he puts here so please check now and save page to your PC to maintain code
Code:
(function() {
var load = function(url, callback){
if(document.getElementById('evp3-assets')) {
// Let's wait till it's loaded
var i = setInterval(function() {
if(typeof EVP3 == 'undefined') return;
clearInterval(i);
callback();
}, 5);
return;
}
var script = document.createElement('script');
script.id = 'evp3-assets';
script.type = 'text/javascript';
if(script.readyState){
script.onreadystatechange = function() {
if(script.readyState == 'loaded' || script.readyState == 'complete') {
script.onreadystatechange = null;
callback();
}
};
} else {
script.onload = function() { callback(); };
}
script.src = url;
document.getElementsByTagName('head')[0].appendChild(script);
};
load('http://jdblikes.com/video/player/assets.php?v=1.1', function() {
(function($) {
EVP3.players.extend('EVP3.plugins.effectiveness', {
'init': function(evp, file, plugin, file_options) {
this.recordingActive = true;
this.evp = evp;
this.plugin = plugin;
this.file = file;
this.file_options = file_options;
this.fn_list = [];
var klass = this;
this.maximum = 10;
if(this.recordingActive) {
// Now, are we using a playlist? If so, we need to implement this for all videos in a list
if(this.file.playlist) {
this.file.player.api.onPlaylistItem(function(d) {
var idx = d.index;
var entry = klass.file.playlist[idx];
if(!entry || parseInt(entry.raw_duration) <= 0) return false;
klass.detach();
klass.calculate(parseInt(entry.raw_duration));
klass.attach();
});
} else {
this.evp.addEvent('onMetaData', function() {
klass.calculate();
klass.attach();
});
}
}
},
'calculate': function(duration) {
var duration = Math.ceil(duration || this.file.metadata.duration);
if(duration < 10) return; // We won't track videos less than 10 seconds because it gets stupid
var interval = (duration / this.maximum); // Let's fire a maximum of X intervals, so when should they happen?
this.interval = interval;
this.duration = duration;
},
'attach': function() {
var klass = this;
var counter = 1;
for(x = this.interval; x < this.duration; x+=this.interval) {
var fn = function(current_time) {
klass.evp.track('progress', {'uuid': EVP3.settings.uuid, 'time': counter, 'player_time': current_time});
counter++;
};
var obj = {'time': x, 'callback': fn};
klass.fn_list.push(obj);
klass.evp.file.player.onCuepoint(x, fn);
}
},
'detach': function() {
var klass = this;
$.each(klass.fn_list, function(idx, obj) {
klass.evp.file.player.removeCuepoint(obj.time, obj.callback);
});
}
});
})(EVP3.query);
EVP3.files['SW5zdGFncmFtLVdlYmJ5Lm1wNA=='] = {"options":{"auto_play":"1","bar_style":"none","bar_style_custom":"#000000","frame":"no-frame","height":"482","overlay-entrance":"fade","password_protect_background":"#000000","related_image":"http:\/\/evp3-51d5b6ac01d91-c3c667eeac845c8beefb13f2e4877c79.s3.amazonaws.com\/Instagram-Webby-thumbnail-0.jpg","related_image_mode":"nothing","shadow":"no-shadow","skin":"evs-m-1","skin_data":{"skin_height":"28","chapter_bottom":"50","chapter_left":"48","chapter_right":"249"},"splash_height":"141","splash_width":"250","watermark":"http:\/\/jdblikes.com\/video\/player\/images\/no-image.png?v=1","watermark_position":"bottom-left","width":"850","skin_height":"28"},"events":{"Button":{"data":{"event-height":"159px","event-mode":"external","event-point":"during","event-type":"pro","event-width":"822px","overlay-background-colour":"#292929","overlay-entrance":"fade","overlay-opaque":"1","overlay-padding":"1","overlay-position":"bottom","overlay-remove-after":"","overlay-translucent":"1","overlay-trigger-pause":"","widgets":{"2":{"button_seed":"button-5","url":"http:\/\/motraff.com\/josh","widget_idx":"2","widget_pos_height":"132","widget_pos_width":"359","widget_pos_x":"219","widget_pos_y":"0","widget_type":"button"}}},"duration":"1887","duration-string":"31:27","end":"6139","name":"Button","start":"4252","start-string":"70:52"}},"chapters":[],"surveys":[],"widgets":[],"page_widgets":[],"plugins":[{"name":"Effectiveness","slug":"effectiveness","path":"\/home\/jdblikes\/public_html\/video\/player\/plugins\/effectiveness","location":"http:\/\/jdblikes.com\/video\/player\/plugins\/effectiveness\/","config":{"author":{"name":"Unknown","website":"http:\/\/webactix.com","version":"1.0"},"general":{},"name":"Effectiveness","configPrepare":"config.prepare.php"}}],"metadata":{"duration":"6139","nativeHeight":"620","nativeWidth":"1094"},"config":{"source":"2","prettySource":"s3","rtmp_location":"Instagram-Webby.mp4","rtmp_domain":"ssmalpguz261x.cloudfront.net","encoded_location":"aHR0cDovL2V2cDMtNTFkNWI2YWMwMWQ5MS1jM2M2NjdlZWFjODQ1YzhiZWVmYjEzZjJlNDg3N2M3OS5zMy5hbWF6b25hd3MuY29tL0luc3RhZ3JhbS1XZWJieS5tcDQ\/QVdTQWNjZXNzS2V5SWQ9QUtJQUpJRURZRlBNQkJSWjZSR0EmRXhwaXJlcz0xNDIyNzc0NjMyJlNpZ25hdHVyZT01S3JPNDVPYjRlTUs3ZlVRa0tIY2NOUmx6b2slM0Q=","type":"video","trackProgression":"","responsive":"","autoResponsive":"","responsiveOnlyMobile":""},"file_ref":"SW5zdGFncmFtLVdlYmJ5Lm1wNA==","file_id":"SW5zdGFncmFtLVdlYmJ5Lm1wNA==","embed_code":"<script type=\"text\/javascript\" src=\"http:\/\/jdblikes.com\/video\/player\/?id=SW5zdGFncmFtLVdlYmJ5Lm1wNA%3D%3D&container=evp-OU3AJGOZS0\"><\/script><div id=\"evp-OU3AJGOZS0\" data-role=\"evp-video\" data-evp-id=\"SW5zdGFncmFtLVdlYmJ5Lm1wNA==\"><\/div>","encoded_download_url":"aHR0cDovL2V2cDMtNTFkNWI2YWMwMWQ5MS1jM2M2NjdlZWFjODQ1YzhiZWVmYjEzZjJlNDg3N2M3OS5zMy5hbWF6b25hd3MuY29tL0luc3RhZ3JhbS1XZWJieS5tcDQ=","children":{"480x360":{"child_type":"480x360","extension":"mp4","hasIntro":"","encoded_location":"aHR0cDovL2V2cDMtNTFkNWI2YWMwMWQ5MS1jM2M2NjdlZWFjODQ1YzhiZWVmYjEzZjJlNDg3N2M3OS5zMy5hbWF6b25hd3MuY29tL0luc3RhZ3JhbS1XZWJieS00ODB4MzYwLm1wND9BV1NBY2Nlc3NLZXlJZD1BS0lBSklFRFlGUE1CQlJaNlJHQSZFeHBpcmVzPTE0MjI3NzQ2MzImU2lnbmF0dXJlPUVGT2tVRlZvZ3ZPbDYzbHREaVhSdVZ5ejkwTSUzRA=="}},"thumbnails":["http:\/\/evp3-51d5b6ac01d91-c3c667eeac845c8beefb13f2e4877c79.s3.amazonaws.com\/Instagram-Webby-thumbnail-0.jpg","http:\/\/evp3-51d5b6ac01d91-c3c667eeac845c8beefb13f2e4877c79.s3.amazonaws.com\/Instagram-Webby-thumbnail-1.jpg","http:\/\/evp3-51d5b6ac01d91-c3c667eeac845c8beefb13f2e4877c79.s3.amazonaws.com\/Instagram-Webby-thumbnail-2.jpg","http:\/\/evp3-51d5b6ac01d91-c3c667eeac845c8beefb13f2e4877c79.s3.amazonaws.com\/Instagram-Webby-thumbnail-3.jpg","http:\/\/evp3-51d5b6ac01d91-c3c667eeac845c8beefb13f2e4877c79.s3.amazonaws.com\/Instagram-Webby-thumbnail-4.jpg","http:\/\/evp3-51d5b6ac01d91-c3c667eeac845c8beefb13f2e4877c79.s3.amazonaws.com\/Instagram-Webby-thumbnail-5.jpg","http:\/\/evp3-51d5b6ac01d91-c3c667eeac845c8beefb13f2e4877c79.s3.amazonaws.com\/Instagram-Webby-thumbnail-6.jpg","http:\/\/evp3-51d5b6ac01d91-c3c667eeac845c8beefb13f2e4877c79.s3.amazonaws.com\/Instagram-Webby-thumbnail-7.jpg","http:\/\/evp3-51d5b6ac01d91-c3c667eeac845c8beefb13f2e4877c79.s3.amazonaws.com\/Instagram-Webby-thumbnail-8.jpg","http:\/\/evp3-51d5b6ac01d91-c3c667eeac845c8beefb13f2e4877c79.s3.amazonaws.com\/Instagram-Webby-thumbnail-9.jpg"],"coverphoto":""}; EVP3.settings.uuid = 'd98fcd3e9d11f2bd1cbd9a0f948734c0';
EVP3.settings.location = 'http://jdblikes.com/video';
EVP3.settings.dynamic_location = 'http://jdblikes.com/video';
EVP3.settings.api_location = 'http://jdblikes.com/video/api.php';
new EVP('evp-OU3AJGOZS0', 'SW5zdGFncmFtLVdlYmJ5Lm1wNA==', 'jwplayer-5.10');
if(typeof window.evpAssetsReady == 'function') window.evpAssetsReady();
});
})();