Skip to content

Commit

Permalink
Merge pull request #228 from aryna/add_video_shortcode
Browse files Browse the repository at this point in the history
Add shortcode for video
  • Loading branch information
mismith0227 authored Aug 12, 2023
2 parents 6be69d2 + 3e573d0 commit 6b24bdf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions layouts/shortcodes/video.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<video class="video-shortcode" preload="{{ .Get "preload" }}" controls>
<source src="{{ .Get "src" }}" type="{{ .Get "type" }}">
There should have been a video here but your browser does not seem
to support it.
</video>

0 comments on commit 6b24bdf

Please sign in to comment.