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

New Extension/Plugin: Tubesock

Development and Programming

Carl W Crawley's avatar
Carl W Crawley
136 posts
about 16 years ago
Carl W Crawley's avatar Carl W Crawley

So - here’s my hat trick addon of the day… introducing TUBESOCK 😊

I built this because I’m sure I’m not alone in having difficulties explaining to clients how to copy/paste the Video ID from their you tube channel video to embed it into their website.

So this is where Tubesock comes in! Install it, assign your channel name in settings and then create the custom field. Hey Presto, You’ll get a populated video list of all available videos in the channel to select.

Combine that with the Tubesock plugin which enables you as a developer to output the video embed code in a clean compliant way as well as output thumbnail images of videos if you desire.

Comments/Suggestions all welcomed - as they are on all addons I release!

If you haven’t caught the other two addons I’ve released today, see below:

EEG Footer Logo : http://ellislab.com/forums/viewthread/152998/ EEG Foreign Date Time Converter : http://ellislab.com/forums/viewthread/152996/

Many Thanks,

Carl @cwcrawley

http://www.madebyhippo.com http://www.eeguru.net

       
John-Gordon's avatar
John-Gordon
76 posts
about 16 years ago
John-Gordon's avatar John-Gordon

Sorry if it’s right under my nose, but which version of EE is it compatible with? I assume EE2 since you used the word “channel?”

This looks very useful I might add.

       
Carl W Crawley's avatar
Carl W Crawley
136 posts
about 16 years ago
Carl W Crawley's avatar Carl W Crawley

Sorry it’s 1.6.x addon - I’ve never personally referred to them as weblogs since the first thing I learned to do was to rename them to ‘channels’ or ‘sections’ 😊

Rgds,

Carl.

       
John-Gordon's avatar
John-Gordon
76 posts
about 16 years ago
John-Gordon's avatar John-Gordon

Awesome. I think I have a project very soon that could use this add-on.

I’ll report back if I have any questions or compliments. 😊

       
Carl W Crawley's avatar
Carl W Crawley
136 posts
about 16 years ago
Carl W Crawley's avatar Carl W Crawley
Awesome. I think I have a project very soon that could use this add-on. I’ll report back if I have any questions or compliments. 😊

No worries… I’ve tested it on a few instances and have a few other people test it successfully, so just let me know if you have any problems.

       
dibeja's avatar
dibeja
11 posts
about 16 years ago
dibeja's avatar dibeja

Great work! I’ve added a couple of lines of code in order to use this filed inside a matrix.

function display_cell($cell_name, $cell_data)
   {
       return $this->display_field($cell_name, $cell_data);
   }

Tested and seems to work for me. Many thanks.

       
Carl W Crawley's avatar
Carl W Crawley
136 posts
about 16 years ago
Carl W Crawley's avatar Carl W Crawley
Great work! I’ve added a couple of lines of code in order to use this filed inside a matrix.
function display_cell($cell_name, $cell_data)
   {
       return $this->display_field($cell_name, $cell_data);
   }
Tested and seems to work for me. Many thanks.

Awesome - if you want to send me your updated file - I’ll integrate it with my master svn repo. ([email protected])

Cheers,

Carl

       
Carl W Crawley's avatar
Carl W Crawley
136 posts
about 16 years ago
Carl W Crawley's avatar Carl W Crawley

Thanks for the Update - I’ve included that in this version (1.0.1) now.

Regards,

Carl.

       
Wes Baker's avatar
Wes Baker
343 posts
about 16 years ago
Wes Baker's avatar Wes Baker

Great work on the extension, it’s a great idea. Could you have the default selected option be blank? I want to have the field be optional, so having something always selected is problematic.

       
Carl W Crawley's avatar
Carl W Crawley
136 posts
about 16 years ago
Carl W Crawley's avatar Carl W Crawley

Good Idea Wes,

Updated code below - v 1.0.2 now has a ‘Please Select Video’ default state.

Carl

       
Jason Varga's avatar
Jason Varga
26 posts
about 16 years ago
Jason Varga's avatar Jason Varga

Carl, this is awesomeeee. Always a little painful explaining to clients how to paste in YouTube URLs.

Would it be possible to pull only videos from a particular playlist or favorites list in the channel? A client I’m working with has a collection of videos from a bunch of other people’s channels.

       

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.