Multiple embedded VLC plugins in Firefox

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
divx118
Blank Cone
Blank Cone
Posts: 95
Joined: 22 Jun 2006 18:19

Re: Multiple embedded VLC plugins in Firefox

Postby divx118 » 02 Nov 2007 19:38

Are people seeing this same problem when using a linux Firefox plugin, or only with Windows?
I don't know for the firefox plugin but in windows ie the plugin crashes also when your only using one object if you refresh the page multiple times. The autoplay issue you mentioned is easy to be solved using a setTimeout in the onload of the body tag and calling a function that starts the video.

Maurice

paries
New Cone
New Cone
Posts: 1
Joined: 25 Nov 2007 18:02

Re: Multiple embedded VLC plugins in Firefox

Postby paries » 25 Nov 2007 18:54

Hi,

Is this problem resolved. I also need to have 4 plugins on single page, when refreshed it crashes on IE also. Any solution? What is the correct way to have multiple plugins on single page, or is a bug in vlc.
urgent help required.

xiaobei
Blank Cone
Blank Cone
Posts: 26
Joined: 01 Feb 2007 06:28
Contact:

Why can not stream 8M UDP ?

Postby xiaobei » 14 Dec 2007 09:57

Hi,everyone
I am puzzled with by a strange phenomena.When I use the command as: vlc -vvv v4l:/dev/video0:channel=1:norm=pal:size=720x576:adev=/dev/dsp:audio=0 --sout '#transcode{vcodec=mp2v,vb=8192,scale=1,fps=30,deinterlace=0,threads=1,acodec=mpga,ab=128,interlace=Bob,channels=2}:duplicate{dst=std{access=udp,mux=ts,url=227.0.0.1:1234}}' ,I find only about 3M flux in my LAN.there is many warnings as:
access_output_udp private warning:send error:Resource temporarily unavailable
But if I use vb=4096,there is about 4M in my LAN,it is right.
Could someone explain the Phenomenon for me ???
Thanks!
xiaobei

mottrobe
New Cone
New Cone
Posts: 1
Joined: 03 Jan 2008 21:59

Re: Multiple embedded VLC plugins in Firefox

Postby mottrobe » 03 Jan 2008 22:04

Indeed, with Mandriva 10 on Firefox 2.0.0.11, a refresh on a page with the vlc embedded plugin will terminate the browser. I'll test on Fedora Core 7 with the same version of Firefox.

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: Multiple embedded VLC plugins in Firefox

Postby revolunet » 04 Jan 2008 09:59

I have the same problem on xp sp2/vlc 0.8.6d

and, with Internet Explorer, dynamic javascript loading of the activex is impossible, i dont know why... do somebody knows ?

thanx
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet

hybrid_00
New Cone
New Cone
Posts: 2
Joined: 09 Aug 2007 13:03

Re: Multiple embedded VLC plugins in Firefox

Postby hybrid_00 » 21 Jan 2008 15:34

I have the same problem on xp sp2/vlc 0.8.6d

and, with Internet Explorer, dynamic javascript loading of the activex is impossible, i dont know why... do somebody knows ?

thanx
It is possible, I just worked on it, the problem is that after loading the activex, it sets its size automatically to width:0px and height:0px... no idea why...
My workout was to wait until the plugin is loaded (document.readyState=='complete') and then set the size of the activex (document.getElementById([yourVLCid]).style.height='[value]px', the same for the width). Now your activex is here - magic :P

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: Multiple embedded VLC plugins in Firefox

Postby revolunet » 25 Jan 2008 11:57

hybrid_00, thanx so much it works dude !!

i will update my small js lib : http://code.revolunet.com/VLCjs to integrate this trick ;)

THANX
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet

lucasmartino
Blank Cone
Blank Cone
Posts: 24
Joined: 02 Jan 2008 20:28
VLC version: 0.8.6
Operating System: Windows/Linux

Re: Multiple embedded VLC plugins in Firefox

Postby lucasmartino » 25 Jan 2008 15:54

Hi,
i have the same problem. Can you show me your solution? I'm using vlc version 0.8.6d

thanks,

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: Multiple embedded VLC plugins in Firefox

Postby revolunet » 25 Jan 2008 16:08

hi

my solution for Internet Explorer is :

Code: Select all

function loadVLC() { var html = '<object id="vlc" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"></object>'; var target_div = document.getElementById("target_div"); target_div.innerHTML = html; target_div.firstChild.style.width = "320px"; target_div.firstChild.style.height= "240px"; }
this must be executed after page onload.

(For Mozilla its easyer, no need to specify width and height)

i use 0.8.6c

i used this trick to make VLCobject js library : http://code.revolunet.com/VLCobject/EN
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet

lucasmartino
Blank Cone
Blank Cone
Posts: 24
Joined: 02 Jan 2008 20:28
VLC version: 0.8.6
Operating System: Windows/Linux

Re: Multiple embedded VLC plugins in Firefox

Postby lucasmartino » 25 Jan 2008 19:50

Can you create more than one vlc plugins in the same page?

zamer
New Cone
New Cone
Posts: 1
Joined: 08 Apr 2008 17:50

Re: Multiple embedded VLC plugins in Firefox

Postby zamer » 08 Apr 2008 18:02

Dear all,
I am using the VLC mozilla plugin to embed two videos at the same page on a Unix Ubuntu system. I went through the posts and somehow i can't make this work! Did anyone find the solution for my case?
should i switch to ie? is it working on windows?
need help here guys

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: Multiple embedded VLC plugins in Firefox

Postby revolunet » 08 Apr 2008 18:06

sorry but i cannot embed multiple VLC under IE or Mozilla in a stable way
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet

aronhuang
New Cone
New Cone
Posts: 2
Joined: 12 May 2008 23:41

Re: Multiple embedded VLC plugins in Firefox

Postby aronhuang » 12 May 2008 23:53

In order to embed multiple VLC plugin in Firefox or IE, a trick is you should not play any video until you embed all the players in your page.
So try to add all the VLC plugin into your page with autoplay set to false first, then use javascript to start the video playback.

Here's an example in Firefox:

Code: Select all

<html> <head> <script type="text/javascript"> function load() { document.video1.play(); document.video2.play(); } function onunload() { document.video1.stop(); document.video2.stop(); } </script> </head> <body onload="load()" onunload="onunload()"> <embed type="application/x-vlc-plugin" name="video1" autoplay="no" loop="yes" width="200" height="150" target="http://your-stream-here" /> <embed type="application/x-vlc-plugin" name="video2" autoplay="no" loop="yes" width="200" height="150" target="http://your-stream-here" /> </body> </html>

DGMurdockIII
Big Cone-huna
Big Cone-huna
Posts: 534
Joined: 14 Sep 2006 16:46
VLC version: y
Operating System: windows 10 64bit Pro
Contact:

Re: Multiple embedded VLC plugins in Firefox

Postby DGMurdockIII » 14 May 2008 18:46

bump the get it fixed

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: Multiple embedded VLC plugins in Firefox

Postby revolunet » 14 May 2008 18:56

very unstable solution for me on IE or Firefox : http://code.revolunet.com/VLCcontrols/double.html
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet

r1weedee
New Cone
New Cone
Posts: 7
Joined: 21 Feb 2008 08:56

Re: Multiple embedded VLC plugins in Firefox

Postby r1weedee » 09 Jun 2008 07:32

helo, i use vlc 0.8.6.c to make video on-demand solution, in embeded video script, there is axvlc.dll
what axvlc.dll?
is it the mozzila plugin?
where i can get the details for mozilla plugin?
thanx before i really appreciate all answers ...

jyny
New Cone
New Cone
Posts: 1
Joined: 14 Oct 2008 15:19

Re: Multiple embedded VLC plugins in Firefox

Postby jyny » 14 Oct 2008 15:24

Hi , Allways if I check some embed vlc player it says only VIDEO IS LOADING... and nothing happend .. I have installed newest version of vlc and mozilla and activex plugin ..
So i really dont know why it is doing this .. I tested in firefox 3.x and IE 7 , my system is Vista, can somebody help me?

also I have embled stream in my site and still dont go ..

http://jyny.eu/readarticle.php?article_id=79

johj
New Cone
New Cone
Posts: 1
Joined: 07 Jun 2009 23:57

Re: Multiple embedded VLC plugins in Firefox

Postby johj » 07 Jun 2009 23:59

It is possible, I just worked on it, the problem is that after loading the activex, it sets its size automatically to width:0px and height:0px... no idea why...
My workout was to wait until the plugin is loaded (document.readyState=='complete') and then set the size of the activex (document.getElementById([yourVLCid]).style.height='[value]px', the same for the width). Now your activex is here - magic :P
Wow, you just saved my day! I struggled with this for 3-4 hours until I stumbled into your solution! Thanks a lot! :D

Yaffle
New Cone
New Cone
Posts: 8
Joined: 03 Apr 2009 22:55

Re: Multiple embedded VLC plugins in Firefox

Postby Yaffle » 30 Jun 2009 14:18

Multiple embedded VLC plugins doesn't work in Safari too.

meerasaab
New Cone
New Cone
Posts: 3
Joined: 27 Aug 2009 09:16

Re: Multiple embedded VLC plugins in Firefox

Postby meerasaab » 27 Aug 2009 09:31

Hi all.

I am facing a problem of embedding vlc player in all browsers.
i,e (MOZILLA,SAFARI,IE,OPERA)..
I have to embed videos in website...
Can any one please send me the proper code and the plugins needed to embed vlc player in website..
Please clearly inform which plugins i need to play the videos in all browsers..
Where can i found the plugins...
Is it possible to embed VLC in all browsers...
Please help me soon...
I am facing this problem from many days..
Please mail any solution for me at meera.saaheb@fiables.com
Thanks in advance.

Thanks & Regards,
Meerasaaheb Mohmmad

madinlee
New Cone
New Cone
Posts: 1
Joined: 15 Feb 2010 08:53

Re: Multiple embedded VLC plugins in Firefox

Postby madinlee » 17 Feb 2010 09:00

What Javascript to use to click on an image and make it appear larger in the middle of the page? I want to display my artwork on my webpage. I want to have it so on the left hand side are small images of my work and in the middle will be a large area. When the viewer clicks on the small image (or rolls over it), the large image of the piece will be in the large box in the middle. What javascript code should I use?
_________________________
external keyword tool ~ keyworddiscovery.com ~ keycompete.com ~ compete.com ~ webmasterworld.com


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 3 guests