Skip to content

Commit

Permalink
fix embedded video
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Oct 29, 2023
1 parent cb23834 commit ea4cc84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/templates/src/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ image::bespoke-logo.jpg[]
<% if (usePluginMultimedia) { -%>
== !

video::AV3kYPutYfs[youtube,640,360,opts="loop,muted"]
video::Ux8xAuQBdkk[youtube,640,360,opts="autoplay,loop,muted"]
<% } -%>

== Syntax Highlighting
Expand Down
2 changes: 1 addition & 1 deletion app/templates/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h3>Powered by <a href="https://github.com/bespokejs/bespoke-bullets">bespoke-bu

<% if (usePluginMultimedia) { -%>
<section>
<iframe width="640" height="360" src="https://www.youtube.com/embed/AV3kYPutYfs?rel=0&amp;showinfo=0&amp;controls=0&amp;enablejsapi=1&amp;loop=1&amp;playlist=AV3kYPutYfs" frameborder="0" allowfullscreen data-volume="0"></iframe>
<iframe width="640" height="360" src="https://www.youtube.com/embed/Ux8xAuQBdkk?enablejsapi=1&amp;rel=0&amp;showinfo=0&amp;controls=0&amp;disablekb=1&amp;loop=1&amp;playlist=Ux8xAuQBdkk" frameborder="0" allowfullscreen data-volume="0"></iframe>
</section>

<% } -%>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/src/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ html

<% if (usePluginMultimedia) { -%>
section
iframe(width="640", height="360", src="https://www.youtube.com/embed/AV3kYPutYfs?rel=0&amp;showinfo=0&amp;controls=0&amp;enablejsapi=1&amp;loop=1&amp;playlist=AV3kYPutYfs", frameborder="0", allowfullscreen, data-volume="0")
iframe(width="640", height="360", src="https://www.youtube.com/embed/Ux8xAuQBdkk?enablejsapi=1&rel=0&showinfo=0&controls=0&disablekb=1&loop=1&playlist=Ux8xAuQBdkk", frameborder="0", allowfullscreen, data-volume="0")

<% } -%>
<% if (usePluginPrism) { -%>
Expand Down

0 comments on commit ea4cc84

Please sign in to comment.