@extends('layouts.admin') @section('title', 'Create Video') @section('content')
← Back to Videos

Create New Video

@csrf
@error('title')
{{ $message }}
@enderror
@error('type')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
Video Source * (Choose one)
Important: Paste ONLY the HTML div structure (the div with data-hash attribute). DO NOT include the <script> tag - it's already loaded globally in the layout.
Example: Copy the HTML div structure from your video provider, but remove the script tag.
@error('player_code')
{{ $message }}
@enderror
OR
Upload an HTML file containing the player code. Max size: 10MB @error('player_code_file')
{{ $message }}
@enderror
OR
Video hash for interactive player (from videosuite-player-wrapper) @error('video_hash')
{{ $message }}
@enderror
OR
YouTube, Vimeo, or direct video URL @error('video_url')
{{ $message }}
@enderror
OR
Max size: 100MB. Supported formats: MP4, WebM, OGG, AVI, MOV @error('video_file')
{{ $message }}
@enderror
Thumbnail (Optional)
@error('thumbnail_url')
{{ $message }}
@enderror
OR
Max size: 5MB. Supported formats: JPEG, PNG, GIF, WebP @error('thumbnail_file')
{{ $message }}
@enderror
@error('class_id')
{{ $message }}
@enderror
@error('subject_id')
{{ $message }}
@enderror
@error('topic')
{{ $message }}
@enderror
@error('genre')
{{ $message }}
@enderror
@error('duration')
{{ $message }}
@enderror
@error('duration_seconds')
{{ $message }}
@enderror
@error('rating')
{{ $message }}
@enderror
@error('age_group')
{{ $message }}
@enderror
Lower numbers appear first @error('order')
{{ $message }}
@enderror
Cancel
@push('scripts') @endpush @endsection