{% extends "theend/tag.html" %}
{% load static %}

{% block title_page_specific %}Séquence "{{content.title}}"{% endblock %}

    {% block js_page_specific %}
        <script type="text/javascript" src="{% static 'theend/js/contentplayer.js' %}"></script>
        <script type="text/javascript">
            IriSP.endpoints = {
                annotations_by_timecode : "{% url segment_api resource_name='segments' api_name='1.0' iri_id='__CONTENT_ID__' begin='__BEGIN__' end='__END__' %}",
                post_annotation : "{% url api_dispatch_list resource_name='annotations' api_name='1.0' %}",
                tag_page : "{% url level2_tag tag='__TAG__' %}"
            };
            $(function() {
                IriSP.contentplayer({
                    project_url: "{% url projectjson_id id=front_project.ldt_id %}"
                });
            });
        </script>
    {% endblock %}

    {% block h1 %}{{content.title}}{% endblock %}

    {% block prev_button %}{% endblock %}
    {% block next_button %}{% endblock %}
