Fix RegEx
This commit is contained in:
parent
5a529d4db9
commit
ede920ed45
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
<p class="checkin__meta">{!! render_date_difference($checkin->date) !!}</p>
|
<p class="checkin__meta">{!! render_date_difference($checkin->date) !!}</p>
|
||||||
</summary>
|
</summary>
|
||||||
@if($checkin->note)
|
@if($checkin->note)
|
||||||
@if(preg_match("/\[\[[^]]+\]\]/", $checkin->note, $filepath)
|
@if(preg_match("/\[\[[^\]]+\]\]/", $checkin->note, $filepath)
|
||||||
@if(preg_match("/\.webm/", $filepath)
|
@if(preg_match("/\.webm/", $filepath)
|
||||||
<video controls>
|
<video controls>
|
||||||
<source src="/{{ $filepath }}" type="video/webm">
|
<source src="/{{ $filepath }}" type="video/webm">
|
||||||
|
|
Loading…
Reference in a new issue