summaryrefslogtreecommitdiffstats
path: root/templates/p.html
diff options
context:
space:
mode:
authorraylu <raylu@mixpanel.com>2011-08-06 04:32:48 -0700
committerraylu <raylu@mixpanel.com>2011-08-06 04:33:45 -0700
commit66e9baf1629a413ec0001dae57d40189dafe4f2f (patch)
treecd6820b7e1af72926ac58f76220c721e5fba1509 /templates/p.html
parent4639fcf237c9ba232dd4d8d826731cc33d678e8e (diff)
downloadaudioaxis-66e9baf1629a413ec0001dae57d40189dafe4f2f.tar.xz
re-id section, canvas. change listen to local-only
Diffstat (limited to 'templates/p.html')
-rw-r--r--templates/p.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/p.html b/templates/p.html
index b595377..8f7557f 100644
--- a/templates/p.html
+++ b/templates/p.html
@@ -23,7 +23,7 @@
</header>
<article>
{{range .Songs}}
- <section class="song">
+ <section class="song" id="{{.Yid}}">
<div class="info">
<a href="http://www.youtube.com/watch?v={{.Yid}}">{{.Title}}</a>
</div>
@@ -35,7 +35,7 @@
<div class="thumb">
<img src="http://i.ytimg.com/vi/{{.Yid}}/1.jpg" alt="{{.Yid}}">
</div>
- <canvas id="{{.Yid}}" width="700" height="20"></canvas>
+ <canvas id="c_{{.Yid}}" width="700" height="20"></canvas>
<br>
<img src="/static/player_play.png" alt="Play" onclick="play('{{.Yid}}')" id="play_{{.Yid}}">
<img src="/static/player_pause.png" alt="Pause" onclick="pause('{{.Yid}}')" id="pause_{{.Yid}}">