@extends('layouts.admin') @section('head', isset($heroVideo) ? 'Edit Video Hero' : 'Tambah Video Hero') @section('body')

{{ isset($heroVideo) ? 'Edit Video Hero' : 'Tambah Video Hero' }}

Kembali
@csrf @if(isset($heroVideo)) @method('PUT') @endif
@error('title')

{{ $message }}

@enderror
@error('description')

{{ $message }}

@enderror
@if(isset($heroVideo))

Video saat ini: {{ basename($heroVideo->video_path) }}

@endif

Format: MP4, MOV, AVI, WMV. Max: 100MB

@error('video')

{{ $message }}

@enderror
@if(isset($heroVideo) && $heroVideo->thumbnail_path)

Thumbnail saat ini: {{ basename($heroVideo->thumbnail_path) }}

@endif

Format: JPEG, PNG, JPG, GIF. Max: 2MB

@error('thumbnail')

{{ $message }}

@enderror

0 = paling kiri, angka lebih besar = lebih ke kanan

@error('position')

{{ $message }}

@enderror

Centang jika video ini digunakan sebagai background

Centang untuk menampilkan video di halaman utama

@endsection