@extends('layouts.front')
 @section('meta')
    <title>ভিডিও  গ্যালারী</title>
<meta property="og:title" content="ভিডিও গ্যালারী" />
<meta property="og:image" content="{{asset('assets/images/'.$gs->og_baner)}}" />
@endsection

@section('contents')
 
        <div class="main-section" style="overflow: hidden;">
             
           

<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_videoGallery',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="https://img.youtube.com/vi/{{ $row->embed_video}}/mqdefault.jpg" data-src="https://img.youtube.com/vi/{{ $row->embed_video}}/mqdefault.jpg">
                                    <a href="https://www.youtube.com/watch?v={{ $row->embed_video}}" 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->embed_video}}"> {{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="#" 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>

                                 
                
        </div>



  
@endsection