Invidious: Video length doubles when switching from video to audio mode

Created on 16 Nov 2019  路  7Comments  路  Source: iv-org/invidious

When switching from video to audio mode, the length of the video doubles.

So a video that is 5:41 long becomes 11:22 long when switching to audio mode. In the additional 5:41 there is no audio.

Tested on iOS 13 and Safari 11.1.2 on macOS.

Sample video.

Can anyone reproduce?

bug

Most helpful comment

@jbmorris289:

I tried audio mode in Firefox for iOS (23.0) and the issue appears there as well. I'm wondering if the issue is isolated to iOS, because it doesn't happen on my Android.

The issue is related to Safari on macOS and iOS. When you use any browser other than Safari on iOS you're actually still using Safari and the WebKit engine. That's why you can reproduce the same issue on Firefox on iOS.

All 7 comments

I can reproduce on Safari 12.1, although I'm unfortunately not able to find any other information. I suspect it's related to using an audio only source in a <video> tag.

I have no idea how the audio extraction gets handled, but how about simply changing the tag to <audio> when switching mode?

I also have this bug on Safari

how about simply changing the tag to <audio> when switching mode?

This doesn't appear to resolve the issue unfortunately. I expect it's a bug in Safari, since it's possible to reproduce the issue with a plain <audio> element and only one source. I can't find any other examples of people encountering this bug however, so I'm still not sure what the issue may be.

Hi. I tried audio mode in Firefox for iOS (23.0) and the issue appears there as well. I'm wondering if the issue is isolated to iOS, because it doesn't happen on my Android.

@jbmorris289:

I tried audio mode in Firefox for iOS (23.0) and the issue appears there as well. I'm wondering if the issue is isolated to iOS, because it doesn't happen on my Android.

The issue is related to Safari on macOS and iOS. When you use any browser other than Safari on iOS you're actually still using Safari and the WebKit engine. That's why you can reproduce the same issue on Firefox on iOS.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dimqua picture dimqua  路  4Comments

atahanacar picture atahanacar  路  3Comments

kozross picture kozross  路  3Comments

tmiland picture tmiland  路  4Comments

elypter picture elypter  路  4Comments