Explorar o código

Add video caption track if captionFile is available (#25997)

GitOrigin-RevId: fefcce66fe573385dfec34cc0f8697220fe418a3
Rebeka Dekany hai 1 ano
pai
achega
784559f1b8
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      services/web/config/settings.defaults.js

+ 2 - 0
services/web/config/settings.defaults.js

@@ -893,6 +893,7 @@ module.exports = {
           'figcaption',
           'figcaption',
           'span',
           'span',
           'source',
           'source',
+          'track',
           'video',
           'video',
           'del',
           'del',
         ],
         ],
@@ -943,6 +944,7 @@ module.exports = {
             'style',
             'style',
           ],
           ],
           tr: ['class'],
           tr: ['class'],
+          track: ['src', 'kind', 'srcLang', 'label'],
           video: ['alt', 'class', 'controls', 'height', 'width'],
           video: ['alt', 'class', 'controls', 'height', 'width'],
         },
         },
       },
       },