diff options
| author | tim b <timb@camcompu.home> | 2010-07-02 09:26:37 -0700 |
|---|---|---|
| committer | tim b <timb@camcompu.home> | 2010-07-02 09:26:37 -0700 |
| commit | 897d66dc9dd274cfc6d21dc78d90952b09e27909 (patch) | |
| tree | febcb45388eeb37c07ee0fa3930def1203be80b7 /static/js | |
| parent | fb4f8932ad3caf7a5ffdb09685d7424879a92ead (diff) | |
add wavs, make embed a little nicer
Diffstat (limited to 'static/js')
| -rw-r--r-- | static/js/pichat.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js index 7708e70..add7bdb 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -110,7 +110,7 @@ function linkReplace(url) { "<img class='youtube-thumb' width='130' height='97' src='"+Youtube.nextThumbUrl(uri.queryKey.v)+"'>" + "<img class='youtube-controls' src='/static/img/youtube.controls.png'></a>" } else if (type == 'midi' || type == 'wav') { - return '<embed src="'+linkUrl+'" loop="true" autostart="false" volume="80" width="150" height="20"><a href="'+linkUrl+'">('+uri.file+')</a>' + return '<embed src="'+linkUrl+'" loop="true" autostart="false" volume="80" width="150" height="20" style="padding:0;margin:0"><a href="'+linkUrl+'">'+uri.file+'</a>' } else return "<a target='_blank' href='" + linkUrl + "'>" + url + "</a>"; |
