wpvideo

The Jetpack by WordPress.com wpvideo shortcode.


Usage

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

Defined (1)

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

/modules/videopress/shortcode.php  
  1. return $instance; 
  2.  
  3. function __construct() { 
  4. add_shortcode( 'videopress', array( $this, 'shortcode_callback' ) ); 
  5. add_shortcode( 'wpvideo', array( $this, 'shortcode_callback' ) ); 
  6.  
  7. /** 
  8. * Translate a 'videopress' or 'wpvideo' shortcode and arguments into a video player display.