This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
Omphaloskepsis/plugins/jetpack/modules/shortcodes/videopress.php

23 lines
565 B
PHP
Raw Permalink Normal View History

2018-03-21 18:19:20 +00:00
<?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';
}