fix api dataset

This commit is contained in:
Constantin Plaiasu 2024-08-25 21:02:43 +03:00
parent 47e31cf0de
commit 5c4a4e42f1

View file

@ -18,7 +18,7 @@
{{-- {!! getMovieMarkupData($movie) !!} --}}
{{-- @endsection --}}
@section('app')
<section class="inner-hero bg_img dark--overlay lazy main-watch" data-id="{{ $movie['id'] }}" data-type="">
<section class="inner-hero bg_img dark--overlay lazy main-watch" data-id="{{ $movie['id'] }}" data-type="movie">
<picture style="position: absolute; width:100%; top:0; min-height:720px">
@if(isset($movie['backdrop']) && $movie['backdrop'] !== '')
<source type="image/webp" data-srcset="{{img_url('w1280', $movie['backdrop_path'], true, 400, 225 )}} 576w, {{img_url('w1280', $movie['backdrop_path'], true, 1280, 720 )}} 1200w">