We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Custom buttons for youtube and googlevideo in forum module

Development and Programming

Lars Kirchhoff's avatar
Lars Kirchhoff
58 posts
18 years ago
Lars Kirchhoff's avatar Lars Kirchhoff

Hi,

I just create an extension to use simple custom buttons to include youtube and googlevideo in any forum post. You can see it working in our forum here. Here you can download the extension. Any suggestions are feedback are welcome.

ciao Lars

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
18 years ago
Sean C. Smith's avatar Sean C. Smith

It’s not working for me. I’ve enabled the extension, but when I added the docid it just posts the code. any suggestions? for the record my forums are still 1.3.

you can see my thread here

       
Derek Jones's avatar
Derek Jones
7,561 posts
18 years ago
Derek Jones's avatar Derek Jones

The version of the forums you are running lacks the extension hooks that this utilizes. A great deal of hooks were added in 1.3.2 to give developers more control.

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
18 years ago
Sean C. Smith's avatar Sean C. Smith

ah.. time to upgrade

       
Derek Jones's avatar
Derek Jones
7,561 posts
18 years ago
Derek Jones's avatar Derek Jones

Yep, and just in time as we released a new build a few moments ago. Of course, you’ll be following the version upgrade and not the build update instructions, but…fresh!

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
18 years ago
Sean C. Smith's avatar Sean C. Smith

yeah! it works for youtube, but not for google.

       
Lars Kirchhoff's avatar
Lars Kirchhoff
58 posts
18 years ago
Lars Kirchhoff's avatar Lars Kirchhoff

Hi Linguist,

you should use

[googlevideo]code[/googlevideo]

in order to get the google video to work AND you should only use the docid. You added the docid with an additional language parameter (&hl=en), which is used from google only for their user interface, but is not required in order to embed the video in any other website. So in your case it the code in your post should look like this:

[googlevideo]1384277706451157121[/googlevideo]

Hope that works than.

/lars

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
18 years ago
Sean C. Smith's avatar Sean C. Smith

I’m so stupid. I forgot the video part of googlevideo…

       
JT Thompson's avatar
JT Thompson
745 posts
18 years ago
JT Thompson's avatar JT Thompson

Any chance this could be added to the weblog module? I am using tinyMCE and it strips all my youtube embeds, and object code. Even clicking the ‘html’ button and manually adding it does not work.

       
Lars Kirchhoff's avatar
Lars Kirchhoff
58 posts
18 years ago
Lars Kirchhoff's avatar Lars Kirchhoff

this could be done as a plugin then.. will see if I can put it in a plugin the next few days.

/lars

       
Patrick Savalle's avatar
Patrick Savalle
31 posts
18 years ago
Patrick Savalle's avatar Patrick Savalle

Works fine 😊 http://www.zapruder.nl/forums/viewthread/8119/

Why not add Metacafe also?

(Personally I would have preferred the whole URL between brackets.)

And why not make it available with normal comments?

       
JT Thompson's avatar
JT Thompson
745 posts
18 years ago
JT Thompson's avatar JT Thompson
this could be done as a plugin then.. will see if I can put it in a plugin the next few days. /lars

Any update on this? Hate to be a pest.

       
Lars Kirchhoff's avatar
Lars Kirchhoff
58 posts
18 years ago
Lars Kirchhoff's avatar Lars Kirchhoff

sorry I haven’t had the time for it yet, so please bear with me a couple of days 😉 I’ll let you know.

/lars

       
Lars Kirchhoff's avatar
Lars Kirchhoff
58 posts
18 years ago
Lars Kirchhoff's avatar Lars Kirchhoff

Ok I did it 😉. It’s not a plugin. I just updated the extension. It now features the support in the weblog entries and makes it possible to use either the complete url or the doc_id.

You can get it here: http://www.lars-kirchhoff.de/go/journal/comments/update-video-extension/

/lars

       
Patrick Savalle's avatar
Patrick Savalle
31 posts
18 years ago
Patrick Savalle's avatar Patrick Savalle

Great! Does this also mean the tags can be used in comments also?

       
1 2 3

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.