On 11/13/06, Bob La Quey <[EMAIL PROTECTED]> wrote:
On 11/13/06, Todd Walton <[EMAIL PROTECTED]> wrote:
> On 11/12/06, Bob La Quey <[EMAIL PROTECTED]> wrote:
> > I should add that I get that ugly little green icon that
> > looks like a puzzle piece and a message to the effect
> > that I need other plugins ... following the links back
> > to the mozilla site is not very enlightening :(
>
> Which links back to the mozilla site? When I've seen that icon, I can
> click directly on it and it takes me to the appropriate page for
> downloading the plugin, which is usually not mozilla.org.
>
> -todd
But it did not take me anywhere useful. I spent almost two days
on this .... then finally it took all of about ten minutes to solve
when I figured out what to do and found the right plugin and
how to install it ... I hate it when that happens.
I will say it works great now, exactly like I wanted.
BobLQ
As further comment I should say the secret sauce had two parts:
1) http://plugindoc.mozdev.org/linux.html
which documents plugins and how to install them
2) The package manager Synaptic, a GUI wrapped around apt
that Ubuntu provides.
The specific issue was installing mplayer, and the mplayerplug-in that
is needed to get Firefox to work with multi-media, specifically in my
case sound. Now I can build DHTML like this:
========================================
<html>
<head>
<script>
function EvalSound(soundobj) {
var thissound= eval("document."+soundobj);
thissound.Play();
}
</script>
</head>
<body>
<embed src="sounds/cow.wav" autostart=false width=0 height=0
name="sound1" enablejavascript="true">
<embed src="tips/thinkingyoung.mp3" autostart=false width=0 height=0
name="sound2" enablejavascript="true">
<!--
Here are examples of an image and a button calling the function.
-->
<a href="#" onMouseOver="EvalSound('sound1')">
Move mouse here
</a>
<a href="#" onMouseOver="EvalSound('sound2')">
<img src="images/login.gif" >
</a>
</body>
</html>
=========================================
When a user of the web site does a mouseOver on a selected link
they will hear a sound. I am building a web site that acts as a contact
manager for a telephony application and this is _exactly_ the behavior
I need.
This sort of thing can with more pain be made cross browser ... but I
don't need that, at least not now. For now just getting it to work with
FF is enough.
Maybe I will bring this to the LPSG on Thursday (Or the new Python
meetup that Chris is pushing). It is an AJAX app with Python on the
backend ...
Onward,
BobLQ
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list