Skip to content

Commit

Permalink
Add live_start param to finals data
Browse files Browse the repository at this point in the history
  • Loading branch information
yasulab committed Nov 4, 2024
1 parent 79cca3a commit 52285c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions _data/finals.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# YouTube 成果報告会のプレイリストまとめ
# https://www.youtube.com/@MitouJr/playlists

# ライブ配信時の設定例(成果報告会の直前〜切り抜き完成まで)
#- year: 2024
# live: NVg4W_I8Qp0
# live_start: 173
# reaction: https://togetter.com/li/2460295

- year: 2024
live: NVg4W_I8Qp0
live_start: 173
reaction: https://togetter.com/li/2460295
- year: 2023
playlist: PLNObH2jlC6lfjkMZAmRffPLGs_gFJOfGU
Expand Down
2 changes: 1 addition & 1 deletion _includes/project-this-year.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h2 style="margin-top: 0px;">{{ include.year }}年度の採択者と成果</h2>
{% elsif this_final.live %}
<div class='youtube' style='margin-top: 30px;'>
<iframe src="https://www.youtube.com/embed/{{ this_final.live }}?rel=0" title="{{ include.year }}年度 未踏ジュニア成果報告会" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<iframe src="https://www.youtube.com/embed/{{ this_final.live }}?rel=0{% if this_final.live_start %}&start={{ this_final.live_start }}{% endif %}" title="{{ include.year }}年度 未踏ジュニア成果報告会" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<div class='flex'>
Expand Down

0 comments on commit 52285c1

Please sign in to comment.