I’m happy to announce that TubePress 1.6.0 is now available for download. Thanks to all who helped test and debug 1.6.0-beta! The documentation will be updated shortly to reflect the new features.
Please keep in mind that 1.6.0 requires PHP5 or higher; it should fail gracefully under PHP4. For those who cannot upgrade to PHP5, I will provide maintenance releases for version 1.5.7, but supporting the 1.6.0 version and beyond will take priority.
Have fun blogging!
It’s been several months, but a new release of TubePress is available for download. This version includes lots of new features and a significant overhaul of the code base, so it will be released as beta until we can confirm that it’s relatively bug-free. Please give it a test and report any problems over at the issues page or on the discussion forum. Here are the new features…
- PHP5 only. This includes an overall rewrite of the code base to take advantage of PHP5-only stuff
- Responses from YouTube are now cached
- New galleries
- Top favorites
- Most recently added
- Most discussed
- Most linked
- Most responded
- New way to watch: Shadowbox.js
- Removed “New Window” player
- Much more control over embedded player
- Toggle “related videos” feature after a video finishes
- Choose from several colors
- Toggle auto-play
- Toggle “enhanced genie menu” when mouse enters video area (instead of user clicking the “menu” button)
- Toggle video loop
- Interface improvements
- Removed border and scroll bars from gallery
- Removed time of day from date uploaded
- Changed upload label from “Uploaded date” to “Uploaded”
- Pagination now supports HTTP/HTTPS and non-standard ports
- Simplified templating (easier to customize the look of your galleries)
- Issues/enhancements closed
- Upgrade source to GPLv3
It also works with WordPress 2.5, though the options page doesn’t look quite as nice. Enjoy!
This version includes fixes for all the bugs filed with version 1.5.5, but perhaps more importantly, fixes a major bug with displaying video titles. If you notice that only the first letter of each title is being displayed, you should upgrade! It appears to be the result of a change in the video feed from YouTube. Download the update using the link on the right!
¶
Posted 15 November 2007
§
This is the first version of TubePress that is backed by the GData API. What does that mean for you?
- “Favorites” mode now displays up to 500 videos
- “Search” mode now can return up to 1,000 videos
- New mode: videos for mobile phones
- New mode: most-viewed videos from today, this week, this month, or all time
- Customize the order of galleries by view-count, rating, relevance, or date-updated
- Randomize thumbnails (most videos come with 4 thumbnails, this option will mix it up for each pageload)
- Filter “racy” videos from galleries
- Option to show a video’s category in its metadata
There’s also tons of enhancements and a few bug fixes reported from previous versions.
I’ve also decided to change the organization of the site. Tubepress.org will remain the plugin’s main home, but the documentation, discussion forums, and development area (downloads and tickets) will move to groups.google.com and tubepress.googlecode.com. The existing forums will stay up as read-only and are available here.
Lastly, and this is important, this will be the last version of TubePress that supports PHP4. The plugin is getting quite complex and PHP4’s OOP model isn’t nearly strong enough to keep it manageable and robust.
Give 1.5.5 a try and please report any bugs that you find!
¶
Posted 02 October 2007
§
After 3 months of anticipation, YouTube has released an updated (and hopefully much less buggy) version of their API. It’s based on GData, which is Google’s standard for content publishing.
It kept all the features from the old API, and added the following neat features:
- Sort videos by data uploaded, views, rating, or relevance!
- Only retrieve videos of a particular format (the plain YouTube flash, RTSP streaming URL for mobile video playback, or the URL to the SWF player for non-embeddable videos). Apparently the majority of videos are available in the first and last of those formats.
- Filter out “racy” content
- Added time parameters (today, this week, or this month) to “Top Rated.” Previously this was just available with “Most Viewed”
Not bad, but everyone has been screaming for an upload API, which YouTube has acknowledged is still missing. I guess they’re busy like the rest of us…
What does that mean for TubePress? Well, because it’s the way YouTube is headed, and because it has all the cool new features, TubePress is going to use the new API from now on. I’ll release it with Version 1.5.5 of the plugin, which is already well underway. This release will probably come in the next few weeks. I’d work on it this weekend, but instead am headed up to Glacier National Park armed with bear mace (I’d probably use mine on a bear instead).
¶
Posted 28 August 2007
§
This version fixes a fatal error when the plugin was activated under some PHP installations. The error was related to a bug in each of the classes in /common/class/options regarding the way PEAR.php was included. As always, you can see the plugin’s full version history here. Enjoy!
¶
Posted 10 August 2007
§
The YouTube API discussion board has been on fire lately about an abrupt change in the format of the data returned by their API. Unfortunately, this change broke TubePress’s “search” mode, leaving an empty page instead of the results.
Version 1.5.1 of TubePress, available from the download link on the right, fixes the issue.
I’ve been making steady progress on the next major version of the plugin. It will include some exciting new features, so stay tuned!
This version is the result of a few months’ work on the code base. If you’ve taken a look at the PHP of previous versions, you may not recognize a whole lot in 1.5.0. My goal was to lay a better foundation for some features I have in mind for the future. It also comes with a slew of new features and bug fixes.
If you’re updating, just overwrite the old version and visit the options page (WP Admin > Options > TubePress) at least once to initialize the new version. Enjoy!
- New features
- “All tags” and “Any tags” modes now merged into “YouTube search” mode
- Play videos with GreyBox (this replaces ThickBox)
- Play videos with lightWindow
- Pagination now uses modified Digg Style pagination
- Max player size is now 424px x 336px (removes thin white border from player)
- Input validation on options page
- All error messages are extremely detailed
- Debug mode is more comprehensive
- Option to disable debugging mode completely
- Bug Fixes
- Embedded video is XHTML compliant
- “Playlist” mode pages correctly (thanks, YouTube!)
- “Normal” mode displays title and runtime correctly after user click
- Under the Hood
- Much better code documentation
- Code style is PEAR compliant
- XML parsing uses PEAR’s XML_Unserializer instead of XMLIster
- Almost all functions moved to classes (helps namespace management)
- WordPress-specific code is cleanly isolated
- Improved message-resources handling
- Revamped directory structure
- Improved naming conventions all around
- Quasi-private methods (PHP4 OOP isn’t too sophisticated)
- Most HTML printing methods use sprintf (or variant) - improves readability