YouTube BBCode


Goto page 1, 2  Next

Subject: YouTube BBCode
Go to ACP->Post->BBcode

IN BBcode:

Code: [Download] [Hide]
  1. [youtube]{TEXT}[/youtube]  


In HTML:

Code: [Download] [Hide]
  1. <object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{TEXT}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{TEXT}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>  


In the Line of BBcode this:

Code: [Download] [Hide]
  1. Example of use: [youtube]wassffsf[/youtube]  

Subject: Re: YouTube BBCode
Thanks for sharing.

Subject: Re: YouTube BBCode
JHOSMAN wrote: [View Post]
Go to ACP->Post->BBcode

IN BBcode:

Code: [Download] [Hide]
  1. [youtube]{TEXT}[/youtube]  


In HTML:

Code: [Download] [Hide]
  1. <object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{TEXT}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{TEXT}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>  


In the Line of BBcode this:

Code: [Download] [Hide]
  1. Example of use: [youtube]wassffsf[/youtube]  


i made what u say...all in ACP
i see button , but i got a blank page

yutob1

yutob2

do you know why ?

thanks JHOSMAN

Subject: Re: YouTube BBCode
:roll: Please insert the ID is the apple of the video here are an example of how to find the ID of the videos ...

:arrow: http://youtube.kokforos.com

Check what is there in BLUE

Subject: Re: YouTube BBCode
JHOSMAN wrote: [View Post]
:roll: Please insert the ID is the apple of the video here are an example of how to find the ID of the videos ...

:arrow: http://youtube.kokforos.com

Check what is there in BLUE


thank you :mrgreen: :oops:

Subject: Re: YouTube BBCode
YouTube BBCode Best Method!


Hello!

This bbcode snippet here will allow your users to paste the WHOLE YOUTUBE LINK. I use this on my phpbb3 forums over at ***.aintnobullshit.com and it works great!


BBcode usage:
Code: [Download] [Hide]
  1. [youtube]h**p://***.youtube.com/watch?v={TEXT}[/youtube] 


HTML Replacement:
Code: [Download] [Hide]
  1. <object width="425" height="350"><param name="movie" value="h**p://***.youtube.com/v/{TEXT}"></param><param name="wmode" value="transparent"></param><embed src="h**p://***.youtube.com/v/{TEXT}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object> 



This is a much easier method than having the users copy and paste a small ID #.......and this method even works if you add the "&feature=related" thing on the end, too.


Happy phpbbing!
~f13

Subject: Re: YouTube BBCode
Thanks for sharing. :D

Subject: Re: YouTube BBCode
How do youtube videos get removed and have sound taken off? I just want to know HOW and WHY youtube videos get removed. Like they'll say either: this video has been removed due to terms of violation, or youtube will delete the sound of the video. How does this happen??? I don't get what they mean when they say that you have property not recognized by wmg, or something like that, or why they remove your video due to terms of violation. Does it get removed right away or at any random time?

Last edited by zaneeta on Thu 29 Oct, 2009 08:58; edited 1 time in total
Subject: Re: YouTube BBCode
i guess this happens when/if someone files a complaint/removal notice because it is copyright protected material?

Subject: Re: YouTube BBCode
ihitf13anddied wrote: [View Post]
YouTube BBCode Best Method!


Hello!

This bbcode snippet here will allow your users to paste the WHOLE YOUTUBE LINK. I use this on my phpbb3 forums over at ***.aintnobullshit.com and it works great!


BBcode usage:
Code: [Download] [Hide]
  1. [youtube]h**p://***.youtube.com/watch?v={TEXT}[/youtube] 


HTML Replacement:
Code: [Download] [Hide]
  1. <object width="425" height="350"><param name="movie" value="h**p://***.youtube.com/v/{TEXT}"></param><param name="wmode" value="transparent"></param><embed src="h**p://***.youtube.com/v/{TEXT}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object> 



This is a much easier method than having the users copy and paste a small ID #.......and this method even works if you add the "&feature=related" thing on the end, too.


Happy phpbbing!
~f13


Thanks alot man.!! It works great with me.

Subject: Re: YouTube BBCode
looking at this youtube code closely (maybe too close?? :mrorange: ) i noticed this throws w3c errors on the pages it is used (6 i think)

so i started messing with this, so far i have this:
Code: [Download] [Hide] [Select]
<div id="utube{SIMPLETEXT}"></div>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/flashfix.js"></script>
<script type="text/javascript">
var fo = new FlashObject("http://www.youtube.com/v/{SIMPLETEXT}", "mymovie", "425", "350","7");
fo.addParam("wmode", "transparent");
fo.addVariable("tab", getQueryParamValue("tab"));
fo.write("utube{SIMPLETEXT}");
</script>

wich throws me no error UNLESS someone would post the same video on the same page (because the video's simpletext gives the div id its name) so i actually need another or a better variable to give the div a unique id, it would be great if the user would not have to type anything extra to get it (just like it does now)

any ideas anyone? :idea:

Subject: Re: YouTube BBCode
How to access Youtube and other video streaming sites? The college blocked access to various sites on it's network but I've seen a few people able to stream from sites like Youtube. Accessing Youtube is not possible much less begin streaming. Is there a way to go around this?

Subject: Re: YouTube BBCode
i was actually hoping for a great tip on my previous question :oops:

your college is probably blocking utube because the students dont know what's on or off topic :LOL: :LOL: :LOL:

but since your question is here allready... yes it's possible, try google for it or try proxy or even google for proxy? :mryellow:

Subject: Re: YouTube BBCode
It's not easy if you don't want to add PHP in template.

You can add an easy fix by adding the post_id var for example (the problem is when 2 videos are posted within the same post).

You could use video ID, but that could lead to security issues and we don't want that...

Subject: Re: YouTube BBCode
this may be a silly question but thats because i don t understand the why of the security leak (no i agree we don t want that ...LOL), but what if i combine the post_id var (put it in the place where it now says utube) and the video id (like now)?
would that be any safer?

sorry if i sound stupid but i m obviously in over my head :mryellow:

PS ..i m also not sure how to use the post_id but i ll look into this and have some tries

thnx

Goto page 1, 2  Next

Page 1 of 2


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 1.3393s (PHP: 2% SQL: 98%)
SQL queries: 35 - Debug Off - GZIP Enabled