{"id":16151235,"url":"https://github.com/njasm/yii-soundcloud-player-widget","last_synced_at":"2025-04-06T22:44:47.447Z","repository":{"id":5335914,"uuid":"6521354","full_name":"njasm/Yii-Soundcloud-Player-Widget","owner":"njasm","description":"Yii Framework Widget to embed Soundcloud.com html5 (or old Flash) Player into your Yii web apps.","archived":false,"fork":false,"pushed_at":"2012-11-14T20:45:45.000Z","size":136,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T05:15:44.407Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/njasm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-03T16:13:25.000Z","updated_at":"2013-09-30T16:05:46.000Z","dependencies_parsed_at":"2022-07-05T23:32:12.034Z","dependency_job_id":null,"html_url":"https://github.com/njasm/Yii-Soundcloud-Player-Widget","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njasm%2FYii-Soundcloud-Player-Widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njasm%2FYii-Soundcloud-Player-Widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njasm%2FYii-Soundcloud-Player-Widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njasm%2FYii-Soundcloud-Player-Widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/njasm","download_url":"https://codeload.github.com/njasm/Yii-Soundcloud-Player-Widget/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247563917,"owners_count":20958971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T00:55:16.327Z","updated_at":"2025-04-06T22:44:47.420Z","avatar_url":"https://github.com/njasm.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Yii Framework Widget to embed Soundcloud html5 Player into Yii Framework web apps.\n\n### Instalation\n\n* Copy __**yiiSoundcloudPlayerWidget.php**__ into your __**/protected/extensions/**__\n\n### Changelog\n\n* 0.0.3\n    2. Code Optimization\n* 0.0.2 \n    1. Added **devel** parameter to print out or not, the cURL and Soundcloud API errors \n    2. Cache support for high-traffic web apps and Soundcloud api polite usage :) - params **cache** and **cacheTime**\n    (see Full Parameters Example for usage)\n* 0.0.1 \n    1. Initial Version\n\n### How To Use\n\nInside your View file call the widget with:\n\n#### Minimal Parameters Single Url\n\n```php\n\u003c?php $this-\u003ewidget('ext.yiisoundcloudplayerwidget', array(           \n    'url' =\u003e 'http://www.soundcloud.com/cutloosemusic'  // you can put here a profile, group, playlist or track url\n)); \n?\u003e  \n```\n\n#### Minimal Parameters Multi Url\n\n```php\n\u003c?php $this-\u003ewidget('ext.yiisoundcloudplayerwidget', array(           \n    'url' =\u003e array('http://www.soundcloud.com/cutloosemusic', // this is a profile\n        \"http://soundcloud.com/hybrid-species/she-wants-revenge-take-the\" // this a direct link to a track\n    ),          \n)); \n?\u003e  \n```\n\n#### Full Parameters\n\n```php\n\u003c?php $this-\u003ewidget('ext.yiisoundcloudplayerwidget', array(\n    'devel'         =\u003e false,       // default is true. if true all curl and api errors will be printed out, if any.\n    'cache'         =\u003e false,       // default is true. will use Yii cache system ( Data Caching ).\n    'cacheTime'     =\u003e 600,         // default is 5 minutes (300 seconds) to keep data in cache server.\n    'maxwidth'      =\u003e 50,          // default I believe is 100. maxwidth in px.\n    'maxheight'     =\u003e 305,         // default is 81 for tracks and 305 for all others.\n    'color'         =\u003e 'ffaa66',    // default is Soundcloud color. hex triplet for player primary color.\n    'auto_play'     =\u003e false,       // default is false.                \n    'show_comments' =\u003e false,       // default is true. TimeBased comments on waveform.\n    'iframe'        =\u003e true,        // default is true =\u003e html5 player. false =\u003e old Adobe Flash player.        \n    'url' =\u003e array('http://www.soundcloud.com/cutloosemusic', // this is a profile\n        \"http://soundcloud.com/hybrid-species/she-wants-revenge-take-the\" // this a direct link to a track\n    ),      \n)); \n?\u003e\n```  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjasm%2Fyii-soundcloud-player-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnjasm%2Fyii-soundcloud-player-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjasm%2Fyii-soundcloud-player-widget/lists"}