Skip to content

Commit

Permalink
Use "Sound" instead of "Audio" for manifests
Browse files Browse the repository at this point in the history
closes #5955
  • Loading branch information
hackartisan committed Aug 11, 2023
1 parent a4114a2 commit 7545584
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/services/manifest_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ def display_content
format: "application/vnd.apple.mpegurl",
label: resource.title.first,
duration: file.duration.first.to_f,
type: "Audio" # required for the viewer to play audio correctly
type: "Sound" # required for the viewer to play audio correctly
)
end

Expand Down
2 changes: 1 addition & 1 deletion app/services/manifest_builder/canvas_rendering_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def mp3_file_hash

{
"id" => download_url,
"type" => "Audio",
"type" => "Sound",
"label" => "Download the mp3",
"format" => mp3_file.mime_type.first
}
Expand Down

0 comments on commit 7545584

Please sign in to comment.