Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
fix(video): Prefer src over url attribute if present
Browse files Browse the repository at this point in the history
  • Loading branch information
bezoerb committed Feb 10, 2022
1 parent fa12fc2 commit 8ed1a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/asset/video.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{{- $params := (merge $context $options) -}}
{{- $mime_type := $params.mime_type -}}
{{- $class_name := $params.class_name -}}
{{- $url := $params.url -}}
{{- $url := $params.src | default $params.url -}}
{{- $loop := $params.loop | default true -}}
{{- $autoplay := $params.autoplay | default true -}}
{{- $controls := $params.controls | default false -}}
Expand Down

0 comments on commit 8ed1a2c

Please sign in to comment.