{#This file is part of Rogō
Rogō is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Rogō is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Rogō. If not, see .
#}
{#
This template is for the question media display.
author Dr Joseph Baxter
copyright 2018 onwards The University of Nottingham
Required variables -
data.mediaid - id
data.mediatype - type of media
data.mediawidth - width
data.mediaheight - height
data.mediabordercolour - border colour
data.mediaurl - url
data.mediafile - file path
Required localised strings -
lang.audiofile - audio file
lang.audioclip - audio clip
lang.iframes - iframe support message
lang.datafile - datafile
lang.delete - delete
lang.deleteimage - delete image
#}
{# Display unknown media #}
{% if data.mediaid != -1 %}