Keyword

Username appearing in Soundcloud widget

  • jordas20
  • jordas20's Avatar Topic Author
  • Offline
  • New Member
More
11 years 5 months ago #53763 by jordas20
Username appearing in Soundcloud widget was created by jordas20
Soundcloud have recently updated their widgets.

Playlists are now showing the username for each title by default. This makes sense for users creating playlists based on favorite tracks or genres for example.

However, you can still have the username hidden by adding the parameter "&show_user=false" to the html code. For example:

<INSERT-USER-SPECIFIC-PLAYLIST-IFRAME-CODE-HERE&show_user=false"></iframe>

Is it possible to build this functionality into AllVideos?

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 5 months ago #53764 by Yiota
Hello,

You could try modifying the AllVideos core file sources.php (plugins/content/jw_allvideos/includes/).

Locate the following block:
// soundcloud.com - http://soundcloud.com/sebastien-tellier/look
"soundcloud" => "
<script type=\"text/javascript\">
	allvideos.ready(function(){
		allvideos.embed({
			'url': 'http://soundcloud.com/oembed?format=js&iframe=true&callback=soundcloud{SOURCEID}&auto_play={PLAYER_AUTOPLAY}&maxwidth={WIDTH}&url={SOURCE}',
			'callback': 'soundcloud{SOURCEID}',
			'playerID': 'avID_{SOURCEID}'
		});
	});
</script>
<div id=\"avID_{SOURCEID}\" title=\"JoomlaWorks AllVideos Player\">&nbsp;</div>
",

You could add it through 'url': 'soundcloud.com/oembed?format=js&iframe=true&callback=soundcloud{SOURCEID}&auto_play={PLAYER_AUTOPLAY}&maxwidth={WIDTH}&url={SOURCE}&show_user=false',

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum