googlevideo

The Jetpack by WordPress.com googlevideo shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[googlevideo]'); 
  1. // variable usage 
  2. $result = do_shortcode('[googlevideo]'); 
  3. echo $result;  

Defined (1)

The shortcode is defined in the following location(s).

/modules/shortcodes/googlevideo.php  
  1. $height = intval( 0.825 * $default_width ); 
  2. $src = esc_attr( $src ); 
  3.  
  4. return "<span style='text-align:center;display:block;'><object width='{$default_width}' height='{$height}' type='application/x-shockwave-flash' data='{$src}'><param name='allowScriptAccess' value='never' /><param name='movie' value='$src'/><param name='quality' value='best'/><param name='bgcolor' value='#ffffff' /><param name='scale' value='noScale' /><param name='wmode' value='opaque' /></object></span>"; 
  5. add_shortcode( 'googlevideo', 'googlevideo_shortcode' );