27 lines
266 B
JavaScript
27 lines
266 B
JavaScript
|
// 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");
|
||
|
}
|