123movies-seo/resources/views/components/player.blade.php

3 lines
384 B
PHP
Raw Normal View History

2024-08-24 23:08:42 +03:00
<video class="w-full aspect-video lazyload" controls crossorigin playsinline data-poster="{{ detect_device()->isMobile() ? img_url('w780', $backdrop_player, true, 780, 439 ) : img_url('w1280', $backdrop_player, true, 1280, 720 ) }}" id="player" data-plyr-config='{"title":"{{$title}}","duration":"{{$runtime*60 + rand(1,58)}}","poster_path":"{{$poster_path??''}}"}'>
</video>