@extends('layouts.app') @section('title', $video->title . ' - VideoHub') @section('content')
Voltar para Home
{{ $video->category->name }} {{ $video->level_text }}

{{ $video->title }}

{{ $video->description }}

{{ number_format($video->views_count) }} visualizações
{{ $video->comments->count() }} comentários
Duração: {{ $video->duration }}
@if($videoView && $videoView->watch_time > 0)
Assistido: {{ $videoView->formatted_watch_time }}
@endif
Carregando...
0:00 / {{ $video->duration }}
@if($videoView && $videoView->completed)
Vídeo Assistido
@endif
{{ $videoView ? $videoView->progress_percentage : 0 }}% completo

Carregando vídeo...

Progresso do Vídeo 0:00 assistido

Comentários {{ $video->comments->count() }}

@csrf
Comentário em: 0:00 0/500
@forelse($video->comments as $comment)
@if($comment->user_id === auth()->id()) @endif
{{ $comment->user->name }}

{{ $comment->user->name }}

{{ $comment->formatted_timestamp }}

{{ $comment->content }}

{{ $comment->created_at->format('d/m/Y H:i') }}

@empty

Nenhum comentário ainda.

Seja o primeiro a comentar!

@endforelse
@push('scripts') @endpush @endsection