can't play video with sound=0 or MUTE?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
michi
New Cone
New Cone
Posts: 2
Joined: 24 Aug 2014 19:11

can't play video with sound=0 or MUTE?

Postby michi » 24 Aug 2014 19:22

Hi all,
I'm trying to create a simple webpage with a VLC ActiveX to play a ipcam stream, but I need it without audio (volume=zero or mute)
I tryed all the day to do this with volume and mute command, without success...

When ipcam streaming start audio will be set to 100, even volume control was set to 0 or mute was true..

I read that other users had this problem...

Anyone know a method to play video with audio volume set to 0 or mute? (repeat: volume and mute command doesn't work)

thanks in advance

Michi

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: can't play video with sound=0 or MUTE?

Postby RSATom » 25 Aug 2014 04:52

You could attach to some event ( MediaPlayerPlaying for example ) and set volume/mute there

https://wiki.videolan.org/Documentation:WebPlugin/

michi
New Cone
New Cone
Posts: 2
Joined: 24 Aug 2014 19:11

Re: can't play video with sound=0 or MUTE?

Postby michi » 25 Aug 2014 07:43

thanks for your reply Tom. unfortunately I'm not an expert of ActiveX...

How can I modify this code in order to play mute?

Code: Select all

<html> <body bgcolor="#000000"> <object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" width="768" height="440" id="vlc" events="True" align="middle"> <param name="AutoLoop" value="0"></param> <param name="AutoPlay" value="-1"></param> <param name="Toolbar" value="-1"> <param name="MRL" value="rtsp://guest:guest@172.17.2.101:88/videoMain"> <param name="Visible" value="-1"> <param name="BackColor" value="0"> <param name="FullscreenEnabled" value="-1"></object> <param name="Volume" value="true"> </object> </body> </html>
thanks in advance for your support. I'm going cracy for this problem...

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: can't play video with sound=0 or MUTE?

Postby RSATom » 25 Aug 2014 07:48



Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 7 guests