@extends('admin.layout') @section('custom-style') @endsection @section('content') Videos Video Edit 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()}} Video Title* Video Sub Title Video Slug Viewer Age Rating* Select Rating for video @if(isset($ratings)) @foreach($ratings as $rating) rating_id == $rating->id) selected @endif>{{ $rating->name }} @endforeach @endif PPV Listing Type* Select video listing type ppv_listing_type == 'Pay Per View') selected @endif>Pay Per View ppv_listing_type == 'Free View') selected @endif>Free View Video Description {{$video->description}} Select Category @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 Select Country* @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')) Status* status == 'Active') selected @endif>Live status == 'Inactive') selected @endif>Paused @endif Video Portrait Thumbnail(Portrait - 1250 * 1333 MX - 2MB)* Video Thumbnail Preview (Portrait) thumbnail" }}" alt="Video Thumbnail"> Video Thumbnail (Landscape - 1280 * 720 MX - 2MB)* Live Stream Preview (Landscape) landscape_thumbnail" }}" alt="Video Thumbnail" style="max-width:100% !important;"> @endsection @section('custom-scripts') @endsection