video: remove transition change

cap
Varun Patil 2022-12-06 21:21:35 -08:00
parent 65c0b27f37
commit f0fdaa7c0a
1 changed files with 0 additions and 9 deletions

View File

@ -99,15 +99,6 @@ class VideoContentSetup {
pswp.on("close", () => { pswp.on("close", () => {
if (isVideoContent(pswp.currSlide.content)) { if (isVideoContent(pswp.currSlide.content)) {
// Switch from zoom to fade closing transition,
// as zoom transition is choppy for videos
if (
!pswp.options.showHideAnimationType ||
pswp.options.showHideAnimationType === "zoom"
) {
pswp.options.showHideAnimationType = "fade";
}
// prevent more requests // prevent more requests
this.destroyVideo(pswp.currSlide.content); this.destroyVideo(pswp.currSlide.content);
} }