Φορτίστε παράλληλα 2 συσκευές από 1 καλώδιο.
Διπλό βύσμα Micro USB
20 εκατοστά
$(document).ready(function(){
console.log('ready');
$("span.row-6741ac87a2864").on('re-calculate', function(){
var content = $(".row-6741ac87a2864").closest('.block-container');
content.css('position','');
content.css('z-index','');
content.css('left','');
content.css('width','');
content.css('padding-left','');
content.css('padding-right','');
var width_content = content.outerWidth();
var row_stretch = '';
var background_video = '0';
var background_video_link = '';
if(row_stretch !== ''){
var left = content.offset().left;
var width_window = $(window).width();
var right = width_window - left - content.width();
content.css('position','relative');
content.css('z-index','2');
var direction = $('body').css('direction');
if(direction == 'rtl'){
content.css('right','-'+right+'px');
} else {
content.css('left','-'+left+'px');
}
content.css('width',width_window+'px');
width_content = width_window;
if(row_stretch === 'stretch_row'){
content.css('padding-left',left+'px');
content.css('padding-right',right+'px');
}
}
if(background_video_link && background_video){
var video = $('.video-6741ac87a2864');
var height_content = content.outerHeight();
var width = height_content/9*16;
var height = height_content;
if(width < width_content){
width = width_content;
height = width/16*9;
var margintop = (height-height_content)/2;
}
else{
var margintop = 0;
}
var marginleft =(width - width_content)/2;
video.find('iframe').css('height',height+'px');
video.find('iframe').css('width',width+'px');
video.find('iframe').css('max-width','1000%');
video.find('iframe').css('margin-left','-'+marginleft+'px');
video.find('iframe').css('margin-top','-'+margintop+'px');
}
})
$("span.row-6741ac87a2864").trigger('re-calculate');
});
$(window).on('resize', function(){
setTimeout(function(){$("span.row-6741ac87a2864").trigger('re-calculate');},250);
});