Displaying videos directly from link from symfony cast website without downloading.
This commit is contained in:
@@ -17,12 +17,12 @@
|
||||
@endif
|
||||
</div>
|
||||
<div class="col">
|
||||
@if($chapter->is_video_file)
|
||||
<div class="d-flex justify-content-center">
|
||||
<video class="mx-auto" width="500" controls>
|
||||
<source src="{{ $chapter->video_url }}" type="video/mp4"/>
|
||||
<source src="{{ $videoUrl }}" type="video/mp4"/>
|
||||
</video>
|
||||
</div>
|
||||
@if($chapter->is_video_file)
|
||||
@endif
|
||||
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user