Skip to content

Commit

Permalink
We need only the VideoID to embed videos
Browse files Browse the repository at this point in the history
  • Loading branch information
Zifah committed Dec 19, 2023
1 parent 5003dc2 commit e154bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/main/resources/website/singleresult.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<h4>{{message "lang.videos"}}</h4>
{{#each name.videos}}
<div class="iframe-container" id="video{{@index}}">
<iframe src="{{this.url}}"
<iframe src="https://www.youtube.com/embed/{{this.url}}"
title="{{this.caption}}" frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen></iframe>
Expand Down

0 comments on commit e154bc0

Please sign in to comment.