221V 1 год назад
Родитель
Сommit
22feb17466
2 измененных файлов с 10 добавлено и 5 удалено
  1. 5 0
      CHANGELOG.md
  2. 5 5
      src/elements/embed/element_track.erl

+ 5 - 0
CHANGELOG.md

@@ -21,6 +21,11 @@
 | ```<<"type">>``` | ```checkbox``` | ```"checkbox"``` |
 | ```<<"type">>``` | ```toolbar``` | ```"toolbar"``` |
 | ```<<"type">>``` | ```context``` | ```"context"``` |
+| ```<<"kind">>``` | ```subtitles``` | ```"subtitles"``` |
+| ```<<"kind">>``` | ```captions``` | ```"captions"``` |
+| ```<<"kind">>``` | ```descriptions``` | ```"descriptions"``` |
+| ```<<"kind">>``` | ```chapters``` | ```"chapters"``` |
+| ```<<"kind">>``` | ```metadata``` | ```"metadata"``` |
 
 
 ##### 6.6.2-erl19

+ 5 - 5
src/elements/embed/element_track.erl

@@ -73,11 +73,11 @@ render_element(Record) ->
     
     {<<"kind">>,
        case Record#track.kind of
-         "subtitles" -> "subtitles";
-         "captions" -> "captions";
-         "descriptions" -> "descriptions";
-         "chapters" -> "chapters";
-         "metadata" -> "metadata";
+         subtitles -> "subtitles";
+         captions -> "captions";
+         descriptions -> "descriptions";
+         chapters -> "chapters";
+         metadata -> "metadata";
          _ -> []
        end},