Use fadeTo instead of fadeIn/fadeOut to avoid having display: none on large video which causes issues when Temasys plugin is used.
This commit is contained in:
parent
ae96b9f365
commit
0fe4999beb
|
@ -267,7 +267,7 @@ function changeVideo(isVisible) {
|
|||
if (isVisible) {
|
||||
LargeVideo.VideoLayout.largeVideoUpdated(currentSmallVideo);
|
||||
|
||||
$('#largeVideoWrapper').fadeIn(300);
|
||||
$('#largeVideoWrapper').fadeTo(300, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -402,7 +402,7 @@ var LargeVideo = {
|
|||
// If for any reason large video was hidden before calling fadeOut
|
||||
// changeVideo will never be called, so we call show() in chain just
|
||||
// to be sure
|
||||
$('#largeVideoWrapper').show().fadeOut(300,
|
||||
$('#largeVideoWrapper').show().fadeTo(300, 0,
|
||||
changeVideo.bind($('#largeVideo'), this.isLargeVideoVisible()));
|
||||
} else {
|
||||
if (currentSmallVideo) {
|
||||
|
|
Loading…
Reference in New Issue