Initial commit
This commit is contained in:
commit
28e6ddf404
1083 changed files with 191734 additions and 0 deletions
23
plugins/jetpack/modules/shortcodes/videopress.php
Normal file
23
plugins/jetpack/modules/shortcodes/videopress.php
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
/**
|
||||
* Provides VideoPress videos support when module is disabled.
|
||||
*
|
||||
* @since 2.4
|
||||
* @since 3.9.5 Added compatibility with refactored VideoPress module.
|
||||
*/
|
||||
|
||||
if ( ! Jetpack::is_module_active( 'videopress' ) ) {
|
||||
|
||||
Jetpack::dns_prefetch( array(
|
||||
'//v0.wordpress.com',
|
||||
) );
|
||||
|
||||
/**
|
||||
* We won't have any videos less than sixty pixels wide. That would be silly.
|
||||
*/
|
||||
define( 'VIDEOPRESS_MIN_WIDTH', 60 );
|
||||
|
||||
include_once JETPACK__PLUGIN_DIR . 'modules/videopress/utility-functions.php';
|
||||
include_once JETPACK__PLUGIN_DIR . 'modules/videopress/shortcode.php';
|
||||
|
||||
}
|
Reference in a new issue