Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

vBulletin Embed

10 replies [Last post]

I've just started using JW player on one of my vbulletin sites and now I want to add the plugins that i also ordered, such as facebook, The problem i have is that the example embed code is different to that of vbulletin

ie:
The embed code I use on vBulletin (from vbulletin.org) is:

<object id="player" classid="clsid:D2992DB6E-AW3D-11cf-96B8-8893553540000" name="player" width="730" height="410">
<param name="movie" value="flv/player-licensed.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="file={param}&image=flv/preview.jpg" />
<embed
type="application/x-shockwave-flash"
id="player2"
name="player2"
src="flv/player-licenced.swf"
width="730"
height="410"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file={param}&image=flv/preview.jpg"
/></object>

what I need to know is how do I add the facebook plugin code of either this

so.addVariable('plugins', 'fbit-1');

or this

'&file=/upload/flash.flv&plugins=fbit-1&dock=true');

to the above code? Any help would be greatly appreciated..

Use this :)

<object id="player" classid="clsid:D2992DB6E-AW3D-11cf-96B8-8893553540000" name="player" width="730" height="410">
<param name="movie" value="flv/player-licensed.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="file={param}&image=flv/preview.jpg" />
<embed
type="application/x-shockwave-flash"
id="player2"
name="player2"
src="flv/player-licenced.swf"
width="730"
height="410"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file={param}&image=flv/preview.jpg&plugins=fbit-1&dock=true"
/></object>

Cheers Ethan, I'll give it a go..

Tried that Ethan and it doesn't seem to be working..

Sorry Ethan, I've another question, so that I can use addsolution on my site, how would I add
this as taken from the embed code provided by your wizard:-

so.addVariable('plugins', 'ltas');
    so.addVariable('ltas.cc', 'miieqxgseovrwfj');

Hi again, Is there an article anywhere that explains the differences I need to make to get anything working with VB?, Im a good learner so hopefully once I understand JW player and its plugins etc i'll be out of your hair :)

Im also stuck with adding a skin, I bought the glow skin, and after spending ages looking for the swf as indicated in the instructions i releaised that glow uses an xml, So now I need to know how I use

so.addVariable('skin', 'path/to/example_skin/example_skin.xml');
with the code above provided by Ethan,

If I were to use the HTML embed code it wouldnt be an issue, but im using this with BB as once setup it will allow me to just paste a url into an article and use the [vid] [/vid] tag to bring up a player..

Pete, please provide a link. Without one, we are not going to be able to figure out why it is not working. Thanks!

Sorry Ethan, I should have thought of providing a link, Here you go, as I've just added the player and still setting it up its not yet used site wide, So i posted a test video here http://experienced-gamers.com/f65/vid-test-70347.html#post73997

Hi Pete,

Your player loads fine here, but the issue is that in your <embed> tag you have two lines of flashvars:

flashvars="file=http://egvids.s3.amazonaws.com/gt/MOHExperienceGunfights-2071485.flv&image=flv/preview.jpg"&plugins=fbit-1&dock=true"
flashvars="file=http://egvids.s3.amazonaws.com/gt/MOHExperienceGunfights-2071485.flv&skin=flv/glow/glow.xml"

You should delete the first one, only use the second one:

flashvars="file=http://egvids.s3.amazonaws.com/gt/MOHExperienceGunfights-2071485.flv&skin=flv/glow/glow.xml"

Best,
-Ethan

Hi Ethan, Thanks for the reply and for looking at this for me, I understand that the issue is with the embed code, In vbulletin I have this :-

<object id="player" classid="clsid:D2992DB6E-AW3D-11cf-96B8-8893553540000" name="player" width="730" height="410">
<param name="movie" value="flv/player-licensed.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="file={param}&image=flv/preview.jpg" />
<embed
type="application/x-shockwave-flash"
id="player2"
name="player2"
src="flv/player-licenced.swf"
width="730"
height="410"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file={param}&image=flv/preview.jpg&plugins=fbit-1&dock=true"
/></object>
<code>

entered as a BB code, When i post a video I can either use the built player to play a Youtube, dailymotion or metacafe video, But I want to use Your JW player, So Instead of using the built in system I just place the URL of my video in our S3 storage into a tag so the video i posted would look like this

[vid]http://egvids.s3.amazonaws.com/gt/MOHExperienceGunfights-2071485.flv[/vid]

So the only place that I have access to the flashvars is in the bb code (as above)
I guess I need to add the <code> &skin=flv/glow/glow.xml

to this

flashvars="file={param}&image=flv/preview.jpg&plugins=fbit-1&dock=true"

On another note, I'm just setting up a new site this one is using wordpress, I've got the WP plugin and things are so much easier to do with that plugin, I'll be buying another licence this week for it.. Is there any chance you guys could do a VB plugin? Im sure it would be very useful, there was a recent post on vbulletin.com from one of the vbulletin team about adding your own player and it got a lot of interest as vb site owners would welcome being able to use your addsolution to their sites as their is nothing like it for VB..

Yet another question, we're also looking at setting up a video share site, Is there a particular software you would suggest, IE ostube, php motion, clipbucket etc..??

Cheers Ethan

Hi,

Np, hope you can get it working with VB by making the changes.

We don't have any plans for a VB plugin.

PHP Motion, PrismoTube, are good.

Best,
-Ethan