From f6ba0e561bfb62991d70a4c002edf142d9d7540c Mon Sep 17 00:00:00 2001 From: vijeth-aradhya Date: Sun, 16 Jul 2017 21:14:25 +0530 Subject: [PATCH] Modify video template to accomodate multiple resolutions Add required JS/CSS plugin files. Add JS file to fire up the plugin. Modify video tag accordingly. --- .../mediagoblin/media_displays/video.html | 41 +++++++------------ 1 file changed, 14 insertions(+), 27 deletions(-) diff --git a/mediagoblin/templates/mediagoblin/media_displays/video.html b/mediagoblin/templates/mediagoblin/media_displays/video.html index 5aac3529..4ba3d1d5 100644 --- a/mediagoblin/templates/mediagoblin/media_displays/video.html +++ b/mediagoblin/templates/mediagoblin/media_displays/video.html @@ -22,44 +22,31 @@ {{ super() }} + + {# Sadly commented out till we can get the mediagoblin skin ported over # to the newest video.js release ;\ #} - {# - - #} + - {%- endblock %} {% block mediagoblin_media %}
- {% set display_type, display_path = media.get_display_media() %} + {% set all_media_path = media.get_all_media() %} -