**NEW OKCTalk ExChange video Upload or email your photos instantly! chat Check here for upcoming events! links

Home Home Information Center Forums Start Page Forums Frequently Asked Questions FAQ Member List Members List Calendar OKC Event Calendar
Go Back   OKCTalk > OKCTalk Community News > Community Center > Announcements

Join OKCTalk New User Registration Search Search Today's Posts Today's Posts Mark Forums Read

YouTube videos can now be directly embedded

YouTube videos can now be directly embedded

this thread has 16 replies and has been viewed 594 times

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-15-2007, 02:36 PM
Pete Brzycki's Avatar
Pete Brzycki Pete Brzycki is offline
Administrator
 
 Join Date: Apr 2005
 Total Posts: 2,655
Default YouTube videos can now be directly embedded

I recently implemented some custom code that allows you to embed (rather than just link) YouTube videos on any OKCTalk forum.

Here's what you post:

{yt}TMQhxpOjDmM{/yt}


Where:

{} = [] (lower case of same key)
TMQhxpOjDmM = everything in the URL of the video after the equals sign


Here's an example:

Reply With Quote
  #2 (permalink)  
Old 11-15-2007, 02:39 PM
mmm mmm is online now
Moderator
 
 Join Date: Apr 2006
 Total Posts: 1,665
Default Re: YouTube videos can now be directly embedded

not sure if this is working. -M


Last edited by mmm : 11-15-2007 at 06:32 PM.
Reply With Quote
  #3 (permalink)  
Old 11-15-2007, 02:42 PM
Pete Brzycki's Avatar
Pete Brzycki Pete Brzycki is offline
Administrator
 
 Join Date: Apr 2005
 Total Posts: 2,655
Default Re: YouTube videos can now be directly embedded

mmm, instead of posting the entire URL between the two yt tags...

you should just post this:

xB8sartE19k
Reply With Quote
  #4 (permalink)  
Old 11-15-2007, 03:08 PM
Intrepid's Avatar
Intrepid Intrepid is offline
VIP Member
 
 Join Date: Jun 2005
 Total Posts: 1,504
Default Re: YouTube videos can now be directly embedded

I'm not seeing anything, from anyone, thus far. Just a box within the message that says "YouTube Video"
__________________
Fear leads to anger. Anger leads to hate. Hate leads to suffering. --Master Yoda
Facts can change opinions, opinions cannot change facts.
Reply With Quote
  #5 (permalink)  
Old 11-15-2007, 03:57 PM
Pete Brzycki's Avatar
Pete Brzycki Pete Brzycki is offline
Administrator
 
 Join Date: Apr 2005
 Total Posts: 2,655
Default Re: YouTube videos can now be directly embedded

You can't see the video in the original post?

I can.
Reply With Quote
  #6 (permalink)  
Old 11-15-2007, 04:28 PM
Intrepid's Avatar
Intrepid Intrepid is offline
VIP Member
 
 Join Date: Jun 2005
 Total Posts: 1,504
Default Re: YouTube videos can now be directly embedded

Quote:
Originally Posted by MalibuSooner View Post
You can't see the video in the original post?

I can.

Only if I click on the words YouTube in the window the appears within the message. But that just opens up a new window and takes me directly to YouTube.
__________________
Fear leads to anger. Anger leads to hate. Hate leads to suffering. --Master Yoda
Facts can change opinions, opinions cannot change facts.
Reply With Quote
  #7 (permalink)  
Old 11-15-2007, 06:35 PM
mmm mmm is online now
Moderator
 
 Join Date: Apr 2006
 Total Posts: 1,665
Default Re: YouTube videos can now be directly embedded

gotcha. next time i'll read the instructions. : )

in any event, both the video i posted and the one you posted disappear shortly after the page loads. i'm using ie7.

-M
Reply With Quote
  #8 (permalink)  
Old 11-15-2007, 06:38 PM
Intrepid's Avatar
Intrepid Intrepid is offline
VIP Member
 
 Join Date: Jun 2005
 Total Posts: 1,504
Default Re: YouTube videos can now be directly embedded

I too am using IE7.

Something weird just happened tho. This page loaded, I briefly saw a picture of the video in the first message.

Then I scrolled down to read the lastest message, scrolled back up and the video was gone again.
__________________
Fear leads to anger. Anger leads to hate. Hate leads to suffering. --Master Yoda
Facts can change opinions, opinions cannot change facts.
Reply With Quote
  #9 (permalink)  
Old 11-15-2007, 06:45 PM
Pete Brzycki's Avatar
Pete Brzycki Pete Brzycki is offline
Administrator
 
 Join Date: Apr 2005
 Total Posts: 2,655
Default Re: YouTube videos can now be directly embedded

I'm using Firefox and can see both videos just fine.
Reply With Quote
  #10 (permalink)  
Old 11-15-2007, 08:53 PM
Karried's Avatar
Karried Karried is offline
Administrator
 
 Join Date: May 2004
 Total Posts: 6,658
Default Re: YouTube videos can now be directly embedded

I can't see anything either.. just two blank boxes with YouTube Video on the top line.
Reply With Quote
  #11 (permalink)  
Old 11-16-2007, 09:36 AM
Pete Brzycki's Avatar
Pete Brzycki Pete Brzycki is offline
Administrator
 
 Join Date: Apr 2005
 Total Posts: 2,655
Default Re: YouTube videos can now be directly embedded

Seems to be a problem with Internet Explorer.

Just goes to show how trying to make small technical changes can leads to a miltiple of issues!

I'll see what I can find out.
Reply With Quote
  #12 (permalink)  
Old 11-16-2007, 10:33 AM
Pete Brzycki's Avatar
Pete Brzycki Pete Brzycki is offline
Administrator
 
 Join Date: Apr 2005
 Total Posts: 2,655
Default Re: YouTube videos can now be directly embedded

Okay, I changed the code a bit and when I use IE, can see the videos now.

Can you guys see them as well?
Reply With Quote
  #13 (permalink)  
Old 11-16-2007, 10:39 AM
mmm mmm is online now
Moderator
 
 Join Date: Apr 2006
 Total Posts: 1,665
Default Re: YouTube videos can now be directly embedded

yes... a much cleaner tag than what i saw yesterday. vids are showing up fine now in ie.

-M
Reply With Quote
  #14 (permalink)  
Old 11-16-2007, 07:51 PM
Pete Brzycki's Avatar
Pete Brzycki Pete Brzycki is offline
Administrator
 
 Join Date: Apr 2005
 Total Posts: 2,655
Default Re: YouTube videos can now be directly embedded

I also added an icon to the 'new thread' and 'post reply' (advanced only) screens.

Now, you can just click the YouTube button and it will insert the YT code for you. Just put in the part of the video URL after the "=" sign:

Reply With Quote
  #15 (permalink)  
Old 11-16-2007, 08:34 PM
Karried's Avatar
Karried Karried is offline
Administrator
 
 Join Date: May 2004
 Total Posts: 6,658
Default Re: YouTube videos can now be directly embedded

yes! I can see them now. Thank you!
Reply With Quote
  #16 (permalink)  
Old 11-16-2007, 09:16 PM
Intrepid's Avatar
Intrepid Intrepid is offline
VIP Member
 
 Join Date: Jun 2005
 Total Posts: 1,504
Default Re: YouTube videos can now be directly embedded

I can see them now too!

Thanks!

__________________
Fear leads to anger. Anger leads to hate. Hate leads to suffering. --Master Yoda
Facts can change opinions, opinions cannot change facts.
Reply With Quote
  #17 (permalink)  
Old 11-16-2007, 09:18 PM
Intrepid's Avatar
Intrepid Intrepid is offline
VIP Member
 
 Join Date: Jun 2005
 Total Posts: 1,504
Default Re: YouTube videos can now be directly embedded

This is a test....

__________________
Fear leads to anger. Anger leads to hate. Hate leads to suffering. --Master Yoda
Facts can change opinions, opinions cannot change facts.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Great Christian Music Videos Keith Faith & Values Open Discussion 3 05-15-2007 08:14 PM
You need to see these videos Speaker Political Arena 6 03-03-2007 06:59 PM

Home - Archive - Privacy Statement - Contact Us
All times are GMT -5. The time now is 11:28 PM.
Copyright OKCTalk.com © 2004 - 2007

Content Relevant URLs by vBSEO 3.0.0 RC5