universalviewer icon indicating copy to clipboard operation
universalviewer copied to clipboard

AV Downloads Requires Work

Open attonbomb opened this issue 3 years ago • 1 comments

The Download popup content no longer appears using the previously defined standard BL manifest structure. The "rendering" object

"rendering" : [{ "id" : "[https://some-file-url/"] "type" : "Audio", "label" : { "en" : ["Download this recording (Opens in new tab)"] }, "format" : "audio/mp4" }]

appears as a child of the "structures" element and then subsequently as a child of each "item" object within "structures".

This no longer works and produces the "No Download is available for this content" message in the popup.

Moving the "rendering" object to the root of the manifest works for downloading the whole set of recording as one file but we would like to be able to download individual ranges from within "structures". This was the case previously I understand.

The peculiarity is that when I add a "rendering" object to each "items -> "items" object outside of "structures" it triggers the renderings within the "structures -> items" to work.

In addition the rendering is bad see screenshots with a radio button plus bullet point.

Happy to provide an example manifest for whoever works on this. Essentially the presence of "rendering" as a child of structures used to cause UV to populate the download popup with content. It no longer does. Could it do that again please.

Adding the "rendering" to "items -> items" first object causes UV to pick up the first "rendering" within "structures -> items" signified by "range" in the display text. MicrosoftTeams-image (2)

Adding the "rendering" to "items -> items" second object causes UV to pick up the second "rendering" within "structures -> items" signified by "range" in the display text. MicrosoftTeams-image

Adding Rendering to the root under @context produces this. MicrosoftTeams-image (1)

attonbomb avatar Aug 19 '22 16:08 attonbomb

An example manifest manifest.txt

kevanwood avatar Sep 02 '22 07:09 kevanwood

UV v3 has the same issue: https://uv-v3.netlify.app/#?c=&m=&s=&cv=&manifest=https://edsilv.github.io/test-manifests/bl-av-download-rendering-ranges.json

edsilv avatar Nov 16 '22 13:11 edsilv

Were BL using a customised version of the UV?

edsilv avatar Nov 16 '22 13:11 edsilv