Archive for November, 2009

>Play m4v Video PHP

Posted: November 17, 2009 in PHP

><blockquote>
“<video controls=”controls” height=”360″ poster=”preview.jpg” tabindex=”0″ width=”640″>

<source src=”aes.m4v” type=”video/mp4″></source>
<object data=”aes.m4v” height=”375″ type=”video/quicktime” width=”640″> <!–<![endif]–> <param name=”src” value=”aes.m4v”>
 <param name=”autoplay” value=”false”>
 <param name=”showlogo” value=”false”>
 <!– fallback to Flash –> <object type=”application/x-shockwave-flash” data=”player-viral.swf?image=preview.jpg&amp;file=aes.m4v” width=”640″ height=”380″> <param name=”movie” value=”player-viral.swf?image=preview.jpg&amp;file=aes.m4v”>
 <!– fallback message –> <img src=”http://www.blogger.com/preview.jpg&#8221; width=”640″ height=”360″ /> <!– you *must* offer a download link as they may be able to play the file locally –>  </object><!–[if gt IE 6]><!–> </object>
</video>”</blockquote>

http://www.longtailvideo.com/jw/upload/mediaplayer-viral.zip

Advertisements

>Print Div/Table css id Content

Posted: November 6, 2009 in Uncategorized

>function PrintContent(ctrl)
{

var DocumentContainer = document.getElementById(‘content’);;
//alert(DocumentContainer);
var WindowObject = window.open(”, “Driverlist”,
“width=720,height=525,top=250,left=345,toolbars=no,scrollbars=no,status=no,resizable=no”);
//alert(ctrl);
//alert(DocumentContainer.innerHTML);
WindowObject.document.write(DocumentContainer.innerHTML);
//alert(ctrl);
WindowObject.document.close();
WindowObject.focus();
WindowObject.print();
WindowObject.close();
}

Text here