Render quotes in video source type attr
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
<h1>{{ title }}</h1>
|
<h1>{{ title }}</h1>
|
||||||
<video width="{{ width }}" height="{{ height }}" {% if poster %}poster="{{ poster }}" {% endif %}controls="controls">
|
<video width="{{ width }}" height="{{ height }}" {% if poster %}poster="{{ poster }}" {% endif %}controls="controls">
|
||||||
{% for source in sources %}
|
{% for source in sources %}
|
||||||
<source src="{{ source.src }}" type='{{ source.type }}' />
|
<source src="{{ source.src }}" type='{{ source.type|safe }}' />
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
You need a browser that understands HTML5 video and supports {% for i in used_codecs %}{{ i }}{% if not loop.last %} or {% endif %}{% endfor %} codecs.
|
You need a browser that understands HTML5 video and supports {% for i in used_codecs %}{{ i }}{% if not loop.last %} or {% endif %}{% endfor %} codecs.
|
||||||
</video><br />
|
</video><br />
|
||||||
@@ -33,4 +33,4 @@
|
|||||||
<script data-container="commenter-container" src="//www.welmers.net/commenter/js/commenter.js" type="text/javascript"></script>
|
<script data-container="commenter-container" src="//www.welmers.net/commenter/js/commenter.js" type="text/javascript"></script>
|
||||||
<script src="static/js/video.js" type="text/javascript"></script>
|
<script src="static/js/video.js" type="text/javascript"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user