@use('App\Filters\Forms\User\VideoFiltersForm') @extends('layouts.user') @section('title', 'Channel videos') @section('content') @if($videos->total() || request()->all())
{{ Breadcrumbs::render('videos') }}

My Videos


{!! form(FormBuilder::create(VideoFiltersForm::class)) !!}
@csrf @method('DELETE')
@forelse($videos as $video) @empty @endforelse
Video Status Date Views Category Comments Interactions Actions
@include('users.videos.partials.thumbnail')
{{Str::limit($video->title, 100), '...'}}
{{Str::limit($video->description, 75), '...'}}
{{$video->duration}} - @size($video->size)
@include('videos.status') @if($video->is_private || $video->is_unlisted || $video->is_draft|| $video->is_failed) {{$video->created_at->format('d F Y H:i')}}
Uploaded
@elseif($video->is_planned) {{$video->scheduled_date->format('d F Y H:i')}}
Scheduled
@else {{$video->publication_date->format('d F Y H:i')}}
Published
@endif
@if($video->is_created) @if($video->views_count) {{trans_choice('views', $video->views_count)}} @else
No views
@endif @endif
@if($video->is_created) @if($video->category)
{{$video->category->title}}
@else
No category
@endif @endif
@if($video->is_created) @if($video->comments_count) {{trans_choice('comments', $video->comments_count)}} @else
No comments
@endif @if(!$video->allow_comments)
Disabled
@endif @endif
@if($video->is_created) @include('users.partials.interactions', ['item' => $video])
@if($video->interactions_count)
Details
@endif @if(!$video->show_likes)
Disabled
@endif
@endif
@can('update', $video) @if($video->is_draft) @else @endif @endcan @if($video->is_created) @endif @can('pin', $video)
@csrf
@elsecan('unpin', $video)
@csrf
@endcan @can('download', $video) @endcan

No matching videos

{{ $videos->links() }} @include('users.videos.modals.delete') @include('videos.modals.interactions') @include('users.videos.modals.mass-delete')
@else
Import your first video
Ready to share your talents with the world ?
@endif @endsection