_includes/video-player.html in wai-website-theme-1.6 vs _includes/video-player.html in wai-website-theme-1.7
- old
+ new
@@ -1,8 +1,8 @@
{%- assign langs = site.data.lang -%}
<div class="video-container" data-video-type="" dir="ltr">
- <video preload="metadata" data-youtube-id="{{include.yt-id}}" data-youtube-nocookie="true" width="450">
+ <video preload="metadata" data-youtube-id="{{include.yt-id}}" data-youtube-nocookie="true" data-description-audible="false" width="450">
{%- assign captions = include.captions | split: ',' -%}
{%- for caption in captions -%}
{%- assign c = caption | split: '|' -%}
{%- assign clangcode = c[1] -%}
{%- assign l = langs[clangcode].nativeName -%}
@@ -24,10 +24,10 @@
{%- endfor -%}
</video>
</div>
{% if include.yt-id-ad %}
<div class="video-container" data-video-type="audio-described">
- <video preload="metadata" data-youtube-id="{{include.yt-id-ad}}" data-youtube-nocookie="true" width="450">
+ <video preload="metadata" data-youtube-id="{{include.yt-id-ad}}" data-youtube-nocookie="true" data-description-audible="false" width="450">
{%- assign captions = include.captions-ad | split: ',' -%}
{%- for caption in captions -%}
{%- assign c = caption | split: '|' -%}
{%- assign clangcode = c[1] -%}
{%- assign l = langs[clangcode].nativeName -%}