Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news


  

Author Topic: Embed Youtube videos in your messages now!  (Read 4586 times)

0 Members and 1 Guest are viewing this topic.

saint

  • turned to the Dark Side
  • Supreme Chancellor
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 5911
  • I only work in cyberspace...
    • Build Your Own Arcade Controls
Embed Youtube videos in your messages now!
« on: November 05, 2007, 10:15:11 pm »
You can now embed YouTube videos in your messages. Like any of the other BBC codes, simply surround the URL of the YouTube video with youtube /youtube brackets, like this:
Code: [Select]
[youtube]http://www.youtube.com/xyzabcdef[/youtube]

And you should get something like this:

[youtube]http://www.youtube.com/watch?v=5NQBFWx3UOk[/youtube]

Thanks to McCoy for the suggestion and Stingray for pointing out the mod :)
« Last Edit: November 05, 2007, 10:48:14 pm by saint »
--- John St.Clair
     Build Your Own Arcade Controls FAQ
     http://www.arcadecontrols.com/
     Project Arcade 2!
     http://www.projectarcade.com/
     saint@arcadecontrols.com

ChadTower

  • Chief Kicker - Nobody's perfect, including me. Fantastic body.
  • Trade Count: (+12)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38215
Re: Embed Youtube videos in your messages now!
« Reply #1 on: November 06, 2007, 09:01:47 am »

Wow... two major cool features rolled out in one day.  Nice work!   :cheers:

saint

  • turned to the Dark Side
  • Supreme Chancellor
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 5911
  • I only work in cyberspace...
    • Build Your Own Arcade Controls
Re: Embed Youtube videos in your messages now!
« Reply #2 on: November 06, 2007, 09:06:17 am »
Heh, thanks! SirWoogie told me to stop being afraid to add mods, he may come to regret that!
--- John St.Clair
     Build Your Own Arcade Controls FAQ
     http://www.arcadecontrols.com/
     Project Arcade 2!
     http://www.projectarcade.com/
     saint@arcadecontrols.com

ChadTower

  • Chief Kicker - Nobody's perfect, including me. Fantastic body.
  • Trade Count: (+12)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38215
Re: Embed Youtube videos in your messages now!
« Reply #3 on: November 06, 2007, 09:08:18 am »
A question on the youtube mod... does that stream the video directly from youtube, or does it route the data through your servers on the way to the client?  That would be my major concern.  If it's somehow coming through your server that's a major bandwidth issue, and if it's not, that's creating a drain on youtube's server for no gain to them (old school don't steal my bandwidth style).

I realize that in order for this to have worked youtube must have provided an API for it and thus is in on it, just curious as to the implementation.

FrizzleFried

  • no one listens to me anyway.
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4911
    • Idaho Garagecade
Re: Embed Youtube videos in your messages now!
« Reply #4 on: November 06, 2007, 03:08:14 pm »
A question on the youtube mod... does that stream the video directly from youtube, or does it route the data through your servers on the way to the client?  That would be my major concern.  If it's somehow coming through your server that's a major bandwidth issue, and if it's not, that's creating a drain on youtube's server for no gain to them (old school don't steal my bandwidth style).

I realize that in order for this to have worked youtube must have provided an API for it and thus is in on it, just curious as to the implementation.

Just like a photo tag it links to an off-site server.  No additional bandwith for the forum aside from the extra text required to make the link.

Visit my arcade blog at: www.idahogaragecade.com (Updated 01-25-18)

missioncontrol

  • MC-Retro says Wot!
  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7857
Re: Embed Youtube videos in your messages now!
« Reply #5 on: November 06, 2007, 03:20:14 pm »
cool... stay tuned for the missionTV thread...  ;D

saint

  • turned to the Dark Side
  • Supreme Chancellor
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 5911
  • I only work in cyberspace...
    • Build Your Own Arcade Controls
Re: Embed Youtube videos in your messages now!
« Reply #6 on: November 06, 2007, 03:53:12 pm »
A question on the youtube mod... does that stream the video directly from youtube, or does it route the data through your servers on the way to the client?  That would be my major concern.  If it's somehow coming through your server that's a major bandwidth issue, and if it's not, that's creating a drain on youtube's server for no gain to them (old school don't steal my bandwidth style).

I realize that in order for this to have worked youtube must have provided an API for it and thus is in on it, just curious as to the implementation.

Comes from their bandwidth. YouTube seems to be ok with that as they provide the code to web operators to embed video pretty much anywhere on your site from their servers.
--- John St.Clair
     Build Your Own Arcade Controls FAQ
     http://www.arcadecontrols.com/
     Project Arcade 2!
     http://www.projectarcade.com/
     saint@arcadecontrols.com

ChadTower

  • Chief Kicker - Nobody's perfect, including me. Fantastic body.
  • Trade Count: (+12)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38215
Re: Embed Youtube videos in your messages now!
« Reply #7 on: November 06, 2007, 04:02:32 pm »

I wonder what they get from that... I guess it's less bandwidth than everyone just linking to their pages, but then again, at least that gets users onto their site.  This is just serving up content to anyone anywhere with little in return.

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • A Suzo stick is a joy forever...
Re: Embed Youtube videos in your messages now!
« Reply #8 on: November 06, 2007, 04:36:17 pm »
Yeah, great eh  ! :)

Gotta update some threads :P

mountain

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1202
    • Mountain Jukeboxes
Re: Embed Youtube videos in your messages now!
« Reply #9 on: November 06, 2007, 06:25:38 pm »

I wonder what they get from that... I guess it's less bandwidth than everyone just linking to their pages, but then again, at least that gets users onto their site.  This is just serving up content to anyone anywhere with little in return.

My guess is they are banking on the exposure. The youtube logo is conveniently displayed on the bottom right.

shmokes

  • Just think of all the suffering in this world that could have been avoided had I just been a little better informed. :)
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10471
  • Don't tread on me.
    • Jake Moses
Re: Embed Youtube videos in your messages now!
« Reply #10 on: November 07, 2007, 01:54:15 am »
It's what Google does, man.  Look at what they're doing with Google Calendar, Google Docs, etc.  Now the Google phone is coming and it's going to have seamless integration with all that (presumably it'll have seamless integration with YouTube too).  Same with Google Maps.  They buy the Keyhole Earth software thing, change it from super expensive to super free, overlay GIS maps of streets, etc., and it's all free.  Everybody uses it, and pretty soon commercial applications just grow organically out of it and they start raking in shitloads of money.  Often I look at the way things work out and think . . . jesus, did they plan for that to happen or do they just get lucky?  By the way, Google bought Sketchup a couple years ago, and at first I thought the acquisition made no sense at all.  But I've decided that I think they plan to start modeling the world in 3D, which they will then add to Google Maps.  Every building, etc.

Check out my website for in-depth reviews of children's books, games, and educational apps for the iPad:

Best Kid iPad Apps

ChadTower

  • Chief Kicker - Nobody's perfect, including me. Fantastic body.
  • Trade Count: (+12)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38215
Re: Embed Youtube videos in your messages now!
« Reply #11 on: November 07, 2007, 07:50:51 am »
My guess is they are banking on the exposure. The youtube logo is conveniently displayed on the bottom right.

If there is one name that doesn't need additional exposure right now, it's youtube.

shmokes is probably right... it's just their business plan.  And look at their market cap.  Clearly I am not understanding their vision and just as clearly it's working.

shardian

  • Saint is the evil mastermind
  • Trade Count: (+23)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9218
  • Friends don't let friends build frankenpanels...
Re: Embed Youtube videos in your messages now!
« Reply #12 on: November 09, 2007, 08:28:55 am »
This should add a whole new dimension to the cheesecake thread. >:D :cheers:

Donkey_Kong

  • heh. I dont know what it stands for but I'm immature and thats hilarious.
  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1688
    • CNC Machines
Re: Embed Youtube videos in your messages now!
« Reply #13 on: November 10, 2007, 09:30:09 pm »
My guess is they are banking on the exposure. The youtube logo is conveniently displayed on the bottom right.

If there is one name that doesn't need additional exposure right now, it's youtube.

shmokes is probably right... it's just their business plan.  And look at their market cap.  Clearly I am not understanding their vision and just as clearly it's working.

Scroll up to Saint's original post... See the video screen? See the big 'play icon' symbol in the center of the video image? Click anywhere but the 'play icon'.


Carved Signs, Custom Gameroom Signs, and Arcade Game Decor and now CNC MACHINES by Melissa Jones

danny_galaga

  • Grand high prophet of the holy noodle.
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8449
  • because the mail never stops
    • dans cocktail lounge
Re: Embed Youtube videos in your messages now!
« Reply #14 on: November 12, 2007, 04:34:52 am »

I wonder what they get from that... I guess it's less bandwidth than everyone just linking to their pages, but then again, at least that gets users onto their site.  This is just serving up content to anyone anywhere with little in return.

in the end, theyll get nothing. well see how many 'facebooks' and 'youtubes' are around after the next major recession  ;)


ROUGHING UP THE SUSPECT SINCE 1981

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1876
  • Gotta have blue hair.
Re: Embed Youtube videos in your messages now!
« Reply #15 on: June 24, 2018, 12:09:46 am »
saint,

This doesn't appear to work anymore.  Or maybe I'm doing something incorrectly.

EDIT:  It actually works (sort of) if you just paste a raw YouTube link into your post without the "YouTube" BBC code tags around it.  It embeds the video, but it centers it on the screen (probably should align left) and it has some strange text at the bottom of the video in red that says "! No longer available" for some reason.  You can see it in action on this post...

http://forum.arcadecontrols.com/index.php/topic,157613.msg1656276.html#msg1656276
« Last Edit: June 24, 2018, 12:20:48 am by krick »
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6753
  • 2013 UCA Awardee
Re: Embed Youtube videos in your messages now!
« Reply #16 on: June 24, 2018, 02:36:27 am »
It has been on the "things to fix" list for a while now.  :(

Howard mentioned a while back that the current HTML code for YouTube embedding is deprecated by a number of browsers like IE, but it still works in others like Firefox.

The workaround that I use is:
1. Paste the video URL with no tags and change the "https" to ""http".  (for browsers that still support embedding)

2. Paste the URL with URL tags.  (for browsers that don't support embedding)

So far, the code should look like this.
Code: [Select]
http://www.youtube.com/watch?v=nSH_jSqos8M

[url]https://www.youtube.com/watch?v=nSH_jSqos8M[/url]

3. Post it.

4. Modify the post to replace the auto-generated "! No longer available" text with "Using the IoT Relay on a USB Port - Example".

Before:
Code: [Select]
[url=http://www.youtube.com/watch?v=nSH_jSqos8M][b][color=red]![/color][/b] No longer available[/url]
After:
Code: [Select]
[url=http://www.youtube.com/watch?v=nSH_jSqos8M]Using the IoT Relay on a USB Port - Example[/url]
I know this process is a real pain, but for now it's the best way to work with both embedding and non-embedding browsers.   :dunno


Scott

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1876
  • Gotta have blue hair.
Re: Embed Youtube videos in your messages now!
« Reply #17 on: June 24, 2018, 12:22:36 pm »
Thanks.  I'll use your workaround for now.

Here's an SMF forum plugin for YouTube links...

https://custom.simplemachines.org/mods/index.php?mod=3982

I was last updated in 2014 so it probably still works.
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

  
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31