javascript-samples
javascript-samples copied to clipboard
Deezer SDK not playing full songs based on the userAgent
Hi, I am working on a project that uses Deezer Javascript SDK.
If my user agent is recognized as a mobile browser, the player does not play full versions of the songs.
I know this sounds silly but you can replicate the issue by setting your user agent to Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1
and then try using the SDK.
How can I fix this issue or bypass the userAgent checking?