BuzzBadge: video
Showing posts with label video. Show all posts
Showing posts with label video. Show all posts

Tuesday, January 09, 2007

BuzzBadge to Video LAN Client (VLC)

Have you come across video or audio files that are in the form of .BIN, .CUE or .PUB? Those are files use for the burning of VCD and DVD. You will get those files types most often than not if you are downloading torrent.

In order to play video that ends with .BIN, .CUE, and .PUB, you need a software to mount that image onto your hard disk so that the the ordinary video players such as Windows Media Player will assume it is reading from a VCD or DVD.

However, here is a better way. Instead of mounting, why not play it directly? Yes you can! With Video LAN Client!

You can download Video LAN Client. It is free, as it is an open source development. After downloading and installing Video LAN Client, you can straight away play whatever types of media files, you name it. It is so useful that it becomes my primary video player now. (although I still use WMP to play mp3s)

Here is a list of all formats that VLC supports.

BuzzBadge to Video LAN Client!

Tuesday, October 17, 2006

How to: Add Google Video Bar to Blogger Beta



Following the promise on a BuzzBadge given to Google Video Bar, Here is the full guide on how to insert a Google Video Bar into your Blogger Beta blog (thanks to GSVideoBar Solution). First of all, I must declare that I am not a programmer nor a coder. I am just an average blogger who knows a bit of code here and there. So, I am not going to explain in detail how each element or piece of code work (I don't understand them) and I assume that you know a little bit of HTML and CSS.

Before I start, here are the references that might help you clear some doubts. I managed to insert the Google Video Bar into this blog by putting their codes together:

  1. Google Video Bar Sample
  2. Google Video Search Solution
  3. Google Ajax Search API
  4. Video Bar on Google API Blog
Seriously, if you are a coder, you don't need this newbie guide (and please don't laugh at my code-ignorance). If you are NOT a coder, do not read the references above yet, you will get scared (what happened to me).

Add Google Video Bar to Blogger Beta


Step 1: Get your API key ready
API is not scary. You don't need to understand what's an API key to make this work. I don't. But you need to have your very own API key. Ok, the Video Bar will fetch videos to your blog and display them as a list of thumbnails. In order for it to search and fetch the videos, you have to give it a key to enter the database (am I right?). Go here to signup for your API key. It is easy.

Step 2: Create a Widget to hold Javascript
This is easy too. Go to Template >> Edit HTML, scroll down to almost the end, find
<div id='header-wrapper'>
<b:section class='header' id='header' maxwidgets='1'>


Change maxwidgets='1' to maxwidgets='2'.

This will allow you to create a page element which you can then add a javascript element to hold the script.

Step 3: Load API key and Search Solution
This step is straight forward. Go to Template>> Page Elements, you will now see a new place to add page element, that's in your header. Click 'Add a Page Element', select 'HTML/JavaScript'. In the popup box, leave title to be blank, copy and paste this into the content:


<script src="http://www.google.com/uds/api?file=uds.js&v=1.0&key=YOUR-KEY" type="text/javascript"></script>
<link href="http://www.google.com/uds/css.gsearch.css.css" rel="stylesheet" type="text/css"/>
<script src="http://www.google.com/uds/solutions/videobar/gsvideobar.js" type="text/javascript"></script>
<link href="http://www.google.com/uds/solutions/videobar/gsvideobar.css" rel="stylesheet" type="text/css"/>

<script type="text/javascript">
function OnLoad() {
var vbr;
var options = {
largeResultSet : true
}
vbr = new GSvideoBar(
document.getElementById("videoBar"),
document.getElementById("videoPlayer"),
options
);
vbr.execute("VW GTI");
}
</script>


See that vbr.execute? Replace "VW GTI" with the tag of the videos you want.

Replace 'YOUR-KEY' in the codes above with the Google Search API you just signed up for. Save the Page Element.

Step 4: Insert the CSS
Insert this into your CSS section:

#videoBar {
width : 160px;
margin-right: 5px;
margin-left: 5px;
margin-top:100px;
padding-top : 4px;
padding-right : 4px;
padding-left : 4px;
padding-bottom : 0px;
float: left;
}

You may do some styling if you know CSS.

Step 5: Show me the Video!
Go to Template >> Edit HTML, change <body> to <body onload="OnLoad()">

Then, below the widget code you entered just now, insert these lines:


<div id="videoBar">Loading...</div>
<div id="videoPlayer">Loading...</div>


This will tell the video bar and video player to load. Don't worry about video bar's position, you can adjust it in the CSS you entered just now. However, you may want to change where the player will load. Move the div with videoPlayer id to any place in your template you want the player to show.

That's it! Hope it works for you!

technorati tags:
del.ico.us tags:
icerocket tags:

BuzzBadge to Google Video Bar



Google's Ajax Search API has enabled the flexibility of creating wonderful widgets and enhancements to a website. Specifically, today's BuzzBadge is given to Google Video Bar.

I just spent few hours learning how to get Google Video Bar to display on BuzzBadge. Look to your left, do you see a video bar containing Google Videos? That's it! Try click on a video, a player (Ajaxed) will appear on top of the main post section to play the selected video. You can pre-define the videos for the search API to fetch into the Video Bar by specifying the keyword. Of course, you can also make links (a javascript with your keyword in it) on your page that will ask the search API to fetch another sets of videos matching your keyword.

Sounds interesting? It is not hard at all to include some codes into your template that will do the trick. I will write an article on how to include Google Video Bar in Blogger Beta template in a while. Mean while, play with the Video Bar on your left. To hide the video player, click "i'm done watching". This is the beauty of Ajax: it does not need to refresh the page to process your request.

Update: Here's the guide on how to include Google Video Bar

technorati tags:
del.ico.us tags:
icerocket tags: