@extends('admin.layout') @section('custom-style') @endsection @section('content')

Videos

Edit Video

@if ($errors->any())
@foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
    @endif @if(\Session::has('error'))
  • {!! \Session::get('error') !!}
  • @endif @if(\Session::has('success'))
  • {!! \Session::get('success') !!}
  • @endif
    {{csrf_field()}}
    @if($categories) @foreach($categories as $category)
    id, array_column($video->getCategories->toArray(), 'category_id')) !== false) checked @endif>
    @if(count($category->subcategory)) @include('admin.video.video-sub-category-edit',['subcategories' => $category->subcategory]) @endif @endforeach @endif
    @if(isset($countries))
    @foreach($countries as $country)
    id == 240) id="all_countries_checkbox" onclick="disbaleAllOtherCountrysCheckboxes()" @else class="countrys_checkbox" @endif @if(str_contains($video->countries, $country->id)) checked @endif>
    @endforeach
    @endif
    @if(check_Permission('Video Gallery', 'approve_video'))
    @endif
    thumbnail" }}" alt="Video Thumbnail">
    landscape_thumbnail" }}" alt="Video Thumbnail" style="max-width:100% !important;">
    @endsection @section('custom-scripts') @endsection