TeamPiped / Piped

An alternative privacy-friendly YouTube frontend which is efficient by design.
https://piped.video
GNU Affero General Public License v3.0
8.43k stars 694 forks source link

Playing Video on Loop Not Working on LibreWolf #2148

Open Torun-S opened 1 year ago

Torun-S commented 1 year ago

Official Instance

Describe the bug

A video set to loop will not loop when the video ends, instead only hanging. Dragging the timeline won't resume play, the page must be refreshed. Based on error logs, Resist Fingerprinting, which is enabled in LibreWolf at default, may be at fault.

To Reproduce

  1. Open a video, such as https://piped.video/watch?v=bfQZnQMgY9I
  2. Check "Loop this Video"
  3. Seek to near the end or let it play in full
  4. Observe it stopping play at the end and not resetting

Expected behavior

The video will start playing from the beginning once it reaches the end, even if it must load for a bit.

Logs/Errors

Got the following out of the browser console:

Media resource blob:https://piped.video/7c703ac6-d1b2-43db-9d81-173dd67b5114 could not be decoded. [watch](https://piped.video/watch?v=bfQZnQMgY9I)
This error message will be blank when privacy.resistFingerprinting = true.  If it is really necessary, please add it to the whitelist in MediaError::GetMessage: NS_ERROR_DOM_MEDIA_WAITING_FOR_DATA (0x806e0009) [shaka-player.ui-b02d637b.js:7:53237](https://piped.video/assets/shaka-player.ui-b02d637b.js)
Media resource blob:https://piped.video/7c703ac6-d1b2-43db-9d81-173dd67b5114 could not be decoded, error: Error Code: NS_ERROR_DOM_MEDIA_WAITING_FOR_DATA (0x806e0009)

Browser, and OS with Version.

LibreWolf 109.0-1 on Windows 10

Additional context

Tried this on Edge, works as expected. Tried setting privacy.resistFingerprinting in LibreWolf to false, that curiously didn't help. It says something about whitelisting it in error logs, but I'm not sure if I can do that anyhow.

Impeta commented 1 year ago

I can confirm this also happens on Firefox, no matter whatever public instance I pick on.

begin-theadventure commented 1 year ago

I also have the same problem, I tried in Troubleshoot Mode and with privacy.resistFingerprinting set to false.

Edit: Same problem on Mull (mobile browser).

begin-theadventure commented 1 year ago

[Childnumber, MediaDecoderStateMachine #1] WARNING: Decoder=7f47bbce6c00 Decode error: NS_ERROR_DOM_MEDIA_WAITING_FOR_DATA (0x806e0009): file /builds/librewolf-community/browser/arch/src/firefox-111.0.1/dom/media/MediaDecoderStateMachineBase.cpp:164