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>
|
||||
</summary>
|
||||
@if($checkin->note)
|
||||
@if(preg_match("/\[\[[^]]+\]\]/", $checkin->note, $filepath)
|
||||
@if(preg_match("/\[\[[^\]]+\]\]/", $checkin->note, $filepath)
|
||||
@if(preg_match("/\.webm/", $filepath)
|
||||
<video controls>
|
||||
<source src="/{{ $filepath }}" type="video/webm">
|
||||
|
|
Loading…
Reference in a new issue