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?