<?php $__env->startSection('title',$video->name.' - '. config('settings.site_title', 'Varsayılan Başlık')); ?>
<?php $__env->startSection('description',$video->short_description ?? config('settings.site_description', 'Varsayılan Başlık')); ?>
<?php $__env->startSection('image',config('settings.site_url', 'Varsayılan Başlık').'/uploads/images/news/'.date("Y/m/d", strtotime($video->date)).'/'.$video->video_image); ?>



<?php $__env->startSection('content'); ?>

<div class="news-page-custom custom-page-news"  id="site-content" style="background: #fff;padding-left:0px; padding-right: 0px;">
    
    <div class="newsPage container">
          <div class="container mt-5" style="margin-top:30px !important;padding-left:0px; padding-right: 0px;">
          <div class="section-header">
            <h2>VİDEOLAR</h2>
            <div class="line" style="background-color:#FF0000"></div>
          </div>
        </div>

        <div class="row">
            <div class="col-md-12">
                    <nav aria-label="breadcrumb">
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="/video-galeri" title="Video Galeri">Video Galeri</a></li>
                <li class="breadcrumb-item active" aria-current="page"><?php echo e($video->name); ?></li>
            </ol>
        </nav>
            </div>
        </div>



        <div class="row" style="margin-top:20px">
            <div class="col-md-9">

                 <div class="row">
        <div class="col-12">
            <div class="d-flex justify-content-between align-items-center">
                <div class="row" style="width:100%">
                    <div class="col-md-9">
                        <div class="article-title"><h1 class="article-title "><?php echo e(ltrim($video->name)); ?></h1></div>

                    </div>                  
                </div>
            </div>
        </div>
    </div>

    <div class="row">
                            <div class="col-12">
                                <div class="article-sub-content">
                                    <h2 class="article-sub-content"><?php echo $video->short_description; ?></h2>
                                </div>
                            </div>
                        </div>
    <div class="row align-items-center">
    <!-- Tarih Bilgisi -->
    <div class="col-md-8 d-flex newsDates">
      <span>Giriş: <?php echo e($video->date); ?> <?php echo e($video->time); ?></span>
    </div>

    <!-- Paylaşım Simgeleri -->
    <div class="col-md-4 text-end d-flex justify-content-end align-items-center">
      <span class="me-2 newsShare">Paylaş</span>
      <span class="divider"></span>
          <a href="https://www.facebook.com/sharer/sharer.php?u=<?php echo e(url('video/'.$video->slug)); ?>" target="_blank" class="mx-2 newsShareIcon">
    <i class="bi bi-facebook"></i>
</a>
<a href="https://twitter.com/intent/tweet?url=<?php echo e(url('video/'.$video->slug)); ?>" target="_blank" class="mx-2 newsShareIcon">
    <i class="bi bi-twitter"></i>
</a>
<a href="https://www.linkedin.com/shareArticle?url=<?php echo e(url('video/'.$video->slug)); ?>" target="_blank" class="mx-2 newsShareIcon">
    <i class="bi bi-linkedin"></i>
</a>
<a href="https://api.whatsapp.com/send?text=<?php echo e(url('video/'.$video->slug)); ?>" target="_blank" class="mx-2 newsShareIcon">
    <i class="bi bi-whatsapp"></i>
</a>
<a href="https://t.me/share/url?url=<?php echo e(url('video/'.$video->slug)); ?>" target="_blank" class="mx-2 newsShareIcon">
    <i class="bi bi-telegram"></i>
</a>
    </div>
  </div>
                

    <div class="row">
        <div class="col-12">
            <div class="article-content">
                <?php if(isset($video->iframe_link)): ?>
                <iframe id="frame-video" frameborder="0" allowfullscreen="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" title="Bursa Yıldırımspor’da hedef Alanya Kestelspor (Özel Haber)" src="<?php echo e($video->iframe_link); ?>" data-gtm-yt-inspected-9="true"></iframe>
                <?php endif; ?>
                  <?php if($video->video!=""): ?>
              <video
                id="my-video"
                class="video-js"
                controls
                preload="auto"
                width="640"
                height="500"
                poster="<?php echo e(env('PANEL_URL')); ?>/uploads/images/news/<?php echo e(date("Y/m/d", strtotime($video->date))); ?>/<?php echo e($video->video_image); ?>"
                data-setup="{}"
              >
                <source src="/uploads/videos/<?php echo e($video->video); ?>" type="video/mp4" />
                </video>
                <?php endif; ?>

            </div>
        </div>
    </div>

    <!-- Article Footer -->


    <div class="row">
        <div class="col-12 article-footer">
    <?php if(isset($video->tag)): ?>
    <?php 

    $tagParcala=explode(',',$video->tag);

    ?>
            <div class="article-tags">
            <?php $__currentLoopData = $tagParcala; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tag): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <a href="#"><?php echo e($tag); ?></a>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
            <?php endif; ?>
        </div>
    </div>

      <div class="container newseight" style="margin-top:20px">
            <div class="container mt-5">
        <div class="section-header">
            <h2><?php echo e($category->name); ?></h2>
            <div class="line" style="background-color:#<?php echo e($category->color); ?>"></div>
        </div>
    </div>
        <div class="row"  style="margin-top:20px">
           <?php $__currentLoopData = $categoryhaberlerNews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ekonomikhaberNews): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="col-md-4">
                 <div class="news-card">
            <a href="/video/<?php echo e($ekonomikhaberNews->slug); ?>" title="<?php echo e($ekonomikhaberNews->name); ?>"><img src="<?php echo e(env('PANEL_URL')); ?>/uploads/images/news/<?php echo e(date("Y/m/d", strtotime($ekonomikhaberNews->date))); ?>/<?php echo e($ekonomikhaberNews->video_image); ?>" style="height:165px"></a>
            <div class="news-badge"style="background-color:#<?php echo e($ekonomikhaberNews->category->color); ?> !important;"><?php echo e($ekonomikhaberNews->category->name); ?></div>
             <div class="card-body"> <a href="/video/<?php echo e($ekonomikhaberNews->slug); ?>" title="<?php echo e($ekonomikhaberNews->name); ?>"><div class="news-title"><?php echo e($ekonomikhaberNews->name); ?></div></a></div>
        </div>
            </div>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            
           
        </div>
    </div>


            </div>
            <div class="col-md-3">
                <div class="row">
                    <div class="col-md-12 ads">   <?php echo showAd('903'); ?> </div>
                    <div class="col-md-12" style="margin-top:20px">
                        
                         <div class="row">
        <div class="col-12">
           <div class="section-header" style="display: contents;">
                    <h2>En Çok İzlenen Videolar</h2>
                    <div class="line" style="background-color:#FF0000;     margin-top: 5px;"></div>
                  </div>


        <div class="row">
            <?php $__currentLoopData = $recentNews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $videoOne): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <a href="/video/<?php echo e($videoOne->slug); ?>" title="<?php echo e($videoOne->name); ?>" style="text-decoration: none;"  ><div class="program-card" >
            <img src="<?php echo e(env('PANEL_URL')); ?>/uploads/images/news/<?php echo e(date("Y/m/d", strtotime($videoOne->date))); ?>/<?php echo e($videoOne->video_image); ?>" alt="<?php echo e($videoOne->name); ?>">
            <div class="program-info">
                <div class="program-title"><?php echo e($videoOne->name); ?></div>
            </div>
        </div></a>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>



        </div>
        </div>
    </div>
   

                    </div>

                   
                </div>


            </div>
        </div>
    </div>

</div>
</div>

<?php $__env->stopSection(); ?>


<style>
    
.program-title{
        display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


</style>



<?php echo $__env->make('layout.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/adana/public_html/resources/views/video.blade.php ENDPATH**/ ?>