File size: 1,128 Bytes
a11165b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{% extends "base.html" %}
{% block content %}
<article class="video-page" data-video-id="{{ video.id }}" data-recent-entry
         data-recent-kind="video" data-recent-id="{{ video.id }}"
         data-recent-title="{{ video.caption }}" data-recent-href="/video/{{ video.id }}/"
         data-recent-poster="{{ video.poster_path }}">
  <nav class="breadcrumb" aria-label="Breadcrumb"><a href="/trailers/">Trailers</a><span>{{ video.caption }}</span></nav>
  <h1>{{ video.caption }}</h1>
  <video class="local-video-player" controls tabindex="0" preload="metadata"
         poster="{{ video.poster_path }}" aria-label="{{ video.caption }}">
    <source src="{{ video.mp4_path }}" type="video/mp4">
    <track src="{{ video.captions_path }}" kind="captions" srclang="en" label="English" default>
    Your browser does not support local video playback.
  </video>
  <p class="player-help">Use the native controls to play or pause, seek, change volume, enter fullscreen, and toggle captions.</p>
  <p><a href="/title/{{ title.id }}/">View {{ title.title }}</a> · {{ video.duration_seconds }} seconds</p>
</article>
{% endblock %}