Skip to content

Instantly share code, notes, and snippets.

@Magic-Toolbox
Last active June 7, 2024 18:22
Show Gist options
  • Save Magic-Toolbox/760b38f1632f2ce7c0736aabc3c8da7d to your computer and use it in GitHub Desktop.
Save Magic-Toolbox/760b38f1632f2ce7c0736aabc3c8da7d to your computer and use it in GitHub Desktop.
Magic Zoom Plus gallery combined with YouTube and Vimeo videos
@macca-droid
Copy link

Hi - is there a method for incorporating native video in to the scroller <video..> as opposed to Youtube/Vimeo?

@ishugurov
Copy link

ishugurov commented Sep 20, 2022

@macca-droid , you can use video tag inside <div data-slide-id="video-..." class="zoom-gallery-slide video-slide"> ... </div>

@macca-droid
Copy link

thanks @ishugurov I think perhaps the problem is I'm combining with Magic Scroll as well - is it posible to have video in a Magic Zoom/Magic Scroll combination?

@ishugurov
Copy link

thanks @ishugurov I think perhaps the problem is I'm combining with Magic Scroll as well - is it posible to have video in a Magic Zoom/Magic Scroll combination?

Yes, it's possible. Code looks the same but tiny thumbnails list should be wrapped with <div class="MagicScroll">...</div>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment