File manager - Edit - /home/matthif/www/wp-content/plugins/advanced-gutenberg/assets/blocks/advvideo/lightbox.js
Back
jQuery(document).ready(function ( $ ) { $('.advgb-video-lightbox').colorbox({ title: function () { return null; }, maxWidth: '90%', maxHeight: '85%', fixed: true, className: 'advgb_lightbox', innerWidth: '80%', innerHeight: '80%', iframe: function () { return $(this).data('source') !== 'local'; }, href: function () { if ($(this).data('source') === 'local') return false; return $(this).data('video'); }, html: function () { if ($(this).data('source') !== 'local') return false; let videoAttributesStr = $(this).data('video-attr'); let videoPreload = $(this).data('video-preload'); let videoAttributes = videoAttributesStr.replace(/,/g, ' '); return '<video src="'+ $(this).data('video') +'" '+videoAttributes+' preload="'+videoPreload+'" style="height: 99%; width: 100%; display: block; margin: auto"></video>'; } }) });
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Generation time: 0 |
proxy
|
phpinfo
|
Settings