From 8bf445fba50d053468f1b64e15b9b9ddce2846c9 Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Wed, 14 May 2014 16:47:32 +0200 Subject: [PATCH] Fix PHRAS-115 Audio player is broken --- templates/web/common/players/audio.html.twig | 4 +++- templates/web/common/thumbnail.html.twig | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/web/common/players/audio.html.twig b/templates/web/common/players/audio.html.twig index 09fc62818b..36d731633e 100644 --- a/templates/web/common/players/audio.html.twig +++ b/templates/web/common/players/audio.html.twig @@ -1,15 +1,17 @@ {% macro audio_player(thumbnail, url, original_w, original_h, fit) %} + {% set random = thumbnail.get_random() %}
+