diff --git a/rowers/templates/embedded_video_mini.html b/rowers/templates/embedded_video_mini.html new file mode 100644 index 00000000..720e2794 --- /dev/null +++ b/rowers/templates/embedded_video_mini.html @@ -0,0 +1,681 @@ +{% extends "newbase.html" %} +{% load staticfiles %} +{% load rowerfilters %} +{% load i18n %} +{% load leaflet_tags %} + + + +{% block title %}Workout Video{% endblock %} +{% block og_title %}{{ analysis.name }}{% endblock %} +{% block description %}Rowing Video Analysis:{{ analysis.name }}{% endblock %} +{% block og_description %}Rowing Video Analysis:{{ analysis.name }}{% endblock %} +{% block og_image %} +{% if analysis %} + + +{% else %} + + +{% endif %} +{% endblock %} + +{% if analysis %} +{% block image_src %} + +{% endblock %} +{% endif %} + +{% block meta %} +{% leaflet_js %} +{% leaflet_css %} + + + + + + +{% endblock %} + +{% block main %} + + + +{% language 'en' %} +
Playing the video will advance the data in synchronization. Use the regular + YouTube controls to move around in the video and play it.
++ +
+ + +{% endlanguage %} + +{% endblock %} + +{% block sidebar %} +{% include 'menu_workout.html' %} +{% endblock %} diff --git a/rowers/urls.py b/rowers/urls.py index 2a9c39d6..4940c251 100644 --- a/rowers/urls.py +++ b/rowers/urls.py @@ -348,6 +348,8 @@ urlpatterns = [ re_path(r'^video/(?P