I have some trouble when i resize my browser with this html example code.
What can i do to resolve this problem ?
I'm wondering if the size of the vlc drawing area was fixed at initialisation.
Thanks.
Code: Select all
<html><body>
<div style="position:absolute; left:0px; top:0px;z-index:1;">
<INPUT TYPE="BUTTON" VALUE="Play" ONCLICK="document.video.play()">
<INPUT TYPE="BUTTON" VALUE="Stop" ONCLICK="document.video.stop()">
</div>
<div id="videolayer" style="position:absolute; left:0px; top:0px;height:100%;width:100%">
<embed type="application/x-vlc-plugin" name="video"
autoplay="no" loop="no"
target="/home/manjany/movie.avi"
style="position:relative; left: 25%; top:25%; height:50%; width:50%">
</embed>
</div>
</body></html>