Skip to content

Commit d704c55

Browse files
committed
refactor: added conditions
1 parent 61796ed commit d704c55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_patterns/01-elements/video/_video.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<video class="elm-video"{{#unless preventControls }} controls{{/unless }}{{#if autoplay}} autoplay{{/if }}{{#if preload}} preload{{/if }}{{#if poster}} poster="{{poster}}"{{/if }} width="{{ width }}" height="{{ height }}">
1+
<video class="elm-video"{{#unless preventControls }} controls{{/unless }}{{#if autoplay}} autoplay{{/if }}{{#if preload}} preload{{/if }}{{#if poster}} poster="{{poster}}"{{/if }}{{#if width}} width="{{ width }}"{{/if }}{{#if height}} height="{{ height }}"{{/if }}>
22
{{#each sources }}
33
<source src="{{ src }}" type="{{ type }}">
44
{{/each }}

0 commit comments

Comments
 (0)