Update HomePageSettings to use file upload for background video: replace text input with FileUpload component, enforce file type and size restrictions, and adjust video source path in the homepage view for proper video display.

This commit is contained in:
nurmuhammet committed 2025-07-28 18:10:07 +05:00
1 parent 2d1c7ea4f9
commit d316f392bc
3 files changed
+8 -6

No files matched your search

@@ -9,7 +9,7 @@
<div class="banner__four">
{{-- BG video --}}
<div class="bg-video">
<video autoplay muted loop id="myVideo"><source src="{{ $homeSettings->bg_video }}" type="video/mp4"></video>
<video autoplay muted loop id="myVideo"><source src="/storage/{{ $homeSettings->bg_video }}" type="video/mp4"></video>
</div>
{{-- Hero --}}