videopress

Singleton.


Usage

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

Defined (1)

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

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