question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fix playback of Deezer tracks

See original GitHub issue

openwhyd.org is an open-source music platform used daily by thousands of users to create playlists of songs from the web (Youtube, Soundcloud, etc…), and discover musical gems from similar users.

Tech stack: Node.js, MongoDB, Docker, Mocka, Webdriver.io, jQuery, Electron + iOS app


Problem

Deezer tracks do not play from openwhyd.org anymore.

Example: click on the play icon from https://openwhyd.org/c/53034e7f200c8a632700022a => the music should start within 2 seconds, but it does not…

Here’s what is displayed in the JavaScript console:

image

=> Hypothesis: Deezer’s SDK / API may have changed.


Howto

In order to solve this issue, please create a Pull Request after reading about playemjs’ debug/fixing process: https://github.com/openwhyd/openwhyd/blob/master/docs/playemjs-fix-procedure.md.

First, you may want to read about:

  • How to install, setup and run Openwhyd on your computer: INSTALL.md
  • How to propose a valuable contribution to this repo: CONTRIBUTING.md

I will be happy to assist you at any stage, if you want to try to solve this issue! If you have any question, just leave a comment below. Beginners are also welcome! 🤗

<bountysource-plugin>

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
adrienjolycommented, Jul 17, 2017

If you want to try to make a fix, don’t forget to:

1reaction
Marinlemaignancommented, Jul 18, 2017

Re! I managed to get more informations about that error… it seems it’d be some kind of CORS issues… Those logs come from firefox that just seem to let it go through at some point, although chrome for exemple doesn’t…

SecurityError: Permission denied to access property "href" on cross-origin object

Chargement du contenu mixte d’affichage « http://e-cdn-preview-a.deezer.com/stream/ac64e4af7a06fe33b4b0c356a7864751-3.mp3 » (non sécurisé) sur une page sécurisée[En savoir plus]

And basically, chrome never seems to reach that step… : DZ.override_https() from channel file true and just goes

youtube iframe stop:
DEEZER STOP

While firefox seems to asynchronously do the job… there you’ll notice that if you add two deezer tracks in a row in a playlist, and play the first one, but start a second one… they’ll play at the same time (over each other)…

Does that means anything to you? Do you think i’m on the right track?

UPDATE : There are also mentions being sent of Flash not being accessible/installed (although it defo is on my machine)

UPDATE 2 :

Refused to display 'https://connect.deezer.com/oauth/auth.php?app_id=190482&format=channel&redirect_uri=http://localhost:8080/html/channel.html&response_type=token' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Problems With Playing Music On Mobile - Deezer Support
Uninstall the Deezer app · Turn off your device and remove your SD card · Restart your device and reinstall the app again...
Read more >
Top 8 Fixes When Deezer Not Playing Songs - Tunelf
Part 2 How to Fix Deezer Not Playing Songs · 1) Tap the gear icon (Settings) on the top right corner of the...
Read more >
Stuttering/halting playback both in the browser and in the ...
I am using Deezer from Central Europe (Hungary), and in the past few days encountered issues with playback numerous times. The song simply ......
Read more >
Deezer Keeps Crashing? These Quick Fixes Usually Work
How to Uninstall Deezer on Android · Tap and hold the Deezer app icon. · Select Uninstall and confirm you want to delete...
Read more >
How to Fix Deezer Not Playing Songs | Tunelf - YouTube
Have you ever encounter the Deezer not playing songs as usual? No worries, we made this guide to help you out! For details,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found