Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media runtime sometimes not shown (shown as 0m 0s) #40234

Open
4 of 6 tasks
stephendonner opened this issue Aug 2, 2024 · 3 comments
Open
4 of 6 tasks

Media runtime sometimes not shown (shown as 0m 0s) #40234

stephendonner opened this issue Aug 2, 2024 · 3 comments
Assignees

Comments

@stephendonner
Copy link

Description

Media runtime sometimes not shown (shown as 0m 0s)

Found while testing #32585

Steps to reproduce

  1. install 1.70.41
  2. launch Brave
  3. load https://www.youtube.com/watch?v=4iNMyilmDfg
  4. restart Brave (to pick up Griffin seeds)
  5. load https://www.youtube.com/watch?v=4iNMyilmDfg again
  6. click on the music note icon to Add to Playlist

Actual result

Runtime is shown as 0m 0s

Screen Shot 2024-08-02 at 2 12 01 PM

Expected result

Should show the media's hours minutes seconds runtime

Reproduces how often

Easily reproduced

Brave version (brave://version info)

Brave | 1.70.41 Chromium: 127.0.6533.88 (Official Build) nightly (x86_64)
-- | --
Revision | 9303bae9fe07bc2ec7c0cdef139e87304b2d6c96
OS | macOS Version 11.7.10 (Build 20G1427)

Channel information

  • release (stable)
  • beta
  • nightly

Reproducibility

  • with Brave Shields disabled
  • with Brave Rewards disabled
  • in the latest version of Chrome

Miscellaneous information

@aguscruiz @sangwoo108 @szilardszaloki @rebron @brave/qa-team

@MadhaviSeelam
Copy link

Reproduced the issue with twitch.tv clips
https://www.twitch.tv/mrskilted/clip/ExcitedDistinctGarageANELE-HE82zvRFIxiX8Xkj

image

@sangwoo108 sangwoo108 self-assigned this Aug 3, 2024
@sangwoo108
Copy link

Yeah, sometimes we can't get the duration properly at the point of caching. I was thinking of updating it when the video is played.

@szilardszaloki
Copy link
Contributor

Hey all,
Just a heads-up that we won't have to deal with this once we're on the MediaSession API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants