Skip to content

Commit 862cf19

Browse files
committed
Use "Sound" instead of "Audio" for manifests
closes #5955
1 parent 34f06f6 commit 862cf19

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/services/manifest_builder.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ def display_content
650650
format: "application/vnd.apple.mpegurl",
651651
label: resource.title.first,
652652
duration: file.duration.first.to_f,
653-
type: "Audio" # required for the viewer to play audio correctly
653+
type: "Sound" # required for the viewer to play audio correctly
654654
)
655655
end
656656

app/services/manifest_builder/canvas_rendering_builder.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def mp3_file_hash
126126

127127
{
128128
"id" => download_url,
129-
"type" => "Audio",
129+
"type" => "Sound",
130130
"label" => "Download the mp3",
131131
"format" => mp3_file.mime_type.first
132132
}

0 commit comments

Comments
 (0)