how can i set vlc plugin size in ie 11

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
wearybird
New Cone
New Cone
Posts: 1
Joined: 21 Sep 2016 10:03

how can i set vlc plugin size in ie 11

Postby wearybird » 21 Sep 2016 10:12

i has embed a vlc plugin in ie11 :
<div class="popup popNor wayfx none" style="width: 860px;height:560px;" id="videoLivePOP">
<div class="bd" style="width: 820px;height:500px;">
<object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
id="vlc" width="100%" height="100%"
events="True">
<param name="MRL" value="" />
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="False" />
<param name="AutoPlay" value="False" />
<param name="Volume" value="50" />
<param name="toolbar" value="true" />
<param name="StartTime" value="0" />
<param name="text" value="Waiting for video" />
</object>
</div>
</div>
when i show the div videoLivePOP ,vlc object html changed :
<div class="popup popNor wayfx none" id="videoLivePOP" style="left: 369px; top: 121.5px; width: 860px; height: 560px; display: block; position: fixed; z-index: 9;">
<div class="bd" style="width: 820px; height: 500px;">
<object width="3" height="2" id="vlc" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" style="left: 0px; top: 0px; width: 3px; height: 2px;" events="True">
<param name="MRL" value="">
<param name="ShowDisplay" value="True">
<param name="AutoLoop" value="False">
<param name="AutoPlay" value="False">
<param name="Volume" value="50">
<param name="toolbar" value="true">
<param name="StartTime" value="0">
<param name="text" value="Waiting for video">
</object>
</div>
</div>
can anyone tell me why ? how can i set vlc object size?

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: how can i set vlc plugin size in ie 11

Postby da2424 » 22 Sep 2016 20:54

The html attributes with and height always expect pixels as value. For percentage values, use CSS instead:

Code: Select all

... <object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" id="vlc" style="width:100%; height:100%" events="True"> ...


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 25 guests