Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JMPerez committed Jan 20, 2013
1 parent e2ef747 commit f5025c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ So far it supports the following websites. Notes about installation can be found
### All Music
It woeks with any track, album or artist page.

* [Track page (i.e. Someone Like You by Adele)](http://www.allmusic.com/song/someone-like-you-mt0040297377])
* [Album page (i.e. 21 by Adele)](http://www.allmusic.com/album/21-mw0002080092])
* [Artist page (i.e. Adele)](http://www.allmusic.com/artist/adele-mn0000503460])
* [Track page (i.e. Someone Like You by Adele)](http://www.allmusic.com/song/someone-like-you-mt0042770499)
* [Album page (i.e. 21 by Adele)](http://www.allmusic.com/album/21-mw0002080092)
* [Artist page (i.e. Adele)](http://www.allmusic.com/artist/adele-mn0000503460)

### Amazon

Expand Down
2 changes: 1 addition & 1 deletion js/providers/amazon.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ SP.Providers.Amazon = function() {
if (track) {
callbackFound(track + " - " + artist);
SP.Search.searchTrack(track + " - " + artist, function(href) {
$('<iframe style="float:right" src="https://embed.spotify.com/?uri=' + href + '" width="250" height="80" frameborder="0" allowtransparency="true"></iframe>')
$('<iframe style="padding:1em" src="https://embed.spotify.com/?uri=' + href + '" width="250" height="80" frameborder="0" allowtransparency="true"></iframe>')
.prependTo('.productImageGrid');
}, function() {
clallbackNotFound();
Expand Down
2 changes: 1 addition & 1 deletion js/providers/youtube.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ SP.Providers.Youtube = function() {
if (title) {
SP.Search.searchTrack(title, function(href) {
callbackFound(title);
$('<iframe style="float:right;padding:1em" src="https://embed.spotify.com/?uri=' + href + '" width="250" height="80" frameborder="0" allowtransparency="true"></iframe>')
$('<iframe style="padding:1em" src="https://embed.spotify.com/?uri=' + href + '" width="250" height="80" frameborder="0" allowtransparency="true"></iframe>')
.prependTo('#watch7-main');
}, function() {
clallbackNotFound();
Expand Down

0 comments on commit f5025c8

Please sign in to comment.