aboutsummaryrefslogtreecommitdiff
path: root/vnext
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-10-23 03:50:15 +0300
committerGravatar Vitaly Takmazov2024-10-23 03:50:34 +0300
commitb14fd63abe16739aa3a04dd50806ebb62190b0c3 (patch)
treefee1522a21e0d2c9c907be51147ada5d4cfdda0f /vnext
parent6e3c7498fc315113e5a4e5a632be00363c0f9ccf (diff)
embed: fix for <video /> previews in Safari
Diffstat (limited to 'vnext')
-rw-r--r--vnext/src/utils/embed.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/utils/embed.js b/vnext/src/utils/embed.js
index 9c10d6d8..d020dbc2 100644
--- a/vnext/src/utils/embed.js
+++ b/vnext/src/utils/embed.js
@@ -200,7 +200,7 @@ function getEmbeddableLinkTypes() {
className: 'video compact',
re: /\.(webm|mp4|m4v|ogv)(?:\?[\w&;?=]*)?$/i,
makeNode: function(aNode, reResult, div) {
- div.innerHTML = `<video src="${aNode.href}" title="${aNode.href}" controls></video>`
+ div.innerHTML = `<video src="${aNode.href}#t=0.001" title="${aNode.href}" controls></video>`
return div
}
},