ultimix

- Main Page
- Data Structures
- Files
- Examples

- File List
- Globals

jquery.media.autorun.js
Go to the documentation of this file.
1 jQuery(
2 function()
3 {
4 jQuery.fn.media.defaults.params[ 'allowfullscreen' ] = 'true';
5 jQuery( '.media' ).each(
6 function( i , Object )
7 {
8 var Autoplay = jQuery( Object ).attr( 'rel' ) == '1';
9 var FlashVars = { autostart : Autoplay };
10 jQuery( Object ).media(
11 {
12 flashvars: FlashVars ,
13 autoplay : Autoplay ,
14 width : jQuery( Object ).attr( 'width' ) ,
15 height : jQuery( Object ).attr( 'height' ) ,
16 mp3Player : './packages/jquery/packages/jquery_media/include/swf/mediaplayer.swf' ,
17 flvPlayer : './packages/jquery/packages/jquery_media/include/swf/mediaplayer.swf'
18 }
19 );
20 }
21 );
22 }
23 );