Greetings all!
I've got the following working fine but I want the stream to start up in a MUTED state. Firing off the vid.audio.toggleMute() doesn't work because that only engages once the video has started playing and well, the stream takes a second to start so the mute command is lost.
Is there a way to do this in the EMBED below which works just fine? I've tried all types of ONLOAD, ONPLAY, etc... to fire the script off but those are not firing.
<embed pluginspage="http://www.videolan.org"
type="application/x-vlc-plugin"
version="VideoLAN.VLCPlugin.2"
id="src{$box.name}"
width="200"
height="120"
autoplay="yes" loop="no"
target="rtsp://{$box.ip}/stream.sdp"
/>
btw yes, I'm using smarty which injects the IP into the target params along with the name of the stream in the id.
volume="0" doesn't work either.
Oh and once loaded, a button created to fire off the mute command works just fine so I know the muting functionality works.
UPDATE: So for some reason the audio.setVolume doesn't seem to be supported anymore?
My entry:
vid_unit_name.audio.setVolume = vol; or = "0"; returns the error: "undefined is not an object (evaluating 'vid_unit_name.audio...etc)"
Sooo... ???
Peter