Set a custom start-volume

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Set a custom start-volume

Postby da2424 » 28 Aug 2013 22:20

Hi,

I want to set a custom start volume. I make this currently with the onload event of the body-tag. With the web plugins v2.0.x it works fine. But with the versions >= 2.1.0 it does not longer work. Only when I use 'setTimeout' with about 1000ms, it works.
This issue occurs with both web plugins (activex and mozilla).

Example code:

Code: Select all

<!DOCTYPE html> <html> <body onload="vlc.audio.volume = 50;"> <embed id="vlc" type="application/x-vlc-plugin" src="file:///c:/example.mp4" autoplay="true" width="640" heigt="480" /> </body> </html>

My Questions are now:

-Is this a known issue?
-Why does not exist a tag-attribute for this purpose?

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 19 guests