Opened 15 months ago

Last modified 12 months ago

#6456 new defect

Spotify freezes when it tries to play a blocked ad

Reported by: weissmar Assignee:
Priority: Unknown Milestone:
Module: Platform Keywords:
Cc: kzar, mjethani, mapx, sebastian, fhd, sergz, hfiguiere Blocked By:
Blocking: Platform: Chrome
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description

Environment

Windows 10, Chrome 64.0.3282.186, Adblock Plus 1.13.5, EasyList and EasyPrivacy

How to reproduce

  1. Go to https://open.spotify.com (the Spotify web player) and sign in
  2. Open the developer tools to the Adblock Plus tab so you can see the blocked requests
  3. Start playing an album
  4. Let the album keep playing until the end of the album

...

Observed behaviour

After an audio ad is blocked multiple times (somewhere between 2 and 6 times), Spotify will freeze. The album won't start playing again, even if the page is refreshed. It will play again if you navigate back to https://open.spotify.com/browse/featured and click on the album again.

Expected behaviour

All ads should be blocked and the songs in the album should keep playing through the end of the album.

Notes:
We (AdBlock) have received reports of this happening with AdBlock Plus, AdBlock, and uBO (although it sounds like uBO may have fixed it on their end: https://github.com/uBlockOrigin/uAssets/issues/448). It looks like uBO's solution is to redirect the media ad request to a dummy media file to prevent Spotify from hanging. We've also had reports that say that an ad is displayed on the far right of the now playing bar when Spotify hangs, but I haven't seen this behavior personally.

Change History (4)

comment:1 Changed 15 months ago by mapx

  • Cc kzar mjethani mapx added

comment:2 Changed 15 months ago by kzar

  • Cc sebastian fhd sergz hfiguiere added
  • Component changed from Unknown to Platform

This seems like a pretty good example of why adding the $redirect filter option might be useful. See these related commits.

I'm in favour of adding the $redirect option assuming it doesn't turn out to be impractical for some reason I didn't consider. Any opinions?

comment:3 Changed 15 months ago by sebastian

Sounds reasonable. No objections adding a $redirect filter option.

comment:4 Changed 12 months ago by mjethani

Would the new $rewrite option help here?

Note: See TracTickets for help on using tickets.