<?php $__env->startSection('content'); ?>
    <style>
        .prdt-v {
            display: flex;
            flex-wrap: wrap;
        }

        .prdt-v li {
            width: 45%;
        }

        .prdt-v li:first-child {
            width: 100%;
        }

        span.pr-d {
            font-weight: 600;
            color: #05938e;
            min-width: 330px;
            display: flex;
        }
    </style>
    <link href="https://vjs.zencdn.net/7.20.3/video-js.css" rel="stylesheet" />
    <div class="common-content" style="overflow-x: hidden;">
        <div class="page-content">
            <div class="page-heading">
                <div class="headings">
                    <h6>Product Listing</h6>
                </div>
            </div>
            <div class="wraper">
                <div class="product-display">
                    <ul>
                        <li>
                            <div class="details">
                                <div class="dashboard-cnts">
                                    <ul class="prdt-v">
                                        <?php if($productDetails->product_name): ?>
                                            <li style="font-weight: 600;font-size: 20px;">
                                                <?php echo e($productDetails->product_name); ?></li>
                                        <?php endif; ?>
                                        <?php if($productDetails->product_code): ?>
                                            <li><span class="pr-d">Product Code:</span>
                                                <?php echo e($productDetails->product_code); ?></li>
                                        <?php endif; ?>
                                        <?php if($productDetails->masterProductDetails->product_name): ?>
                                            <li><span class="pr-d">Product Master
                                                    Category:</span><?php echo e($productDetails->masterProductDetails->product_name); ?>

                                            </li>
                                        <?php endif; ?>
                                        <?php if($productDetails->categoryDetails->category): ?>
                                            <li><span class="pr-d">Product
                                                    Category:</span><?php echo e($productDetails->categoryDetails->category); ?></li>
                                        <?php endif; ?>
                                        <?php if($productDetails->product_description): ?>
                                            <li><span class="pr-d">Product
                                                    Description:</span><?php echo e($productDetails->product_description); ?></li>
                                        <?php endif; ?>
                                        <?php if($productDetails->manufacturerDetails->name): ?>
                                            <li><span
                                                    class="pr-d">Manufacturer:</span><?php echo e($productDetails->manufacturerDetails->name); ?>

                                            </li>
                                        <?php endif; ?>
                                        <?php if($productDetails->performancereport): ?>
                                            <li><span class="pr-d">Performance Report:</span> <a
                                                    href="<?php echo e(url('product_files/' . $productDetails->performancereport)); ?>">View</a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if($productDetails->certificate): ?>
                                            <li><span class="pr-d">Certificate:</span> <a
                                                    href="<?php echo e(url('product_files/' . $productDetails->certificate)); ?>">View</a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if($productDetails->catalogue): ?>
                                            <li><span class="pr-d">Catalogue:</span> <a
                                                    href="<?php echo e(url('product_files/' . $productDetails->catalogue)); ?>">View</a>
                                            </li>
                                        <?php endif; ?>
                                    </ul>
                                </div>
                            </div>
                        </li>
                    </ul>

                </div>
            </div>
            <div class="row">
                <?php if($productDetails->photo): ?>
                    <div class="col-lg-6">
                        Image:<br> <img style="height: 300px; width: 100%;     margin-top: 10px;"
                            src="<?php echo e(url('product_files/' . $productDetails->photo)); ?>" />
                    </div>
                <?php endif; ?>
                <?php if($productDetails->product_video): ?>
                    <div class="col-lg-6">
                        Video:
                        <video id="my-video" class="video-js" controls preload="auto" width="640" height="264"
                            poster="MY_VIDEO_POSTER.jpg" data-setup="{}">
                            <source src="<?php echo e(url('product_files/' . $productDetails->product_video)); ?>" type="video/mp4" />
                            
                            <p class="vjs-no-js">
                                To view this video please enable JavaScript, and consider upgrading to a
                                web browser that
                                <a href="https://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>
                            </p>
                        </video>
                    </div>
                <?php endif; ?>
            </div>
        </div>
    <?php $__env->stopSection(); ?>
    <?php $__env->startSection('scripts'); ?>
        <script src="https://vjs.zencdn.net/7.20.3/video.min.js"></script>
    <?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/meddbot/public_html/resources/views/vendors/viewvendorproducts.blade.php ENDPATH**/ ?>