use absolute url for image

This commit is contained in:
rolux 2014-06-06 14:46:02 +03:00
parent e1a8e72f2b
commit e880bf4fcb

View file

@ -10,7 +10,9 @@ pandora.ui.linkVideoDialog = function() {
+ ui.videoPoints[ui.item]['in'] + ',' + ui.videoPoints[ui.item]['in'] + ','
+ ui.videoPoints[ui.item]['out'], + ui.videoPoints[ui.item]['out'],
src = '/' + ui.item + '/480p' + ui.videoPoints[ui.item]['in'] + '.jpg', src = (pandora.site.site.https ? 'https' : 'http') + '://'
+ pandora.site.site.url + '/' + ui.item
+ '/480p' + ui.videoPoints[ui.item]['in'] + '.jpg',
$content = Ox.Element() $content = Ox.Element()
.css({margin: '16px'}) .css({margin: '16px'})