-
Notifications
You must be signed in to change notification settings - Fork 1
/
flowplayer-embed.php
37 lines (33 loc) · 1.01 KB
/
flowplayer-embed.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
* Flowplayer Platform Embed for WordPress
*
* @package Flowplayer Platform Embed
* @author Janne Ala-Äijälä <[email protected]>
* @license GPL-2.0+
* @link https://flowplayer.com/
* @copyright 2020 Flowplayer Ltd
*
* @wordpress-plugin
* Plugin Name: Flowplayer Platform Embed
* Description: Embed videos from Flowplayer online video platform directly into posts via WordPress media gallery
* Version: 0.3.0
* Author: Flowplayer ltd.
* Author URI: https://flowplayer.com/
* Text Domain: flowplayer_embed
* Domain Path: /languages
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
$dir = dirname( __FILE__ );
require_once( $dir . '/lib/embed.php' );
require_once( $dir . '/block/block.php' );
if ( is_admin() ) {
require_once( $dir . '/lib/settings.php' );
require_once( $dir . '/lib/admin-media.php' );
require_once( $dir . '/lib/admin-ajax.php' );
}