Author Topic: Auto Embed Video Clips  (Read 16487 times)

0 Members and 1 Guest are viewing this topic.

Auto Embed Video Clips
« on: November 04, 2007, 12:08:52 AM »

Offline Bob Day

  • Ray Allen
  • ***
  • Posts: 3472
  • Tommy Points: 300
  • El Webmaster Romántico
I just pulled the old YouTube video embed setup out of here. It wasn't working right and was just too much of a pain to deal with. I have something to replace it though. I'll let developer Karl Benson tell you all about it...

Quote
Introduction
A modification to automatically convert links from Youtube/Myspace/GoogleVideo/Metacafe/Stage6 and MANY other sites into embedded clips without the need for bbcode.

Just post a plain link to the page in the post and the mod will do the rest.
Its the ultimate user friendly way of posting clips, but safe from a security standpoint.

New in v1.3
Use [noembed][/noembed] bbcode to prevent links being converted (By this mod only)

Requires: Auto Convert Links to be enabled.

Note: Due to a problem/bug in SMF.  If you try to post with only a link to a clip on any of the supported video sites in it, you will get an "empty message" error because there is no actual content to the post.
However I have posted a Mod to Fix the issue for this and ALL other video clip embed/type mods.

Features
o Supports the following Video sites
- YouTube (Standard & Playlists)
 > Global | Brasil | France | Ireland | Italia | Japan | Nederland | Polska | España | United Kingdom
 > Australia | Hong Kong | Mexico | New Zealand
- Google Video
 > Global(.com) | Australia(.com.au) | United Kingdom(.co.uk) | Deutsch(.de) | España(.es)
 > France(.fr) | Italia(.it) | Nederland(.nl) | Polska(.pl) | Canada(.ca)
- MetaCafe
- MySpaceTv
- Stage6 *(Requires Installation of Dixv Plugin)
- Veoh
- Gametrailers
- LiveLeak
- CellFish
- MyVideo.de
- ClipFish.de
- Liberio.it
- 123video.nl
- VSocial
- IFilm
- Sevenload
- Revver
- BrightCove
- Aniboom
- Vimeo
- Guba
- Glumbert
- Tudou
- dv.ouou
- Biku
- GameVideos
o Safe from security standpoint
- Properly validates/sanitizes/parses the video id before including it in the url
- Disables script access (allowScriptAccess="never")
o Use [noembed][/noembed] bbcode to prevent links being converted to embedded clips
o Includes a 'hard-coded' limit to the number of links PER PAGE that can be converted to embedded objects (default: 12)
- Prevents overloading pages with flash
- The limit ONLY applies to links converted by this mod (not other video clip mods)
I don't think the SMF quirk he mentioned will affect since everyone here who posts video talks about it a bit anyway. Have fun!
Yo no soy para el delicado!

Re: Auto Embed Video Clips
« Reply #1 on: November 04, 2007, 12:26:36 AM »

Offline Roy Hobbs

  • In The Rafters
  • The Natural
  • *********************************
  • Posts: 33333
  • Tommy Points: 6430
  • Doc could learn a thing or two from Norman Dale

All the negativity in this town sucks. It sucks, and it stinks, and it sucks. - Rick Pitino

Portland CrotoNats:  2009 CB Draft Champions

Re: Auto Embed Video Clips
« Reply #2 on: November 04, 2007, 12:27:00 AM »

Offline Roy Hobbs

  • In The Rafters
  • The Natural
  • *********************************
  • Posts: 33333
  • Tommy Points: 6430
  • Doc could learn a thing or two from Norman Dale
Wow.  That's tremendously easy.  Good job, Bob.

(For anybody too lazy to read through that whole post, the important part for most of us was "Just post a plain link to the page in the post and the mod will do the rest."  Very nice.)

All the negativity in this town sucks. It sucks, and it stinks, and it sucks. - Rick Pitino

Portland CrotoNats:  2009 CB Draft Champions

Re: Auto Embed Video Clips
« Reply #3 on: November 04, 2007, 01:57:05 AM »

Offline Bob Day

  • Ray Allen
  • ***
  • Posts: 3472
  • Tommy Points: 300
  • El Webmaster Romántico
Wow.  That's tremendously easy.  Good job, Bob.

(For anybody too lazy to read through that whole post, the important part for most of us was "Just post a plain link to the page in the post and the mod will do the rest."  Very nice.)
Yep, this is about as easy as it gets for video embed. I would also remind people to post at least a little bit of text with your embed post. That will allow you to make your post without me hacking SMF core files. Without the text SMF will read the post as empty. It won't count the url.
Yo no soy para el delicado!

Re: Auto Embed Video Clips
« Reply #4 on: November 04, 2007, 01:26:47 AM »

Offline professorperkins

  • Jaylen Brown
  • Posts: 186
  • Tommy Points: 10
Sweet. I've tried to embed some youtube clips before, and it almost made my head explode. This is a great feature.
"Chicks dig the offensive rebound." - Max

Re: Auto Embed Video Clips
« Reply #5 on: November 11, 2007, 05:15:38 PM »

Offline jackson_34

  • Bailey Howell
  • **
  • Posts: 2037
  • Tommy Points: 166
I just used it for the first time then, worked like a charm, thanks heaps Bob! This website is truely a masterpeice of a user-friendly setup.

Re: Auto Embed Video Clips
« Reply #6 on: November 28, 2007, 11:15:48 PM »

Offline indeedproceed

  • In The Rafters
  • James Naismith
  • *********************************
  • Posts: 41141
  • Tommy Points: 2242
  • You ain't the boss of the freakin' bedclothes.
Awesome mod, just figured it out.....great addition

DKC League
"You've gotta respect a 15-percent 3-point shooter. A guy
like that is always lethal." - Evan 'The God' Turner

Re: Auto Embed Video Clips
« Reply #7 on: May 22, 2008, 09:58:43 AM »

Offline TheDIP534

  • R.J. Hunter
  • Posts: 4
  • Tommy Points: 1
[Edited.]  This is not the appropriate thread to post new videos in.  I previously split your post out and created a new thread for it in the multimedia forum.  You can find it there, under the title "Great promo video".  -R.H.
« Last Edit: May 22, 2008, 10:13:57 AM by Roy Hobbs »

Re: Auto Embed Video Clips
« Reply #8 on: May 22, 2008, 10:14:50 AM »

Offline Redz

  • Punner
  • Global Moderator
  • Paul Pierce
  • ***************************
  • Posts: 27669
  • Tommy Points: 2647
  • Yup ya do
    • The Caped Cod

GOCELTS

Re: Auto Embed Video Clips
« Reply #9 on: May 22, 2008, 10:15:43 AM »

Offline Roy Hobbs

  • In The Rafters
  • The Natural
  • *********************************
  • Posts: 33333
  • Tommy Points: 6430
  • Doc could learn a thing or two from Norman Dale
Apparently, our mods don't read my posts, either. ;)

All the negativity in this town sucks. It sucks, and it stinks, and it sucks. - Rick Pitino

Portland CrotoNats:  2009 CB Draft Champions

Re: Auto Embed Video Clips
« Reply #10 on: May 22, 2008, 10:26:44 AM »

Offline Redz

  • Punner
  • Global Moderator
  • Paul Pierce
  • ***************************
  • Posts: 27669
  • Tommy Points: 2647
  • Yup ya do
    • The Caped Cod
oops...must have been a timing thing :-[

oh, just checked that too... :-[ :-[

GOCELTS

Re: Auto Embed Video Clips
« Reply #11 on: May 22, 2008, 10:32:45 AM »

Offline celticmaestro

  • Antoine Walker
  • ****
  • Posts: 4545
  • Tommy Points: 75
  • "Love is the soul of a true Irishman"
good stuff bob. nothing but the best.

Re: Auto Embed Video Clips
« Reply #12 on: June 15, 2013, 08:54:49 PM »

Offline CelticConcourse

  • Paul Silas
  • ******
  • Posts: 6162
  • Tommy Points: 382
  • Jeff Green
Years later, I've got to say this is one of the best features CelticsBlog forums has to offer. I don't see it anywhere else and along with the Latest Forum Topics sidebar, it's what makes this forum unique and amazing.
Jeff Green - Top 5 SF

[Kevin Garnett]
"I've always said J. Green is going to be one of the best players to ever play this game"

Re: Auto Embed Video Clips
« Reply #13 on: August 31, 2013, 09:01:09 AM »

Offline Eric M VAN

  • Brad Stevens
  • Posts: 279
  • Tommy Points: 61
  • No no no, not THAT "Eric M Van".
?
« Last Edit: August 31, 2013, 09:21:07 AM by Eric M VAN »
"Because there are no fours."
-- Antoine Walker when asked why he shoots so many threes

"We're going to turn this team around 360 degrees."
-Jason Kidd


Re: Auto Embed Video Clips
« Reply #14 on: August 31, 2013, 09:32:24 AM »

Offline bfrombleacher

  • Ray Allen
  • ***
  • Posts: 3343
  • Tommy Points: 367
?


Simply paste the link on your address bar.

I think the main thing is you need to make sure it's http and not https. I think that's what "plain link" means.

Here is a link with https:
https://www.youtube.com/watch?v=mOHkRk00iI8

Here is one with http instead:
http://www.youtube.com/watch?v=mOHkRk00iI8

When in doubt, preview and tweak.