How to trigger self.openFullScreen() function into my custom jQuery in Product details page
After spending some time, i found the answer as mentioned below, hope this will help for someone.
<script type="text/javascript">
require([
'jquery',
'fotorama/fotorama',
'underscore',
'matchMedia',
'mage/template',
'text!mage/gallery/gallery.html',
'uiClass',
'mage/translate'
], function ($, fotorama, _, mediaCheck, template, galleryTpl, Class, $t) {
'use strict';
$("#see_thumbnails").on("click" ,function() {
var fotorama = $('.fotorama').fotorama({allowfullscreen: true}).data('fotorama');
fotorama.requestFullScreen();
var $fotoramaDiv = $('.fotorama').fotorama();
$fotoramaDiv.data('fotorama').show(0);
});
});