@extends('layouts.front')
@push('css')

@endpush
@section('contents')
  



<section class="videoGallery-page">
            <div class="container">
                <div class="archive-info-cats">
                    <a href="#"><i class="la la-home"> </i> </a>  <i class="la la-chevron-right"></i> ভিডিও গ্যালারী
                </div>
          
                <div class="video-page-content">
                    <div class="row">
                   @php
				$video2=DB::table('posts')->inRandomOrder()->orderBy('id','DESC')->where('is_video',1)->limit(100000)->get();
				@endphp                     

                      
					  
					                     @if ($video2->count()>0)
										@foreach($video2 as $row)
					  <div class="themesBazar-4 themesBazar-m2">
                            <div class="video-page-wrpp">
                                <div class="video-page-image">
                                    <img class="lazyload" src="{{asset('assets/images/logo/'.$gs->lazy_baner)}}" data-src="https://img.youtube.com/vi/{{ $row->video_link}}/mqdefault.jpg">
                                    <a href="https://www.youtube.com/watch?v={{ $row->video_link}}" class="video-pageIcon popup"> <i class="las la-video"></i>  </a>
                                                                   
                                </div>
                                <div class="video-page-title">
                                    <a href="https://www.youtube.com/watch?v={{ $row->video_link}}">{{strlen($row->title)>40 ? mb_substr($row->title,0,40,"utf-8") : $row->title}}...</a>
                                </div>
                                
                            </div>
                        </div>
                                   @endforeach                                
									@else 
										
                                     					  <div class="themesBazar-4 themesBazar-m2">
                            <div class="video-page-wrpp">
                                <div class="video-page-image">
                                    <img class="lazyload" src="{{asset('assets/images/logo/'.$gs->lazy_baner)}}" data-src="https://img.youtube.com/vi//mqdefault.jpg">
                                    <a href="https://www.youtube.com/watch?v=" class="video-pageIcon popup"> <i class="las la-video"></i>  </a>
                                                                   
                                </div>
                                <div class="video-page-title">
                                    <a href="https://www.youtube.com/watch?v=">কোন ভিডিও নেই</a>
                                </div>
                                
                            </div>
                        </div>
 @endif						

                        
                        <div style="text-align: center; display: ruby; margin:20px">  </div>   



             
                       
                    </div>
                    
                   
                   
                   

                </div>

      
              

               
            </div>
        </section>






  
@endsection
@push('js')
<script src="{{asset('assets/front/js/notify.min.js')}}"></script>
<script src="{{asset('assets/front/js/rfront.js')}}"></script>

@endpush