samvera / hyrax

Hyrax is a Ruby on Rails Engine built by the Samvera community. Hyrax provides a foundation for creating many different digital repository applications.
http://hyrax.samvera.org/
Apache License 2.0
184 stars 124 forks source link

Video and audio does not play in browser #6227

Closed rjkati closed 1 year ago

rjkati commented 1 year ago

Descriptive summary

On pg.nurax, video and audio files do not play in the browser. When I attempt to play either file in Chrome, the player does not show any information for the audio or video and the play button cannot be clicked. When I attempt to play the video file in Firefox, I received a "No video with supported format and MIME type found" message. The audio player does not load the audio track information in Firefox

I can replicate the issue locally on Koppie. Video and audio play as expected on dev.nurax.

Steps to reproduce the behavior in User Interface (UI)

  1. Go to: https://pg.nurax.samvera.org/concern/generic_works/4e402c5d-9b66-4ac7-be49-f7915378d198?locale=en
  2. Scroll to the Items section
  3. Click on the title of the video file
  4. Observe that the player does not load
  5. Go back to the Item list and click on the audio file
  6. Observe that the player does not load

Actual behavior (include screenshots if available)

Both audio and video players display but do not load information about the media or allow user to play media.

Chrome

no_audio_chrome

no_video_chrome

Firefox no_audio_ff

no_video_ff

Acceptance Criteria/Expected Behavior

Video and audio player should load information about the media and play respective media.

Related work

5780 seems to be the same issue from Hyrax 4, which is now resolved on dev.nurax, but there aren't any notes in the ticket about the resolution.

hackartisan commented 1 year ago

network tab shows 404 for the resources. trying to view one of them directly in the browser results in an error page showing an ArgumentError: No PCDM use is recognized for webm

hackartisan commented 1 year ago

currently blocked by #6294

rjkati commented 1 year ago

video and audio now plays in the default players in the browser