diff options
Diffstat (limited to 'plugins/jetpack/modules/videopress.php')
-rw-r--r-- | plugins/jetpack/modules/videopress.php | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/plugins/jetpack/modules/videopress.php b/plugins/jetpack/modules/videopress.php index cdbab44e..88d60409 100644 --- a/plugins/jetpack/modules/videopress.php +++ b/plugins/jetpack/modules/videopress.php @@ -10,15 +10,10 @@ * Additional Search Queries: video, videos, 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 dirname( __FILE__ ) . '/videopress/utility-functions.php'; include_once dirname( __FILE__ ) . '/videopress/shortcode.php'; include_once dirname( __FILE__ ) . '/videopress/videopress.php'; + +if ( is_admin() ) { + include_once dirname(__FILE__) . '/videopress/editor-media-view.php'; +} |