Lines Matching full:lg
1 /*! lg-video - v1.0.0 - 2016-09-20
52 _this.core.$el.on('hasVideo.lg.tm', function(event, index, src, html) {
53 …_this.core.$slide.eq(index).find('.lg-video').append(_this.loadVideo(src, 'lg-object', true, index…
57 …videojs(_this.core.$slide.eq(index).find('.lg-html5').get(0), _this.core.s.videojsOptions, functio…
66 _this.core.$slide.eq(index).find('.lg-html5').get(0).play();
72 _this.core.$el.on('onAferAppendSlide.lg.tm', function(event, index) {
73 … _this.core.$slide.eq(index).find('.lg-video-cont').css('max-width', _this.core.s.videoMaxWidth);
79 … if ($el.find('.lg-object').hasClass('lg-has-poster') && $el.find('.lg-object').is(':visible')) {
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));
95 …videojs(_this.core.$slide.eq(_this.core.index).find('.lg-html5').get(0), _this.core.s.videojsOptio…
102 … _this.core.$slide.eq(_this.core.index).find('.lg-html5').get(0).play();
124 var $tempImg = $el.find('.lg-object');
125 $el.find('.lg-video').append($tempImg);
129 if (!$el.find('.lg-video-object').hasClass('lg-html5')) {
130 $el.removeClass('lg-complete');
131 $el.find('.lg-video-object').on('load.lg error.lg', function() {
132 $el.addClass('lg-complete');
138 var youtubePlayer = $el.find('.lg-youtube').get(0);
139 var vimeoPlayer = $el.find('.lg-vimeo').get(0);
140 var dailymotionPlayer = $el.find('.lg-dailymotion').get(0);
141 var html5Player = $el.find('.lg-html5').get(0);
165 $el.addClass('lg-video-playing');
172 _this.core.$el.on('onSlideClick.lg.tm', function() {
179 _this.core.$slide.on('click.lg', function() {
184 _this.core.$el.on('onBeforeSlide.lg.tm', function(event, prevIndex, index) {
187 var youtubePlayer = $videoSlide.find('.lg-youtube').get(0);
188 var vimeoPlayer = $videoSlide.find('.lg-vimeo').get(0);
189 var dailymotionPlayer = $videoSlide.find('.lg-dailymotion').get(0);
190 var vkPlayer = $videoSlide.find('.lg-vk').get(0);
191 var html5Player = $videoSlide.find('.lg-html5').get(0);
227 _this.core.$outer.addClass('lg-hide-download');
230 //$videoSlide.addClass('lg-complete');
234 _this.core.$el.on('onAfterSlide.lg.tm', function(event, prevIndex) {
235 _this.core.$slide.eq(prevIndex).removeClass('lg-video-playing');
261 …video = '<iframe class="lg-video-object lg-youtube ' + addClass + '" width="560" height="315" src=…
270 …video = '<iframe class="lg-video-object lg-vimeo ' + addClass + '" width="560" height="315" src="…
279 …video = '<iframe class="lg-video-object lg-dailymotion ' + addClass + '" width="560" height="315" …
296 …video = '<iframe class="lg-video-object lg-vk ' + addClass + '" width="560" height="315" src="http…