mozilla / popcorn-js

The HTML5 Media Framework. (Unmaintained. See https://github.com/menismu/popcorn-js for activity)
MIT License
2.14k stars 632 forks source link

Extract soundcloud client_id and api js urls constants to a changeable variable #448

Open jtomaszewski opened 9 years ago

jtomaszewski commented 9 years ago

This way, I can use different soundcloud client_id just by Popcorn.SOUND_CLOUD_CLIENT_ID = "123"; before initializing a popcorn soundcloud wrapper.

This change is backward compatible - it just uses the old client_id token, if it hasnt been changed.