File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/resources/extensions/quarto/video Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ local brightcoveBuilder = function(params)
104104
105105 local result = {}
106106
107- local SNIPPET = [[ <iframe src="{src}"{width}{height} allowfullscreen="" title="{title}" allow="encrypted-media"></iframe>]]
107+ local SNIPPET = [[ <iframe data-external="1" src="{src}"{width}{height} allowfullscreen="" title="{title}" allow="encrypted-media"></iframe>]]
108108 result .snippet = replaceCommonAttributes (SNIPPET , params )
109109 result .type = VIDEO_TYPES .BRIGHTCOVE
110110 result .src = params .src
@@ -120,7 +120,7 @@ local vimeoBuilder = function(params)
120120
121121 params .src = ' https://player.vimeo.com/video/' .. match
122122
123- local SNIPPET = [[ <iframe src="{src}"{width}{height} frameborder="0" allow="autoplay; title="{title}" fullscreen; picture-in-picture" allowfullscreen></iframe>]]
123+ local SNIPPET = [[ <iframe data-external="1" src="{src}"{width}{height} frameborder="0" allow="autoplay; title="{title}" fullscreen; picture-in-picture" allowfullscreen></iframe>]]
124124
125125 local result = {}
126126
You can’t perform that action at this time.
0 commit comments