diff --git a/layouts/shortcodes/gifv.html b/layouts/shortcodes/gifv.html
deleted file mode 100644
index 503d15a..0000000
--- a/layouts/shortcodes/gifv.html
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
- {{ range $param := .Params }}
-
- {{ $items := split $param "|" }}
- {{ $src := (index $items 0) }}
- {{ $title := (index $items 1) }}
-
-
-
- {{ if $title }}
-
{{ $title }}
- {{ end }}
-
- {{ end }}
-
diff --git a/layouts/shortcodes/imgs.html b/layouts/shortcodes/imgs.html
index f5fa671..cce9b95 100644
--- a/layouts/shortcodes/imgs.html
+++ b/layouts/shortcodes/imgs.html
@@ -4,13 +4,22 @@
{{ $items := split $param "|" }}
{{ $src := (index $items 0) }}
{{ $title := (index $items 1) }}
+ {{ $split_src := split $src "." }}
+ {{ $extension := index $split_src (sub (len $split_src) 1) }}
-
-
-
+ {{ if eq $extension "mp4" }}
+
+ {{ else }}
+
+
+
+ {{ end }}
{{ if $title }}
{{ $title }}
{{ end }}
{{ end }}
-
\ No newline at end of file
+