Arreglado fallo en VideoSlider (no salta el evento al terminar la reproducción)
git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@71 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
parent
0ce9f663ab
commit
6269732080
@ -173,11 +173,10 @@
|
||||
this._lastInOrder = false;
|
||||
}
|
||||
|
||||
if(this._lastInOrder){
|
||||
if(this._lastInOrder){
|
||||
self.trigger('ap_PlaylistManager.PLAYLIST_END');
|
||||
|
||||
}else{
|
||||
self.trigger('ap_PlaylistManager.COUNTER_READY');
|
||||
self.trigger('ap_PlaylistManager.COUNTER_READY');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -262,16 +262,20 @@
|
||||
});
|
||||
|
||||
var pm_settings = {'randomPlay': this.randomPlay, 'loopingOn': this.loopingOn};
|
||||
|
||||
this._playlistManager = $.playlistManager(pm_settings);
|
||||
|
||||
$(this._playlistManager).bind('ap_PlaylistManager.PLAYLIST_END', function(){
|
||||
self._disableActiveItem();
|
||||
self.settings.videoGalleryPlaylistEnd.call(this);
|
||||
|
||||
});
|
||||
|
||||
$(this._playlistManager).bind('ap_PlaylistManager.COUNTER_READY', function(){
|
||||
self._disableActiveItem();
|
||||
self._findMedia();
|
||||
});
|
||||
$(this._playlistManager).bind('ap_PlaylistManager.PLAYLIST_END', function(){
|
||||
self._disableActiveItem();
|
||||
self.settings.videoGalleryPlaylistEnd.call(self);
|
||||
});
|
||||
|
||||
|
||||
if(this._playlistOutside) this._setComponents();
|
||||
|
||||
if(this.isMobile){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user