<div class="lw-whatsapp-preview-message-container">
    <div class="lw-whatsapp-preview">
        <div class="card ">
            <div class="lw-whatsapp-header-placeholder ">
                <?php if($mediaValues['type'] == 'video'): ?>
                <video class="lw-whatsapp-header-video" controls src="<?php echo e($mediaValues['link']); ?>"></video>
                <?php elseif($mediaValues['type'] == 'audio'): ?>
                <audio class="lw-whatsapp-header-audio my-auto mx-4" controls>
                    <source src="<?php echo e($mediaValues['link']); ?>" type="<?php echo e($mediaValues['mime_type'] ?? null); ?>">
                  <?php echo e(__tr('Your browser does not support the audio element.')); ?>

                  </audio>
                <?php elseif(in_array($mediaValues['type'], ['image', 'sticker'])): ?>
                <a class="lw-wa-message-document-link" target="_blank" href="<?php echo e($mediaValues['link']); ?>"><img class="lw-whatsapp-header-image" src="<?php echo e($mediaValues['link']); ?>" alt=""></a>
                <?php elseif($mediaValues['type'] == 'document'): ?>
                <a class="lw-wa-message-document-link" title="<?php echo e(__tr('Document Link')); ?>" target="_blank" href="<?php echo e($mediaValues['link']); ?>"><i class="fa fa-5x fa-file-alt text-white"></i></a>
                <?php endif; ?>
            </div>
            <?php if(isset($mediaValues['caption'])): ?>
            <div class="p-2 lw-plain-message-text"><?php echo $mediaValues['caption']; ?></div>
            <?php endif; ?>
        </div>
    </div>
</div><?php /**PATH /home/agentkoncepts/public_html/resources/views/whatsapp-service/media-message-partial.blade.php ENDPATH**/ ?>