Giter Club home page Giter Club logo

javascript-samples's Introduction

Deezer

Samples for the Deezer Javascript SDK

Full documentation is available on Deezer Developers website: http://developers.deezer.com/sdk/javascript

Basic Custom Player

This sample provides a very simple example of a custom Deezer player using the Javascript SDK. You'll also find sample API requests such as searchings for artists, retrieving an album cover, etc.

Deezer Light

Made during a hackathon, this project show you how to use the Javascript SDK to build mini Deezer thanks to the generous API. It uses AngularJS and is inspired by Bluroon. You can test with the demo or install on your own server by providing a valid APP_ID and CHANNEL_URL.

javascript-samples's People

Contributors

julaie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

javascript-samples's Issues

Broken examples

Hello,

I try the player_basic.html example and it looks broken (inactive player and all button are inactives). I'm on Ubuntu / Firefox 78.0.1.
In the web console, there's an error :

Uncaught (in promise) TypeError: e[t] is undefined
i https://cdns-files.dzcdn.net/js/min/dz-v00401202.js:2
n https://cdns-files.dzcdn.net/cache/js/legacy.d4bebcd0f24198004bf4.js:2
s https://cdns-files.dzcdn.net/cache/js/legacy.d4bebcd0f24198004bf4.js:2

The same error appear on the Deezer Javascript SDK examples on the official documentation

Deezer JavaScript SDK invisible player not working in Chrome.

It looks like because of Chrome restriction to iframe autoplay I can't get invisible player working in Chrome.

DZ.player.play() just not seems to work and DZ.player.seek(1) fails with this one:

player-HTML5Renderer.8af98a26e99674f368c5.js:1 Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD

Any ideas how to handle it?

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.