CelticsStrong

Celtics Basketball => Celtics Media and Video => Topic started by: Bob Day on November 04, 2007, 12:08:52 AM

Title: Auto Embed Video Clips
Post by: Bob Day on November 04, 2007, 12:08:52 AM
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!
Title: Re: Auto Embed Video Clips
Post by: Roy Hobbs on November 04, 2007, 12:26:36 AM
Let's test this thing:

http://youtube.com/watch?v=rlaAEvYvl5o
Title: Re: Auto Embed Video Clips
Post by: Roy Hobbs on November 04, 2007, 12:27:00 AM
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.)
Title: Re: Auto Embed Video Clips
Post by: Bob Day on November 04, 2007, 01:57:05 AM
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.
Title: Re: Auto Embed Video Clips
Post by: professorperkins on November 04, 2007, 01:26:47 AM
Sweet. I've tried to embed some youtube clips before, and it almost made my head explode. This is a great feature.
Title: Re: Auto Embed Video Clips
Post by: jackson_34 on November 11, 2007, 05:15:38 PM
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.
Title: Re: Auto Embed Video Clips
Post by: indeedproceed on November 28, 2007, 11:15:48 PM
Awesome mod, just figured it out.....great addition
Title: Re: Auto Embed Video Clips
Post by: TheDIP534 on May 22, 2008, 09:58:43 AM
[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.
Title: Re: Auto Embed Video Clips
Post by: Redz on May 22, 2008, 10:14:50 AM
ohhhh yeh!

http://youtube.com/watch?v=1zu0grwffvc
Title: Re: Auto Embed Video Clips
Post by: Roy Hobbs on May 22, 2008, 10:15:43 AM
Apparently, our mods don't read my posts, either. ;)
Title: Re: Auto Embed Video Clips
Post by: Redz on May 22, 2008, 10:26:44 AM
oops...must have been a timing thing :-[

oh, just checked that too... :-[ :-[
Title: Re: Auto Embed Video Clips
Post by: celticmaestro on May 22, 2008, 10:32:45 AM
good stuff bob. nothing but the best.
Title: Re: Auto Embed Video Clips
Post by: CelticConcourse on June 15, 2013, 08:54:49 PM
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.
Title: Re: Auto Embed Video Clips
Post by: Eric M VAN on August 31, 2013, 09:01:09 AM
?
Title: Re: Auto Embed Video Clips
Post by: bfrombleacher on August 31, 2013, 09:32:24 AM
?


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.
Title: Re: Auto Embed Video Clips
Post by: Eric M VAN on August 31, 2013, 10:33:24 AM
https://www.youtube.com/watch?v=svHk8Zntc5g

http://www.youtube.com/watch?v=svHk8Zntc5g

http://www.youtube.com/watch?v=lW12O-801Os
Title: Re: Auto Embed Video Clips
Post by: Eric M VAN on August 31, 2013, 10:35:22 AM
?


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.
When in doubt, preview and tweak.

Excellent!! Thank you, bfrombleacher! I must have missed the https. A TP from me to u!