Title
Description
Thumbnail @if (! $video) (image) @endif
@if ($video?->thumbnail)
@endif
@if ($video?->thumbnail_original_url)
View original image
@endif
@if ($video)
Leave blank to keep the current thumbnail.
@endif
Video URL
@if ($video)
Enter a URL to replace the file on all selected servers, or leave blank to keep it. Servers you add get a copy of the current file.
@else
The server downloads this URL and stores the file.
@endif
@php
$selectedServerIds = array_map('strval', old('server_ids', $video ? $video->servers->modelKeys() : $servers->modelKeys()));
$storedPaths = $video?->servers->mapWithKeys(fn ($server) => [$server->id => $server->pivot->path]) ?? collect();
@endphp
Servers
@if ($servers->isEmpty())
No servers yet — add one first.
@else
@foreach ($servers as $server)
id, $selectedServerIds, true))
class="mt-0.5 h-4 w-4 rounded border-neutral-600 bg-neutral-900 text-red-600 focus:ring-red-600"
>
{{ $server->name }}
@if ($storedPaths->has($server->id))
Stored: {{ $storedPaths[$server->id] }}
@endif
@endforeach
The video is stored on every selected server. Viewers stream from one of them at random.
@endif
Categories
@if ($categories->isEmpty())
No categories yet — create one first.
@else
Type to search, click a suggestion to add it.
@endif