-
dynamic embeding vlc player.
I have been able to load videos into a webpage with JavaScript but the
plugin breaks. I don't know if it's the javascript or the VLC player.
oh yeah I used the VLC plugin for opera and firefox.
I'm using .innerHTML but I'm going to making an object and setting the
parameters like this:
var video=document.getElementById('wma');
var Vobject = video.createelement('object')
Vobject.setAttribute('id','video1');
Vobject.setAttribute('width','500');
Vobject.setAttribute('height','450');
Vobject.setAttribute('clssid','CLSID:9BE31822-FDAD-461B-AD51-BE1D1C159921');
Vobject.setAttribute('codebase','http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab');
Vobject.setAttribute('events','true');
var pam = document.createElement("param");
pam.setAttribute('scr',"'+vrr[0]+'" );
pam.setAttribute('AutoPlay',"true" );
Vobject.appendChild(pam);
What do you think is the main cause?
Last edited by riptide; 08-17-2011 at 02:59 AM.
-
-
I just found out the mozilla plug-in for VLC is buggy.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks