Home mail me! Syndication

Peng

This is my collection of How To …






Archive for How to

How to embed and play part of a video from the internet?

How to embed and play part of a video from the internet?

This came up recently from a friend’s request. It got me stumbled for a while; I’ve been embedding Youtube videos and we all know how to do that with the Youtube widgets for WordPress. But how to embed and play part of a video from the internet is something I have not done.

So I Google around and voila! there was indeed such controls. Below is the code that would do just that:

<_object classid=”clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B” codebase=”http://www.apple.com/qtactivex/qtplugin.cab” height=”400″ width=”450″>
<_param name=”src” value=”http://content5.catalog.video.msn.com/e2/ds/3ad3256e-86f7-46ee-b853-0d785427db29.mp4″>
<_param name=”scale” value=”aspect”>
<_param name=”controller” value=”true”>
<_param name=”autoplay” value=”false”>
<_param name=”STARTTIME” value=”00:08:29:01″>
<_param name=”ENDTIME” value=”00:11:51:01″>
<_embed type=”video/quicktime” pluginspage=”http://www.apple.com/quicktime/download/” src=”http://content5.catalog.video.msn.com/e2/ds/3ad3256e-86f7-46ee-b853-0d785427db29.mp4″ scale=”aspect” controller=”true” autoplay=”false” starttime=”00:08:29:01″ endtime=”00:11:51:01″ height=”400″ width=”450″>
<_/object>

If you cut-and-paste the above lines of code, do remember to remove the single underscore character after each < character. The space was inserted so that the browser won’t process the code. I tried using the code tags in WordPress, but it does not display properly.

The “src” value is merely the URL to the video stream. Here I am using the Quicktime Player to provide the controls. I’ve not tested the same codes for Windows Media Player or any other video players. The values for the STARTTIMEENDTIME is in the format of HH:MM:SS:Frame.

Remember to cite the video correctly for copyright and place a back link to the actual web page.

And if you want the video to autoplay, just change the corresponding value from “false” to “true“. And you can even add a ‘@HH:MM:SS:Frame‘ to the autoplay value to instruct Quicktime to preload an amount of video before starting to playback. I like this a lot, for users with lower bandwidth and to ensure that when they view the video it would playback at a reasonably smooth manner, this value could be tuned.

References:
developer.apple.com
purdue.edu

Sample video of the above code:


Original Video Source at XINMSN: Click Here to View
Show Me The Money: Episode 7
4 hosts takes on the role as women from different levels of the social hierarchy: A ‘Tai-Tai’ who leads an extravagant lifestyle (Belinda Lee), a single OL who spends every single cent of her salary by month-end (Pat Mok), a calculative housewife (Kym Ng) and a hardworking hairdresser (Quan Yifong) from neighbourhood salon.
Published: 23/6/11
Network: Channel 8

Chapter 10 of “The Diamond Cutter” in Chinese

Understanding Chapter 10 of “The Diamond Cutter” in Chinese by Jaslyn Tan
第十章: 保持心灵的清澈明净
六时书 + 晨间修持静坐的重要性和好处是 …

Be Inspired

This is my collection of videos I found to be very inspirational – to me they exhibit the highest order of the human spirit.

Convert Video From One Format To Another

Would you like to convert video formats from one to another? Would you like to be able to use your favorite video editing software to produce a single video and have it converted into the most common formats for use in most gadgets and the Internet? Well this is what I use.

How to modify WordPress default theme?

This came about when one of my friend, Clinton Lim, ask how he could put up his picture and change a couple of colors of the Wordpress default theme – also commonly known as Kubrick.

How to add a Youtube Video into WordPress

I installed the Easytube plugin for Wordpress and then insert the youtube tag. The tag I use for the video below is simply [ youtube:URL ] with no blank space after the opening square bracket. Where URL is the Youtube URL of your desired video.

How to use Lorelle VanFossen’s tip on WordPress excerpts

Would you like to know Lorelle’s code for these excerpts ? Would you like to know what changes I made to Lorelle’s code for it to appear in the way you see it here ? Well this post listing the changes I made to Lorelle’s code.

How to display excerpts of posts ?

“How to display excerpts of posts ?”

I learned this by Googling and found this fantastic site by Lorelle VanFossen with the code to do it. I made some minor modifications to suit my blog here. In accordance to the code, this is a short post with no excerpt and no ‘more’ code, so the whole post would be displayed. Lorelle monitors the web closely, my best guess is that she set up a Google Alert on her name so, when you mention her name on your post she gets notified by Google Alerts. She found this short post of mine within a day and you can view her comments if you select open this post . . . End of post.

How to write a Blog post ?

Blog and How to and Write

Would you like to learn how to write a blog post ? How about being able to write a blog post that would be easy to read and readers would want to read ? Here is my simple guide for newbies on how to write your first blog post.

How-to make Mozilla Firefox work faster

Would you like your Firefox browser to work better ? How about getting Firefox to load faster and better ? Well here are some simple tweaks, nothing fancy, just plain simple ones you could use. This is a step by step process with screen captures for you to follow.