Кто может поделиться?
Вот такой код у меня отображает видео не по центру экрана, и iframe видео без размеров:
getVideo(id, function (response) {
$.fancybox({
// hide the related video suggestions and autoplay the video
//'href' : this.href.replace(new RegExp('watch\\?v=', 'i'), 'embed/') + '?rel=0&autoplay=1',
'width' : 640,
'height' : 480,
helpers: {
overlay: {
locked: false
},
title: {
type: 'inside' // to append the html
}
}
});
});