Author: andre Date: 2010-03-24 16:36:36 +0100 (Wed, 24 Mar 2010) New Revision: 41592
Modified: openimages/trunk/src/main/webapp/oiplayer/index.html Log: shortest example Modified: openimages/trunk/src/main/webapp/oiplayer/index.html =================================================================== --- openimages/trunk/src/main/webapp/oiplayer/index.html 2010-03-24 15:20:55 UTC (rev 41591) +++ openimages/trunk/src/main/webapp/oiplayer/index.html 2010-03-24 15:36:36 UTC (rev 41592) @@ -34,6 +34,11 @@ Besides the general configuration of the plugin itself, it uses for each individual tag the attributes the respective tag has like poster, width, controls, autoplay etc. </p> +<pre> +$(document).ready(function() { + $('body').oiplayer(); // on all video and audio tags in body +}); +</pre> <h3>Features</h3> <ul> <li>Plays video as well as audio</li> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs