Youtube/Google videos

This site contains affiliate links for which LandyZone may be compensated if you make a purchase.

jaycraft21

New Member
Posts
689
I'm not sure if this has been covered before so tell me to STFU if it has but how about allowing youtube and google videos to be embedded into the forum instead of having to post links and follow them this would allow us to stay on Landyzone watch posted vids and reply to them all at the same time.

simple code which enables vids to be embedded is

Youtube

Tag
Code:
[youtube]{IDENTIFIER}[/youtube]
Code

Code:
<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/{IDENTIFIER}" width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/{IDENTIFIER}" />
<param name="wmode" value="transparent" />
</object>

Google videos


Tags

Code:
[googlevideo]{NUMBER}[/googlevideo]
Code

Code:
<object type="application/x-shockwave-flash" data="http://video.google.com/googleplayer.swf?docId=-{NUMBER}" width="400" height="326">
<param name="movie" value="http://video.google.com/googleplayer.swf?docId=-{NUMBER}" />
<param name="allowScriptAcess" value="sameDomain" />
<param name="quality" value="best" />
<param name="bgcolor" value="#FFFFFF" />
<param name="scale" value="noScale" />
<param name="salign" value="TL" />
<param name="FlashVars" value="playerMode=embedded" />
</object>
These are really simple to add to the bbcode, and work fine as long as .SWF or shockwave is enabled which can also allow other bbcodes to be added such as allowing games to be added to the forum. And as far as I know doesn't use the sites bandwidth.

not sure if this would be possible and was just a suggestion.
 
I'm not sure if this has been covered before so tell me to STFU if it has but how about allowing youtube and google videos to be embedded into the forum instead of having to post links and follow them this would allow us to stay on Landyzone watch posted vids and reply to them all at the same time.

simple code which enables vids to be embedded is

Youtube

Tag
Code:
[youtube]{IDENTIFIER}[/youtube]
Code

Code:
<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/{IDENTIFIER}" width="425" height="350">
<param name="movie" value="http://www.youtube.com/v/{IDENTIFIER}" />
<param name="wmode" value="transparent" />
</object>
Google videos

Tags

Code:
[googlevideo]{NUMBER}[/googlevideo]
Code

Code:
<object type="application/x-shockwave-flash" data="http://video.google.com/googleplayer.swf?docId=-{NUMBER}" width="400" height="326">
<param name="movie" value="http://video.google.com/googleplayer.swf?docId=-{NUMBER}" />
<param name="allowScriptAcess" value="sameDomain" />
<param name="quality" value="best" />
<param name="bgcolor" value="#FFFFFF" />
<param name="scale" value="noScale" />
<param name="salign" value="TL" />
<param name="FlashVars" value="playerMode=embedded" />
</object>
These are really simple to add to the bbcode, and work fine as long as .SWF or shockwave is enabled which can also allow other bbcodes to be added such as allowing games to be added to the forum. And as far as I know doesn't use the sites bandwidth.

not sure if this would be possible and was just a suggestion.

Don't spose you could say that again in English. That went straight over my head and is currently about to land at Bristol airport.:eek:
 
LMFAO!!!

Ok, lets make it simple, the above code displays youtube videos how you would watch them on youtube, but without leaving the forum, I'd post some links to a few forums where this has been used but this would be advertising lol

(not getting myself banned from here, was just starting to like some of you)
 
So Jay who is this targeted at? Is this for members to use in order to embed videos or does an admin have to enable it on the website before members can do it?
 
Admin have to add it to the bbcode in the control panel in order to enable it for members to use.

So targeted towards admin to add it so members can use it.

(shouldn't take more than 30 seconds to add both of them)
 
Its a good idea..especially for laning vids etc..so comments can be left...but...snigger...thats not what its going to get mostly used for is it?

The Anything Goes section will become a very, very naughty corner....
 
I was more thinking for the likes of BoBfm and laning vids etc...

can always stop abusers from using it by editing the posting permissions for the member(s) that abuse it.
 
if the first post wennt over are heads what the **** does this say help

It's just a hacker trying to attack us - ignore it.

As for the original post re: YouTube.

I can see why you would expect a "naughty corner" but another forum I use did the same and it worked out very well. Though personally, I simply hold down the CTRL key as I click on the link then the video will open in another window or tab depending on which browser you are using and you are still in LZ too.

R.
 
Back
Top