CelticsStrong
Celtics Basketball => Celtics Media and Video => Topic started 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...
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!
-
Let's test this thing:
http://youtube.com/watch?v=rlaAEvYvl5o
-
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.)
-
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.
-
Sweet. I've tried to embed some youtube clips before, and it almost made my head explode. This is a great feature.
-
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.
-
Awesome mod, just figured it out.....great addition
-
[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.
-
ohhhh yeh!
http://youtube.com/watch?v=1zu0grwffvc
-
Apparently, our mods don't read my posts, either. ;)
-
oops...must have been a timing thing :-[
oh, just checked that too... :-[ :-[
-
good stuff bob. nothing but the best.
-
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.
-
?
-
?
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.
-
https://www.youtube.com/watch?v=svHk8Zntc5g
http://www.youtube.com/watch?v=svHk8Zntc5g
http://www.youtube.com/watch?v=lW12O-801Os
-
?
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!