FFmp3 Javascript accessibility

stevegl89

New Member
Hi, we've recently upgraded to the more robust (in terms of live streaming) FFmp3 flash player, opposed to the minicaster we were using previously.

the problem we are facing is that previously we had a play/pause button for visually impaired users, that was controlled with javascript.

it was assumed that the js code would be the same for this player, but everything i have tried does not work.

Does anyone else has a button with play/pause functionality in javascript working for this player? if so, help would be appreciated.

probably worth mentioning, our previous player (also flash/swf) used this code;

<script language="JavaScript">
<!--
function getObject(_x) {
// used to locate the Flash asset in the DOM. Works reliably on FF, IE and Safari.
return document.getElementById(_x);
}
function toggle() {
// changes between play and pause. To force audio to stop use '0' in the function.
getObject("liveP").sentEvent("STOP");
alert("toggle()");
}
// -->
</script>

Thanks.
Take care,
Steve.
 
Last edited:

stevegl89

New Member
OK thanks...call me dense, but the site doesn't offer any way to get in touch / ask any questions (such as a forum, or support quires), hence me asking here as a last resort.

I may try and email the creator directly.

Thanks anyway.
Take care,
Steve.
 

Support

Level 1 Support
Staff member
We have emailed the FFMP3 creators directly before and got a friendly response. Maybe drop them a small donation too ;)
 
Top