jetpack_responsive_videos_init

Load the Responsive videos plugin.

Description

jetpack_responsive_videos_init(); 

Usage

  1. if ( !function_exists( 'jetpack_responsive_videos_init' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/theme-tools/responsive-videos.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = jetpack_responsive_videos_init(); 
  7.  

Defined (1)

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

/modules/theme-tools/responsive-videos.php  
  1. function jetpack_responsive_videos_init() { 
  2.  
  3. /** If the doesn't theme support 'jetpack-responsive-videos', don't continue */ 
  4. if ( ! current_theme_supports( 'jetpack-responsive-videos' ) ) { 
  5. return; 
  6.  
  7. /** If the theme does support 'jetpack-responsive-videos', wrap the videos */ 
  8.  
  9. /** Only wrap oEmbeds if video */ 
  10.  
  11. /** Wrap videos in Buddypress */