This is the download and documentation page for the Video Blogger plugin I've made for Wordpress 2.0 . This plugin allows for simple video blogging of content hosted by Google Video, YouTube, DailyMotion and vSocial. Requires Wordpress 2.0. Sorry, these docs are weak. In general the plug-in is pretty weak. It works for my needs. Feel free to improve. Read on for screenshots, installation instructions, and downloads.
————————————————
Screenshots:
1. The plugin.
2. The Options.
3. A simple post with a video from YouTube.com.
4. Same post with some additional text in the title and body.
5. Preview of the post before publishing.
6. Read-only Meta data showing a successfully cached video.
7. An actual post.
————————————————
Change log:
1.0 - Initial Release
1.0a - Cleaner code for correctly setting slug during Publish when !vb directive is present in post title.
1.0b - Added support for Dailymotion.com .
1.0c - Added check for presence of PHP CURL Library.
1.0d - 1.0b and 1.0c were totally broken! Dah! 1.0b had improper logic around using the strpos function and 1.0c totally broke the XML fetch code! This version has resolved the original issues.
1.0e - Fixed YouTube thumbnail url integration - You must do a REFRESHALLPOSTS on the options page to update the cached thumbnail urls!, Added thumbnail index support for YouTube, Also ThumbnailIndex parameter can now be a URL that points to any image you would like and can be used for gv/yt/vs/dm, Added code in the option page to alert you when a new VideoBlogger version is available, Fixed/Overhauled the Player Width/Height code (It actually should work now.)
1.0f - Should have tested the new YouTube thumbnail urls better - sometimes it worked, sometimes it did not - This has been fixed. Also fixed broken Video Url integration with Google Video.
1.0g - It's been forever! This whole plug-in is hack! — but it works ok. PHP & WP development is not one of my specialities. This version fixes interface changes with Google Video, Youtube, and VSocial. Some logic improvements, strip html tags from descr text. How do I test this stuff?? If it works on my site the way I need it to - it's tested.
1.0h - Everytime I fix something, youtube breaks it! Fixed youtube integration, again. I wish these guys would figure out a better way to do integration other than their cheesy embed copy/paste approach - or open up their api with having to go through an interview process! To correct existing videos on your blog, after installing, go to the Options -> Video Blogger -> and perform a "Refresh All Posts" operation.
————————————————
Download it: Video Blogger Plugin for WordPress 2.0 ( Current plugin version = 1.0h )
————————————————
Questions/Problems?: Submit your questions here.
————————————————
Currently supported video hosts:
————————————————
Installation:
* = Required step.
- This plug-in requires PHP CURL Library support. Most hosts have this setup for you. http://www.php.net/curl
- *Copy the extracted wp-videoblogger folder into your wp-content/plugins dir.
- *Activate it.
- *Go to Options->Video Blogger (Note: This step should create a table called "vb_content" using the WP table prefix. )
- Adjust video player width and heights if you'd like.
- See "Vlog a video" below.
————————————————
Vlog a video:
- Goto video.google.com or vsocial.com or YouTube.com
- Search on your video.
- Click on the video to view it full screen.
- Look in the address bar, you will see some sort of videoid parameter. Get this ID - this will be your "videoid" - not the whole url, just the id part.
- In WordPress, create a new post.
- To display the Video title in the post title, place "!vb:videosourceswitch,videoid!" (without the quotes) anywhere in the title. videosourceswitch = gv for Google Video, yt for YouTube, vs for vSocial, dm for Dailymotion. videoid = your video id from step 4.
- To display the actual Video in the post body, place "!vb:videosourceswitch,videoid,[thumbnailindex]!" (without the quotes) anywhere in the body. videosourceswitch = gv for Google Video, yt for YouTube, vs for vSocial, dm for Dailymotion. videoid = your video id from step 4. [thumbnailindex] = Optional, and for Google only. Allows you to override which thumbnail is shown by default. A number 1-6, which corresponds to the small thumbnails shown on the full screen video page on the right side.
- Click the "Save and Continue Editing" button. NOTE: You should ALWAYS save and preview your post first to make sure the video is probably parsed and cached! Even more important if you are using the directive in the title amd plan on letting WP auto generate the post slug AND your using Permalinks.
————————————————
Google Video Example:
- Video=http://video.google.com/videoplay?docid=5133441566760049494
- Video Id=5133441566760049494
- New Post in WP
- Set Title Edit Box = "!vb:gv,5133441566760049494!"
- Set Post Edit box = "!vb:gv,5133441566760049494,4!"
- Click Save And Continue Editing.
- Scroll down and you should see various details about your video in the READ ONLY META area. This is simply to show you what video data was cached based on the directive you entered.
- Scroll down and view the preview window.
- Click on your video to play it!
- If it looks right and works, Publish it.
————————————————
YouTube Video Example with Custom Thumbnail Url:
- Video URL from YouTube.com=http://youtube.com/watch.php?v=Mdn9p0xpSMs
- Video Id=Mdn9p0xpSMs
- New Post in WP
- Set Title Edit Box = "!vb:yt,Mdn9p0xpSMs!"
- Set Post Edit box = "!vb:yt,Mdn9p0xpSMs,http://helmetcameracentral.com/images/CliffLakeStory_ZoomerForWeb_30p.jpg!"
- Click Save And Continue Editing.
- Scroll down and you should see various details about your video in the READ ONLY META area. This is simply to show you what video data was cached based on the directive you entered.
- Scroll down and view the preview window.
- Click on your video to play it!
- If it looks right and works, Publish it.
No comments:
Post a Comment