Merge branch 'play-button-all-the-things' into 'master'

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

See merge request engineering/make-post-sell/make_post_sell!38
This commit is contained in:
Russell Ballestrini 2025-02-15 15:30:17 +00:00
commit 625298636e

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>