<?php if(!empty($url)): ?>
    <div
        <?php if(! $width && ! $height): ?>
            style="position: relative; display: block; height: 0; padding-bottom: 56.25%; overflow: hidden;"
        <?php else: ?>
            style="margin-bottom: 20px;"
        <?php endif; ?>
    >
        <iframe
            src="<?php echo e($url); ?>"
            <?php if(! $width && ! $height): ?>
                style="position: absolute; top: 0; bottom: 0; left: 0; width: 100%; height: 100%; border: 0;"
            <?php endif; ?>
            allowfullscreen
            frameborder="0"
            <?php if($height): ?>
                height="<?php echo e($height); ?>"
            <?php endif; ?>

            <?php if($width): ?>
                width="<?php echo e($width); ?>"
            <?php endif; ?>
            title="Video"
        ></iframe>
    </div>
<?php endif; ?>
<?php /**PATH /home/gyannewsoftware/public_html/realestate13_FlexHome/platform/packages/theme/resources/views/shortcodes/youtube.blade.php ENDPATH**/ ?>