Skip to content

Commit

Permalink
added autoplay
Browse files Browse the repository at this point in the history
  • Loading branch information
Vikr-182 committed Oct 1, 2023
1 parent c28f9c8 commit cf08653
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -462,25 +462,25 @@ <h2 class="title">BibTeX</h2>
if (embeddable) {
document.getElementById('teaserContainer').innerHTML = `
<div class="publication-video">
<iframe src="https://www.youtube.com/embed/3MrA6DiDXCA?vq=hd720&autoplay=1" frameborder="0" allowfullscreen></iframe>
<iframe src="https://www.youtube.com/embed/3MrA6DiDXCA?vq=hd720&autoplay=1" allow="autoplay" frameborder="0" allowfullscreen></iframe>
</div>
`;

document.getElementById('spatial1Container').innerHTML = `
<div class="spatial-video">
<iframe src="https://www.youtube.com/embed/zoBs8JTd5kw?vq=hd720&autoplay=1" frameborder="0" allowfullscreen></iframe>
<iframe src="https://www.youtube.com/embed/zoBs8JTd5kw?vq=hd720&autoplay=1" allow="autoplay" frameborder="0" allowfullscreen></iframe>
</div>
`

document.getElementById('spatial2Container').innerHTML = `
<div class="spatial-video">
<iframe src="https://www.youtube.com/embed/wsMWgMiv1BQ?vq=hd720&autoplay=1" frameborder="0" allowfullscreen></iframe>
<iframe src="https://www.youtube.com/embed/wsMWgMiv1BQ?vq=hd720&autoplay=1" allow="autoplay" frameborder="0" allowfullscreen></iframe>
</div>
`

document.getElementById('carouselContainer').innerHTML = `
<div class="carousel-video">
<iframe src="https://www.youtube.com/embed/syRbYBmq5kY?vq=hd720&autoplay=1" frameborder="0" allowfullscreen></iframe>
<iframe src="https://www.youtube.com/embed/syRbYBmq5kY?vq=hd720&autoplay=1" allow="autoplay" frameborder="0" allowfullscreen></iframe>
</div>
`
} else {
Expand Down

0 comments on commit cf08653

Please sign in to comment.