Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1014144 // soundcloudEmbed

JavaX fragment (include)

sS soundcloudEmbed(S trackID) {
  ret soundcloudEmbed(trackID, false);
}

sS soundcloudEmbed(S trackID, bool autoPlay) {
  ret [[
<iframe width="100%" height="300" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/]] + assertInteger(trackID) + [[&color=%23ff5500&auto_play=]] + autoPlay + [[&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true"></iframe>]];
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1014144
Snippet name: soundcloudEmbed
Eternal ID of this version: #1014144/2
Text MD5: 68578b87099cbb0bafbc81c73f58aa88
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-11 16:00:06
Source code size: 492 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 408 / 434
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)