Tuesday, September 29, 2009

Free FLV JW Player by Logtail video

For webmaster who are looking for video player to embed to your web, JW player is a write choice choose and free.
Just download from:

If you want to used wmv video download from :

You can get like this:


The required file that you need is :

1. player-viral.swf
2. swfobject.js
3. Your tumbnail image for video
4. Your video then
5. Your script to call video.

How to embed? use this simple code:

<script type='text/javascript' src='swfobject.js'></script> <div id='mediaspace'>This text will be replaced</div> <script type='text/javascript'>
var so = new SWFObject('player-viral.swf','ply','470','320','9','#ffffff'); so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always'); //
so.addParam('wmode','opaque'); so.addVariable('file','video.flv');
so.write('mediaspace'); </script>

* make sure your patch is correct.

To customize UI just add / modified the parameter:

Color

so.addVariable('backcolor','FFFFFF'); //background color so.addVariable('frontcolor','FFFFFF'); //frontcolor color so.addVariable('lightcolor','FFFFFF'); //lightcolor color so.addVariable('screencolor','FFFFFF'); //screen color

Size

var so = new SWFObject('player-viral.swf','ply','470','320','9','#ffffff');

For more properties visit :

Thanks to :

Monday, September 28, 2009

Basic Javascript in web

Window popup

<head>
<script type="text/javascript">
<!--
function myPopup() {
window.open( "http://www.google.com/" )
}
//-->
</script>
</head>
<body>
<form>
<input type="button" onClick="myPopup()" value="POP!">
</form>
<p onClick="myPopup()">CLICK ME TOO!</p>
</body>


Alert box

<form>
<input type="button" onclick=
"alert('Are you like the greatest post?')"
value="Confirmation Alert">
</form>


Page redirect

<html>
<head>
<script type="text/javascript">
<!--
function delayer(){
window.location = "../javascriptredirect.php"
}
//-->
</script>
</head>
<body onLoad="setTimeout('delayer()', 5000)">
<h2>Prepare to be redirected!</h2>
<p>This page is a time delay redirect, have fun with the greatset post</p>

</body>
</html>


for more... wait for update soon..

How to create a "My Map" in Google Maps

What is google maps?
Google Maps (for a time named Google Local) is a web mapping service application and technology provided by Google, free (for non-commercial use), that powers many map-based services, including the Google Maps website... ( wikipedia )

FLV video Streaming with PHP

The simple meaning of video streaming is you no need to download video to play but play the video via web, youtube.com as example.

I found a source how to make a video streaming with PHP ( flv format)
Click Here ( credit to FlashComGuru )

visit : www.flashcomguru.com