Skip to content

Commit

Permalink
amazon banner add 😉
Browse files Browse the repository at this point in the history
  • Loading branch information
maddhruv committed Mar 22, 2017
1 parent 8411a1f commit 166c982
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ function song(i, id){
songTitle = json.items[0].snippet.title;
link = "https://ytqck.github.io/play?id="+id;
result[i] = '<div class="sc"><div class="sci"><div class="sciup"><div class="songT"><h3><a href="'+link+'">'+songTitle+'</a></h3></div><div class="songL"><span class="link">'+link+'</span></div></div><div class="scidwn"><div class="msde"><span class="length" data-time="'+id+'"></span> | <span class="bitrate" data-bit="'+id+'"></span> | <span class="filesize" data-size="'+id+'"></span></div><span class=""><a data-id="'+id+'" type="button" class="actions download">Download</a></span></div></div><div class="player"></div></div>';
if(i==2){
result[i] = '<div class="sc"><div class="sci"><div class="sciup"><div class="songT"><h3><a href="'+link+'">'+songTitle+'</a></h3></div><div class="songL"><span class="link">'+link+'</span></div></div><div class="scidwn"><div class="msde"><span class="length" data-time="'+id+'"></span> | <span class="bitrate" data-bit="'+id+'"></span> | <span class="filesize" data-size="'+id+'"></span></div><span class=""><a data-id="'+id+'" type="button" class="actions download">Download</a></span></div></div><div class="player"></div></div> <iframe src="//rcm-na.amazon-adsystem.com/e/cm?o=1&p=12&l=ur1&category=primemain&banner=1MDTME9E9G651CJTDA82&f=ifr&linkID=b2d00fa4f1d814399a295c14eb125550&t=midhruvjaink-20&tracking_id=midhruvjaink-20" width="300" height="250" scrolling="no" border="0" marginwidth="20" style="border:none;" frameborder="0"></iframe>';
}
$(".result").append(result[i]);
});
download(i, id);
Expand Down

0 comments on commit 166c982

Please sign in to comment.