Skip to content

Commit ffe21dd

Browse files
committed
Fixed #75 (some videos not embedding)
1 parent 4f31439 commit ffe21dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/video.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
<meta name="twitter:image" content="{{ videoInfo.thumbnail }}" />
99
<meta name="twitter:player:width" content="{{ vFormat.width }}" />
1010
<meta name="twitter:player:height" content="{{ vFormat.height }}" />
11-
<meta name="twitter:player:stream" content="{{ mp4URL }}" />
11+
<meta name="twitter:player:stream" content="{{ mp4URL|safe }}" />
1212
<meta name="twitter:player:stream:content_type" content="video/mp4" />
1313

1414
<meta property="og:url" content="{{ videoInfo.original_url }}" />
15-
<meta property="og:video" content="{{ mp4URL }}" />
16-
<meta property="og:video:secure_url" content="{{ mp4URL }}" />
15+
<meta property="og:video" content="{{ mp4URL|safe }}" />
16+
<meta property="og:video:secure_url" content="{{ mp4URL|safe }}" />
1717
<meta property="og:video:type" content="video/mp4" />
1818
<meta property="og:video:width" content="{{ vFormat.width }}" />
1919
<meta property="og:video:height" content="{{ vFormat.height }}" />

0 commit comments

Comments
 (0)