VLC embedded to IE9?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
jjjj
New Cone
New Cone
Posts: 8
Joined: 09 Sep 2010 22:25

VLC embedded to IE9?

Postby jjjj » 21 Sep 2010 20:51

Hi!

I got the ActiveX plugin to work in IE8 using the following code, but the page doesn't work after upgrading IE9 beta. In that case sounds and controls work, but the actual video can't be seen. Anybody has a solution? Is this due to IE9 or the plugin?

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <title>Myvids</title> <link href="main.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="player"> <object type="application/x-vlc-plugin" id="vlcplayer" width="720px" height="540px" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"> <param name="volume" value="100" /> <param name="autoplay" value="true" /> <param name="loop" value="false" /> </object> </div> <h1>My vids</h1> <ol> <li><a href="javascript:;" onclick='player();'>Click a vid!</a></li> </ol> <script type="text/javascript" language="javascript"> function player() { var vlc = document.getElementById("vlcplayer"); try { var id = vlc.playlist.add("Vid1.flv"); vlc.playlist.playItem(id); } catch (ex) { alert(ex); } } </script> </body> </html>

mysoogal
Blank Cone
Blank Cone
Posts: 82
Joined: 28 Oct 2008 12:39

Re: VLC embedded to IE9?

Postby mysoogal » 06 Nov 2010 03:01

http://33t.co.cc/Theora-PluginKIT.zip

make sure you install vlc 1.0.5 with active X enabled for your operating system during install of vlc

i have tested this plugin in IE9 and firefox 4, and safari 4,5 they all work

Jules1974
New Cone
New Cone
Posts: 1
Joined: 08 Jul 2011 12:16

Re: VLC embedded to IE9?

Postby Jules1974 » 08 Jul 2011 12:22

Hi

Can you please post a valid link to them plugins, im having dificulty with the one provided.

Also is this still the best workaround?.

Cheers
Jules

roma0104
New Cone
New Cone
Posts: 2
Joined: 14 Aug 2011 03:46

Re: VLC embedded to IE9?

Postby roma0104 » 14 Aug 2011 04:52

I would like to find a solution to this as well. I know absolutely nothing about ActiveX so that does not help. I get sound and controls to work but no video in the main browser window. If you tell it to go fullscreen you THEN can see the video. I could just use HTML5 for the video for IE9 but I need to try and get ActiveX+VLC to work so I can do online training videos at my workplace (w/o fullscreen) for some of my outer retail outlets which mostly use IE6+XP Pro STILL. I read a post on MSDN that claimed that now IE9 follows strict guidelines (when has IE ever followed guidelines? HA!) restricting arbitrary video streams and to disable autoplay but that does not work either. But it was the usual figure pointing. Some saying it is a VLC problem, no one picking up the mantle to figure it out or considering it might be a problem with IE.

roma0104
New Cone
New Cone
Posts: 2
Joined: 14 Aug 2011 03:46

Re: VLC embedded to IE9?

Postby roma0104 » 14 Aug 2011 05:14

I tried following one of the pieces of advice on the wiki, and turned "Allow software to install or run even if the signature is invalid" on and now it shows the video, but I do not like that solution... But that kind-of solves it.

***Or you can add you server to the trusted list with the default setting and that fixes the problem as well. And it is a safer solution.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 7 guests