Initial
This commit is contained in:
23
resources/app/templates/journal/page-video-view.html
Normal file
23
resources/app/templates/journal/page-video-view.html
Normal file
@@ -0,0 +1,23 @@
|
||||
{{#if data.title.show}}
|
||||
<header class="journal-page-header">
|
||||
<h{{data.title.level}}>{{data.name}}</h{{data.title.level}}>
|
||||
</header>
|
||||
{{/if}}
|
||||
|
||||
{{#if document.src}}
|
||||
<figure class="{{#if flexRatio}}flex-ratio{{/if}}">
|
||||
{{#if isYouTube}}
|
||||
<iframe id="{{yt.id}}" src="{{yt.url}}" frameborder="0" allowfullscreen
|
||||
{{#if document.video.autoplay}}allow="autoplay" {{/if}}
|
||||
{{#if document.video.width}}width="{{document.video.width}}" {{/if}}
|
||||
{{#if document.video.height}}height="{{document.video.height}}"{{/if}}></iframe>
|
||||
{{else}}
|
||||
<video src="{{document.src}}"
|
||||
{{#if document.video.controls}}controls{{/if}}
|
||||
{{#if document.video.autoplay}}autoplay{{/if}}
|
||||
{{#if document.video.loop}}loop{{/if}}
|
||||
{{#if document.video.width}}width="{{document.video.width}}" {{/if}}
|
||||
{{#if document.video.height}}height="{{document.video.height}}"{{/if}}></video>
|
||||
{{/if}}
|
||||
</figure>
|
||||
{{/if}}
|
||||
Reference in New Issue
Block a user