@extends('layouts.front')
 @section('meta')
    <title>{{__('Video Gallery')}}</title>
<meta property="og:title" content="{{__('Video Gallery')}}" />
<meta property="og:image" content="{{asset('assets/images/'.$gs->og_baner)}}" />
@endsection

@section('contents')

<div class="container custom-container">

  <ol class="breadcrumb details-page-breadcrumb video-breadcum">
    <li><a href="#"><i class="fa fa-home"></i></a></li>
    <li class="active"><a href="#"> {{__('Video Gallery')}} </a></li>
  </ol><!--/.details-page-breadcrumb-->

   <div class="row custom-row content_list">
                 @php
				$video2=DB::table('posts')->inRandomOrder()->orderBy('id','DESC')->where('language_id', $default_language->id)->where('is_videoGallery',1)->limit(100000)->get();
				@endphp  
						 
        						                    
										@foreach($video2 as $row)
	   <div class="col-md-3 custom-padding">
      <div class="video-gallery-category">
         <a href="https://www.youtube.com/watch?v={{ $row->embed_video}}">
           <div class="video-category-img">
             <i class="fa fa-video-camera"></i>
             <img class="img-fluid" src="https://img.youtube.com/vi/{{ $row->embed_video}}/mqdefault.jpg" alt="{{strlen($row->title)>40 ? mb_substr($row->title,0,40,"utf-8") : $row->title}}...">
           </div>
           <div class="video-heading">
             <h2>{{strlen($row->title)>40 ? mb_substr($row->title,0,40,"utf-8") : $row->title}}...</h2>
           </div>
         </a>
       </div>
     </div>
      @endforeach  
	 
	 
	 
	 
	 
	 
   </div><!--/.row-->
 </div><!--/.container-->







@endsection