summaryrefslogtreecommitdiff
blob: 1de520951a2fa227ff6756ab62d56704b5f9ec6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?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',
	) );

	include_once JETPACK__PLUGIN_DIR . 'modules/videopress/utility-functions.php';
	include_once JETPACK__PLUGIN_DIR . 'modules/videopress/shortcode.php';

}