Content now display thumbnails and play buttons for a broader range of audio and video file formats, enhancing the viewing experience for more media types

This commit is contained in:
Russell Ballestrini 2025-02-15 15:30:17 +00:00
parent ac49dc8ed4
commit 19b5e8cc35

View file

@ -31,7 +31,7 @@
<section class="product-left">
{% if "thumbnail1" in product.extensions %}
{% if product.extensions["product"] in ["mp3", "mp4"] %}
{% if product.extensions["product"] in ["mp3", "mp4", "wav", "flac", "aac", "ogg", "wma", "m4a", "avi", "mov", "wmv", "flv", "mkv", "webm", "m4v"] %}
<div>
<a target="_blank" href="{{ request.app["bucket.secure_uploads.get_endpoint"] }}/{{ product.s3_path }}/product?ts={{ product.updated_timestamp }}">
<br>