ualbertalib / avalon

University of Alberta's Media Repository based on Avalon
Apache License 2.0
2 stars 2 forks source link

Player stops at 5:10 #677

Closed seanluyk closed 3 years ago

seanluyk commented 3 years ago

When playing a media file in Avalon in the Chrome browser the player stops at 5:10. Here's one recent example:

https://era-av.library.ualberta.ca/media_objects/zc77sr27b

In order to get the player to continue past 5:10, a user needs to move the scrubber before or after that time point and click play again.

In order to test this, you need to play a file straight through, i.e. not from a point just before 5:10.

jefferya commented 3 years ago

Steps taken to reproduce.

Environment: Firefox 81.0.2 (64bit) Ubuntu 20.04.1 LTS

Next steps:

On Mon, Oct 19, 2020 at 4:44 PM Sean Luyk notifications@github.com wrote:

When playing a media file in Avalon the player stops at 5:10. Here's one recent example:

https://era-av.library.ualberta.ca/media_objects/zc77sr27b

In order to get the player to continue past 5:10, a user needs to move the scrubber before or after that time point and click play again.

In order to test this, you need to play a file straight through, i.e. not from a point just before 5:10.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ualbertalib/avalon/issues/677, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGWZKKMNJRKNY4C7GDK253SLS6NBANCNFSM4SW4MZEQ .

jefferya commented 3 years ago

Tests on other OS and browsers

A dump of the Mac OS X Chrome browser console

application.js:26 Hello World from Webpacker
zc77sr27b:466 Uncaught ReferenceError: UA is not defined
    at zc77sr27b:466
(anonymous) @ zc77sr27b:466
application-f83c09b84f71ead57d2ba8b2e934ff46e7c2837e3562dab27cf8b3d96f2d7ec1.js:35 pe.fn.init [prevObject: pe.fn.init(1), context: document, selector: "input[value='Save']"]
mejs4_player-31a690a3a8ca427978c267354c686681e2d05b91fe19e18d697496d3ca4090b9.js:4 hlsError {type: "mediaError", parent: "main", details: "bufferFullError", fatal: false}details: "bufferFullError"fatal: falseparent: "main"type: "mediaError"__proto__: Object
s @ mejs4_player-31a690a3a8ca427978c267354c686681e2d05b91fe19e18d697496d3ca4090b9.js:4
a.emit @ hls.min.js:1
s.trigger @ hls.min.js:1
value @ hls.min.js:1
value @ hls.min.js:1
application-f83c09b84f71ead57d2ba8b2e934ff46e7c2837e3562dab27cf8b3d96f2d7ec1.js:36 Token refreshed
jefferya commented 3 years ago

One approach to fix, try https://github.com/ualbertalib/avalon/issues/518#issuecomment-660264737?

jefferya commented 3 years ago

Other options to try:

jefferya commented 3 years ago

The upstream commits to set maxMaxBufferLength appears to address the Chrome playback problem see PR #682 .

If reoccurs, investigate:

jefferya commented 3 years ago

Addressed in release: v6.5.0.20210322.uofa