What is the proper way to display plugin in IE ?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
hax001
Blank Cone
Blank Cone
Posts: 20
Joined: 27 Aug 2013 01:38

What is the proper way to display plugin in IE ?

Postby hax001 » 27 Aug 2013 18:38

In a web page I have the following:

Code: Select all

<object id="vlc" type="application/x-fb-vlc" width="352" height="288" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://download.videolan.org/pub/videolan/vlc/last/win32/axvlc.cab" > <param name="windowless" value="true" /> <param name="bgcolor" value="#0b0" /> <param name="src" value="rtsp://10.120.7.193/stream1" /> <param name="AutoPlay" value="True" /> <param name="version" value="VideoLAN.VLCPlugin.2" /> <param name="toolbar" value="false" /> <param name="height" value="500" /> <param name="width" value="500" /> <param name="allowfullscreen" value="false"/> <embed id="vlc" bgcolor="#00bb00" type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" windowless="true" version="VideoLAN.VLCPlugin.2" width="500" height="500" loop="yes" toolbar="no" autoplay="yes" target="rtsp://10.120.7.193/stream1" allowfullscreen="no" > </embed> </object> <canvas id="mouseLayer"></canvas>
Is this the proper way to implement for Chrome / IE?

I am displaying the X/Y coordinates of the mouse when in the mouseLayer.

In IE, the layer extends past the video, and coordinate updating occurs quickly. When over the actual video, there seem to be some lag in this. This may not be that big of a deal, but curious if anyone else has seen this behavior, or if I'm implementing this incorrectly?

Part of my code displays right/left, double left/right clicks, however this code does not fire in IE (using jQuery).

When double-clicking in IE, even though allowfullscreen=false, the video still goes full screen. Is there a way to disable the plugin's mouse controls to allow my JS ones that are bound to the layover div?


Thanks.

hax001
Blank Cone
Blank Cone
Posts: 20
Joined: 27 Aug 2013 01:38

Re: What is the proper way to display plugin in IE ?

Postby hax001 » 29 Aug 2013 17:22

With regards hindering fullscreen mode in IE, I replaced

Code: Select all

<param name="allowfullscreen" value="false"/>
with

Code: Select all

<param name="fullscreenenabled" value="false"/>


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 15 guests