Producing Participatory Media
Week 4 - February 6
Topics:
Video Aggregation Sites
List on the wiki: Wiki::VideoAggregators for all to edit, update and reference.
Video Aggregation Software
List on wiki: Wiki::DesktopVideo Aggregators
Pushing it further
Using existing web based technologies in combination with audio and video on the internet we can push the medium further. From allowing tagging to occur within video to simply offering a better experience we might be able to offer some of the things that video blogging and podcasting are missing.
JavaScript and QuickTime (on the web)
Since QuickTime can be used as a browser plugin, it can be scripted.
The first step is to embed the video:
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="320"HEIGHT="257" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" ID="myMovie"> <PARAM name="SRC" VALUE="http://itp.nyu.edu/~sve204/ppm/embedded.mp4" /> <PARAM name="AUTOPLAY" VALUE="false" /> <PARAM name="CONTROLLER" VALUE="true" /> <EMBED SRC="http://itp.nyu.edu/~sve204/ppm/embedded.mp4" WIDTH="320" HEIGHT="257" AUTOPLAY="false" CONTROLLER="true" PLUGINSPAGE="http://www.apple.com/quicktime/download/" NAME="myMovie"> </EMBED> </OBJECT>Careful when using this code. Make sure that stray line breaks don't mess things up.
<html> <head> <!-- QTObject embed by Geoff Stearns geoff@deconcept.com http://blog.deconcept.com/ --> <script type="text/javascript" src="http://itp.nyu.edu/~sve204/ppm_spring07/qtobject.js"></script> </head> <body> <div id="video"> <script type="text/javascript"> // create the qtobject and write it to the page, this includes plugin detection // be sure to add 15px to the height to allow for the controls var myQTObject = new QTObject("http://itp.nyu.edu/~sve204/ppm_spring07/embedded.jpg", "mymovie", "320", "255"); myQTObject.addParam("href", "http://itp.nyu.edu/~sve204/ppm_spring07/embedded.mov"); myQTObject.addParam("target", "myself"); myQTObject.addParam("controller", "false"); myQTObject.write(); </script> </div> </body> </html>Here is what the above yields:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="550" height="400" id="player_lite" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="player_lite.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#ffffff" /> <param name="flashvars" value="url=embedded.flv" /> <embed src="player_lite.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="player_lite" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="url=embedded.flv" /> </object>Basic Flash Video Player Source File
<html> <head> <script type="text/javascript" src="http://itp.nyu.edu/~sve204/ppm_spring07/swfobject.js"></script> </head> <body> <div id="flashcontent"> <script type="text/javascript"> var so = new SWFObject("player_lite.swf", "myflvmovie", "550", "400", "7", "#ffffff"); so.addVariable("url", "embedded.flv"); so.write("flashcontent"); </script> </div> </body> </html>Here is how it is rendered: