2010-12-27 19:00:27 -05:00
|
|
|
// Bryan Schumaker (12 / 27 / 2010)
|
|
|
|
|
|
|
|
function control(action)
|
|
|
|
{
|
|
|
|
send_request("controls.py?a=" + action);
|
|
|
|
}
|
|
|
|
|
|
|
|
function play()
|
|
|
|
{
|
|
|
|
control("play");
|
|
|
|
}
|
|
|
|
|
|
|
|
function pause()
|
|
|
|
{
|
|
|
|
control("pause");
|
|
|
|
}
|
|
|
|
|
|
|
|
function stop()
|
|
|
|
{
|
|
|
|
control("stop");
|
|
|
|
}
|
|
|
|
|
|
|
|
function next()
|
|
|
|
{
|
|
|
|
control("next");
|
|
|
|
}
|
2010-12-27 22:07:24 -05:00
|
|
|
|
|
|
|
function forward()
|
|
|
|
{
|
|
|
|
control("forward");
|
|
|
|
}
|
|
|
|
|
|
|
|
function rewind()
|
|
|
|
{
|
|
|
|
control("rewind");
|
|
|
|
}
|