Lines Matching full:video

1 /*! lg-video - v1.0.0 - 2016-09-20
35 var Video = function(element) { class
48 Video.prototype.init = function() { class
51 // Event triggered when video url found without poster
53 …_this.core.$slide.eq(index).find('.lg-video').append(_this.loadVideo(src, 'lg-object', true, index…
71 // Set max width for video
73 … _this.core.$slide.eq(index).find('.lg-video-cont').css('max-width', _this.core.s.videoMaxWidth);
81 // check already video element present
82 if (!$el.hasClass('lg-has-video')) {
84 $el.addClass('lg-video-playing lg-has-video');
90 … $el.find('.lg-video').append(_this.loadVideo(_src, '', false, _this.core.index, _html));
125 $el.find('.lg-video').append($tempImg);
128 // for showing the loading indicator while loading video
129 if (!$el.find('.lg-video-object').hasClass('lg-html5')) {
131 $el.find('.lg-video-object').on('load.lg error.lg', function() {
165 $el.addClass('lg-video-playing');
235 _this.core.$slide.eq(prevIndex).removeClass('lg-video-playing');
239 Video.prototype.loadVideo = function(src, addClass, noposter, index, html) {
240 var video = '';
245 // Enable autoplay for first video if poster doesn't exist
261video = '<iframe class="lg-video-object lg-youtube ' + addClass + '" width="560" height="315" src=…
270video = '<iframe class="lg-video-object lg-vimeo ' + addClass + '" width="560" height="315" src="…
279video = '<iframe class="lg-video-object lg-dailymotion ' + addClass + '" width="560" height="315" …
287 video = html;
296video = '<iframe class="lg-video-object lg-vk ' + addClass + '" width="560" height="315" src="http…
300 return video;
303 Video.prototype.destroy = function() {
307 $.fn.lightGallery.modules.video = Video;