Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/clinic.corals.io/public/assets/front/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/clinic.corals.io/public/assets/front/js/plugins.fitvids.js
/*!
* FitVids 1.1
*
* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
*
*/
!function (t) {
    'use strict';
    t.fn.fitVids = function (e) {
        var i = { customSelector: null, ignore: null };
        if (!document.getElementById('fit-vids-style')) {
            var r = document.head || document.getElementsByTagName('head')[0],
                a = '.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}',
                d = document.createElement('div');
            d.innerHTML = '<p>x</p><style id="fit-vids-style">' + a +
                '</style>', r.appendChild(d.childNodes[1]);
        }
        return e && t.extend(i, e), this.each(function () {
            var e = [
                'iframe[src*="player.vimeo.com"]',
                'iframe[src*="youtube.com"]',
                'iframe[src*="youtube-nocookie.com"]',
                'iframe[src*="kickstarter.com"][src*="video.html"]',
                'object',
                'embed'];
            i.customSelector && e.push(i.customSelector);
            var r = '.fitvidsignore';
            i.ignore && (r = r + ', ' + i.ignore);
            var a = t(this).find(e.join(','));
            a = a.not('object object'), a = a.not(r), a.each(function (e) {
                var i = t(this);
                if (!(i.parents(r).length > 0 || 'embed' ===
                    this.tagName.toLowerCase() && i.parent('object').length ||
                    i.parent('.fluid-width-video-wrapper').length)) {
                    i.css('height') || i.css('width') ||
                    !isNaN(i.attr('height')) && !isNaN(i.attr('width')) ||
                    (i.attr('height', 9), i.attr('width', 16));
                    var a = 'object' === this.tagName.toLowerCase() ||
                    i.attr('height') && !isNaN(parseInt(i.attr('height'), 10))
                        ? parseInt(i.attr('height'), 10)
                        : i.height(), d = isNaN(parseInt(i.attr('width'), 10))
                        ? i.width()
                        : parseInt(i.attr('width'), 10), o = a / d;
                    if (!i.attr('id')) {
                        var h = 'fitvid' + e;
                        i.attr('id', h);
                    }
                    i.wrap('<div class="fluid-width-video-wrapper"></div>').
                        parent('.fluid-width-video-wrapper').
                        css('padding-top', 100 * o + '%'), i.removeAttr(
                        'height').removeAttr('width');
                }
            });
        });
    };
}(window.jQuery || window.Zepto);

window.SEMICOLON_resizeVideosInit = function ($videoEl) {

    $videoEl = $videoEl.filter(':not(.customjs)');

    if ($videoEl.length < 1) {
        return true;
    }

    $videoEl.parent().fitVids({
        customSelector: 'iframe[src*="youtube"],iframe[src*="vimeo"],iframe[src*="dailymotion"],iframe[src*="maps.google.com"],iframe[src*="google.com/maps"]',
        ignore: '.no-fv',
    });

};

Spamworldpro Mini