@if(Session::has('success_message'))
{!! Session::get('success_message') !!}
@endif
@if(Session::has('error_message'))
{!! Session::get('error_message') !!}
@endif
@if ($video->provider != 'tiktok')
@if(strpos(strtolower($video->embed_url), 'youtube.com'))
@include('video.youtube')
@else
@endif
@else
{{-- Tiktok Embed Video --}}
{!! $video->new_embed_url !!}
{{--
{!! $oembed_data->html !!} --}}
@endif
{!! __($video->category->name) !!}
{{ $video->user->name }}
{{ $video->click_counter ?? 0 }}
{{ $video->created_at->diffForHumans() }}
{{-- Ha nem a felhasználóé a videó, akkor megjelenítjük a szavazást || Ha a felhasználóé a videó, és aktív a hozzátartozó verseny akkor megjelenítjük a szavazást, egyébként nem. --}}
@if (!isset($owner_video) || (isset($owner_video) && ($owner_video == false || ($owner_video == true && $video->competition->status == 'active'))))
{{ $video->vote_number }}
{!! __('winnerVideo.voteBox.competitionEnd') !!}
{{-- Szavazás --}}
{{-- {!! RecaptchaV3::field('register') !!} --}}
{!! __('link.sendVote') !!}
{{-- Szavazás üzenetek --}}
{{--
@push('scripts')
@endpush --}}
{{-- Copy To Clipboard --}}
{!! __('button.copyToClipboard') !!}
{{-- Copy To Clipboard üzenetek --}}
{!! __('message.success.copyToClipboard') !!}
{{-- Counter --}}
{{--
@include('video/counter_small')
--}}
@endif
{{-- Recently added videos --}}
{{-- @if ($more_videos->count() == 4)
{!! __('video.list.recentlyAddedList.title') !!}
@forelse ($more_videos as $video)
@include('video.layout.card', ['video' => $video])
@empty
@include('video.layout.empty', ['title' => __('video.notFoundSearch.title'), 'description' => __('video.notFoundSearch.description')])
@endforelse
@endif --}}