Handling the case when there is no video yet, locally or online.
This commit is contained in:
@@ -17,12 +17,14 @@
|
||||
@endif
|
||||
</div>
|
||||
<div class="col">
|
||||
@if($videoUrl)
|
||||
<div class="d-flex justify-content-center">
|
||||
<video class="mx-auto" width="500" controls>
|
||||
<source src="{{ $videoUrl }}" type="video/mp4"/>
|
||||
</video>
|
||||
</div>
|
||||
@if($chapter->is_video_file)
|
||||
@else
|
||||
no video
|
||||
@endif
|
||||
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user