Home mail me! Syndication

Peng

This is my collection of 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

Perfect Relationships

Everything Changes … 65 times in a finger snap. The very existence of anything is basic reason of why it eventually dies. But there is a path to happiness … cultivate the Seven Steps to Trust for which in a nutshell is to first understand that a pencil is only a pencil because of us, but itself the pencil is Nothingness. Second understand the hidden potential behind every situation in relation to the first. Then and only then would the Seven Steps to Trust be meaningful …

Chapter 10 of “The Diamond Cutter” in Chinese

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

Web Analytics With Clicktale

Would you want to know which part of your squeeze page actually works? Yes? Would you want to know what is the heat map on your squeeze page? Yes?

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 do keyword research for Amazon affiliate marketing

This is a transcription of Fabian’s Webinar on 2009 February 11th 7:00 (+8:00 GMT). This has been my favorite topic from Fabian and hearing it repeated is always welcome as it allows me to pick up a lot of more tips that I miss.

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 achieve Business Growth ?

Would you survive these economic times if you could grow your business ? Would you survive these economic times if you have the Secrets to Business Growth ?

Next entries »