DiSSCo / disscover

Search, discover and act upon data within the DiSSCo digital infrastructure.
https://dev.dissco.tech
Apache License 2.0
1 stars 0 forks source link

Add image, video, audio and file media types to Specimen Digital Media #43

Closed TomDijkema closed 1 year ago

TomDijkema commented 1 year ago

PR adds templates for images, videos, audio and other media in the shape of files to the Digital Media tab of the Specimen page. Images have been reworked to align vertically (not horizontal in a slider anymore), and include a link to the digital media page. Videos are included and can either can loaded from an external source with the video element, or using an iframe for youtube videos. A custom audio player has been implemented for playing audio. This audio player can be styled freely and should remain the same across different browsers. Lastly, other media is currently housed under the 'other media' category, simply being displayed using a file icon and the name of the media object.

Adds:

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

6.6% 6.6% Coverage
0.0% 0.0% Duplication