Dear all
I’ve got some video abstracts as supplementary files (and an according genre: “videoabstract”). On the article_details.tpl I would like to show the video.
But first I would just like to know how I could do something like {if $supplementaryGenre = "videoabstract"} <video> <source type="video/mp4" src="{foreach from=$supplementaryGalleys item=galley} {include file="frontend/objects/galley_link.tpl" parent=$article publication=$publication galley=$galley isSupplementary="1"} {/foreach}" /> </video> {/if}
Essentially, what I would need is a variable and some piece of code to display a <div> ... </div> depending on the name or presence of the (supplementary)genre, ideally including the full path to the file ending *.mp4 or *.webm.
Is it correct that even supplementary content BUT which has a remote-URL will be displayed as primary content ($primaryGalleys) on the website?
Could some of you please have a look at this? Maybe @NateWr or @Vitaliy or @bozana