<div class="showRevealWrapper">
	{% if field.show_label %}
		<span class="cardFieldLabel">{{ field.label }}:</span>
	{% endif %}

	{% if field.value %}
		{% if field.type == 'T' %}
			<span class="cardFieldValue">{{ field.value}}</span>
		{% elif field.type == 'I' %}
			<img src="{{MEDIA_URL}}{{field.value}}" alt="{{field.label}}" class="cardFieldImage" />
			<div class="controls">
				<div>
					<a href="{{MEDIA_URL}}originals/{{field.value}}" target="_blank">
						<i class="fa fa-external-link"></i>
						<span class="control-text">View Full Size Image</span>
					</a>
				</div>
			</div>
		{% elif field.type == 'V' %}
			<video src="{{field.value}}" alt="{{field.label}}" controls>
				Your browser does not support the <code>video</code> element.
			</video>
		{% elif field.type == 'A' %}
			<audio alt="{{field.label}}" controls="controls" preload="auto">
				<source src="{{MEDIA_URL}}{{field.value}}" />
				Your browser does not support the <code>audio</code> element.
			</audio>
		{% else %}
			<b>ERROR FIELD TYPE NOT SUPPORTED: {{field.type}}</b>
		{% endif %}
	{% endif %}
</div>

<div class="showRevealWrapper">
	{% if field.show_label %}
		<span class="cardFieldLabel">{{ field.label }}:</span>
	{% endif %}

	{% if field.value %}
		{% if field.type == 'T' %}
			<span class="cardFieldValue">{{ field.value}}</span>
		{% elif field.type == 'I' %}
			<img src="{{MEDIA_URL}}{{field.value}}" alt="{{field.label}}" class="cardFieldImage" />
			<div class="controls">
				<div>
					<a href="{{MEDIA_URL}}originals/{{field.value}}" target="_blank">
						<i class="fa fa-external-link"></i>
						<span class="control-text">View Full Size Image</span>
					</a>
				</div>
			</div>
		{% elif field.type == 'V' %}
			<video src="{{field.value}}" alt="{{field.label}}" controls>
				Your browser does not support the <code>video</code> element.
			</video>
		{% elif field.type == 'A' %}
			<audio alt="{{field.label}}" controls="controls" preload="auto">
				{% if  field.value|slice:":4" == "http" or STATIC_URL in field.value %}
					<source src="{{field.value}}" />
				{% else %}
					<source src="{{MEDIA_URL}}{{field.value}}" />
				{% endif %}
				Your browser does not support the <code>audio</code> element.
			</audio>
		{% else %}
			<b>ERROR FIELD TYPE NOT SUPPORTED: {{field.type}}</b>
		{% endif %}
	{% endif %}
</div>

Fix for absolute URLs to audio files or files relative to the static url.
Fix for absolute URLs to audio files or files relative to the static url.
