Fix video filepath
This commit is contained in:
parent
9a80b94e18
commit
ea35ca38c1
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
@if(preg_match("/\[\[([^\]]+)\]\]/", $checkin->note, $filepath))
|
||||
@if(preg_match("/\.webm/", $filepath[1]))
|
||||
<video controls>
|
||||
<source src="/video/{{ $filepath[1] }}" type="video/webm">
|
||||
<source src="/videos/{{ $filepath[1] }}" type="video/webm">
|
||||
<p>Your browser doesn't support HTML video. Here is a <a href="/{{ $filepath[1] }}">link to the video</a> instead.</p>
|
||||
</video>
|
||||
@elseif(preg_match("/\.ogg/", $filepath[1]))
|
||||
|
|
Loading…
Reference in a new issue