diff --git a/resources/views/partials/checkins-list.blade.php b/resources/views/partials/checkins-list.blade.php index 6cb08bd..2bb5b85 100644 --- a/resources/views/partials/checkins-list.blade.php +++ b/resources/views/partials/checkins-list.blade.php @@ -7,15 +7,15 @@ @if($checkin->note) @if(preg_match("/\[\[[^\]]+\]\]/", $checkin->note, $filepath)) - @if(preg_match("/\.webm/", $filepath)) + @if(preg_match("/\.webm/", $filepath[0])) - - Your browser doesn't support HTML video. Here is a link to the video instead. + + Your browser doesn't support HTML video. Here is a link to the video instead. - @elseif(preg_match("/\.ogg/", $filepath)) + @elseif(preg_match("/\.ogg/", $filepath[0])) - - Download OGG audio. + + Download OGG audio. @endif @else
Your browser doesn't support HTML video. Here is a link to the video instead.
Download OGG audio.