Prev Previous Post   Next Post Next
Old 28th April 2014, 23:09
DJ_Mauro DJ_Mauro is offline
Junior Member
Join Date: May 2013
Posts: 2
Unhappy Htlm API buttons only. How to?

greetings, i whould like to add the html API on my site. I need only buttons to be able to play, pause, and adjust volume. I've basic knowledge of HTML, i've tried to do it by miself but it doesn't works. Can anyone help me? This what i've on my html file.

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">

<script type="text/javascript" src="swfobject.js"></script>
<script src="mootools.js" language="javascript"></script>
<script src="slider.js" language="javascript"></script>

<script type="text/javascript">
params = { AllowScriptAccess: 'always' };

"livestreamPlayer", "533", "300", "9.0.0", "expressInstall.swf", null, params);

function livestreamPlayerCallback(event) {
eventDiv = document.getElementById('log');
eventDiv.innerHTML = eventDiv.innerHTML + event + '<br/>';

if (event == 'ready') {
player = document.getElementById("livestreamPlayer");
player.setDevKey(' my code here ');
player.load(' my channel name ');

log = document.getElementById('log');
log.innerHTML = log.innerHTML + '<br/>' + event;
"livestreamPlayer", "400", "300", "9.0.0", "expressInstall.swf", null, params);


<body style="

background: black;
margin: -2;


<input type="button" value="play" onclick="player.startPlayback()" />
<input type="button" value="pause" onclick="player.stopPlayback()" />
<input type="button" value="vol +" onclick="player.volumeUp()" />
<input type="button" value="vol -" onclick="player.volumeDown()" />

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump