Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7545584

Browse files
committedAug 11, 2023
Use "Sound" instead of "Audio" for manifests
closes #5955
1 parent a4114a2 commit 7545584

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
@@ -668,7 +668,7 @@ def display_content
668668
format: "application/vnd.apple.mpegurl",
669669
label: resource.title.first,
670670
duration: file.duration.first.to_f,
671-
type: "Audio" # required for the viewer to play audio correctly
671+
type: "Sound" # required for the viewer to play audio correctly
672672
)
673673
end
674674

‎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)
Please sign in to comment.