This content has been marked as final.
Show 1 reply
-
1. Re: jQuery Media Plugin , RichFaces and Seam
sait Dec 1, 2009 1:34 PM (in response to sait)I solved by myself :)
Just add this code between head tags
<a4j:loadScript src="resource:///styles/jquery.media.js" />
Then you can use JQuery Media Plugin in your pages as shown below
<a id="media" href="mariobros.avi">Movie#1</a> <rich:jQuery selector="#media" query="click(function(){ var answer = confirm('Do you want to watch?'); if (answer){ jQuery(this).media(); return false; } else{ return false; }; } )" />