diff --git a/_components/video-card.md b/_components/video-card.md index 4f72137..1f9202b 100644 --- a/_components/video-card.md +++ b/_components/video-card.md @@ -58,7 +58,7 @@ It is possible to concatenate multiple sets of those subtitles using commas. See {% include video-card.html video-url="//media.w3.org/wai/evaluation-intros/conformance-evaluation.mp4" - captions="//media.w3.org/wai/evaluation-intros/conformance-evaluation-cc.srt|en" + captions="/wai-videos/evaluating/conformance-evaluation.en.vtt|en|default" accessible-version="https://www.w3.org/WAI/test-evaluate/conformance/" accessible-version-label="Video: Conformance Evaluation" -%} \ No newline at end of file +%} diff --git a/_includes/video-card.html b/_includes/video-card.html index 0f17d45..f859688 100644 --- a/_includes/video-card.html +++ b/_includes/video-card.html @@ -6,6 +6,7 @@ {% endif %} {%- assign captions = include.captions | split: ',' -%} + {%- assign langs = site.data.lang -%} {%- for caption in captions -%} {%- assign c = caption | split: '|' -%} {%- assign clangcode = c[1] -%}