[Intermittent] Sometimes youtube embed fails and automatically opens a browser link

(#1727) Bug Fixed embeds mobile

Observed behaviour

Sometimes it hangs for a bit as if it is loading, then suddenly opens the youtube link in a browser. This is two unexpected behaviors in one:
  1. The embedded player isn't playing the video back randomly
  2. When it opens to a browser, it doesn't provide the warning that you are opening an external link like it would if you tapped on the link itself.
When the first unexpected behavior occurs, it seems to allow playback in the embedded player if you wait around 20 minutes. I assume it's something on Google's end that is triggering this. I understand if this issue is not possible to resolve, but the second unexpected behavior should be fixed at least.

Reproduction steps

  1. Play a youtube video in the embedded player

Build information

Beta 54, Version 1.0.0, Android 16 (arm64), Device Google Pixel 9a, Locale en-US, Push fcm, Flutter 3.44.1, Dart 3.12.1

Platform

Android

Details

Expected behaviour It should play.
  1. Rex changed the status from Needs triage to Fixed

1 comment

Sign in with Fluxer to comment and vote.
Comment by mesub
mesubMod 1 vote
Can reproduce CR: Beta 2055, Version 1.0.0, Android 13 (arm64), Device Xiaomi M2103K19G, Locale en-GB, Push unifiedpush, Flutter 3.44.1, Dart 3.12.1 | NB: YouTube must suspect your IP is high volume/suspicious for the best results. This is best done with a VPN. It may take a few attempts