The player is playing!
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
$ ->
|
||||
$(".auth a").bind "mouseup", (e) ->
|
||||
e.preventDefault()
|
||||
if BeatHaven.authenticated
|
||||
alert("auth ok!!!!!")
|
||||
else
|
||||
BeatHaven.VK.popup()
|
||||
@@ -0,0 +1,9 @@
|
||||
$ ->
|
||||
$(".player .controls .prev").live "click", (e) ->
|
||||
BH.Player.prev()
|
||||
$(".player .controls .play").live "click", (e) ->
|
||||
BH.Player.play()
|
||||
$(".player .controls .pause").live "click", (e) ->
|
||||
BH.Player.pause()
|
||||
$(".player .controls .next").live "click", (e) ->
|
||||
BH.Player.next()
|
||||
@@ -0,0 +1,5 @@
|
||||
$ ->
|
||||
$(".track-play").live "click", (e) ->
|
||||
e.preventDefault()
|
||||
id = parseInt($(this).parent().data("id"), 10)
|
||||
BH.Player.tracks.get(id).play()
|
||||
Reference in New Issue
Block a user