Video
To add video from YouTube or Vimeo just link to the video page:
<div class="fotorama">
<a href="https://youtube.com/watch?v=C3lWwBslWqg">Desert Rose</a>
<a href="https://vimeo.com/61527416">Celestial Dynamics</a>
</div>
Video example (new window):
Fotorama will automatically fetch the splash images. Link format is not strict — https://youtu.be/C3lWwBslWqg
and https://player.vimeo.com/video/61527416
are also good.
For a custom splash image:
<div class="fotorama">
<a href="https://youtube.com/watch?v=C3lWwBslWqg">
<img src="desert-rose.jpg">
</a>
</div>
Add a separate thumbnail using this formula:
<div class="fotorama" data-nav="thumbs">
<a href="https://youtube.com/watch?v=C3lWwBslWqg" data-img="desert-rose.jpg">
<img src="desert-rose_thumb.jpg">
</a>
</div>
Custom video
You can also add any video if you have iframe link and previews. Here are the Dailymotion videos:
<div class="fotorama">
<a href="https://dailymotion.com/embed/video/xxgmlg?autoplay=1"
data-video="true">
<img src="xxgmlg_preview.jpg">
</a>
<a href="https://dailymotion.com/embed/video/xu4jqv?autoplay=1"
data-video="true">
<img src="xu4jqv_preview.jpg">
</a>
</div>
Example: Custom video