Version Description
- Maintenance: Ding, dong Applian has gone. Removed Vixy branding, updated README and language files to match
- Maintenance: Removed those Vixy download links and restored the old method - will enhance this in a future release
- Maintenance: Plugin had too much baggage so it could support old versions of WordPress. Why? Updated it to only support more recent versions but have removed lots of un-needed guff as well. The result - this version is 15% slimmer than the previous version. Win!
- Maintenance: Spruced up the admin screens to match the new WordPress styling
- Bug: Resolved a number of bugs as reported by users and spotted by myself. Thanks all! More fixes to come
Download this release
Release Info
Developer | dartiss |
Plugin | YouTube Embed |
Version | 3.3 |
Comparing to | |
See all releases |
Code changes from version 3.2.1 to 3.3
- css/admin-3.1.css +0 -47
- css/admin-3.1.min.css +0 -1
- css/admin.css +0 -30
- css/admin.min.css +1 -1
- css/main.css +0 -0
- css/main.min.css +0 -0
- images/!original.png +0 -0
- images/admin_menu_icon.png +0 -0
- images/admin_screen_icon.png +0 -0
- images/cross.png +0 -0
- images/poweredby.png +0 -0
- images/tick.png +0 -0
- images/youtube_button_b&w.png +0 -0
- images/youtube_button_color.png +0 -0
- includes/add-mce-button.php +2 -14
- includes/add-scripts.php +1 -4
- includes/add-to-admin-bar.php +36 -76
- includes/admin-config.php +18 -63
- includes/deprecated.php +0 -58
- includes/function-calls.php +0 -0
- includes/generate-comments-code.php +2 -2
- includes/generate-download-code.php +3 -53
- includes/generate-embed-code.php +14 -8
- includes/generate-shorturl-code.php +0 -0
- includes/generate-thumbnail-code.php +0 -0
- includes/generate-transcript-code.php +2 -2
- includes/generate-widgets.php +0 -0
- includes/options-general.php +13 -23
- includes/options-lists.php +2 -5
- includes/options-profiles.php +50 -67
- includes/options-widgets.php +0 -0
- includes/set-defaults.php +11 -3
- includes/shared-functions.php +0 -49
- includes/shortcodes.php +7 -2
- includes/update-post-content.php +0 -0
- js/mce-button.min.php +0 -3
- js/mce-button.php +0 -31
- js/mce4-button.min.php +0 -0
- js/mce4-button.php +0 -0
- languages/youtube-embed.mo +0 -0
- languages/youtube-embed.po +300 -334
- readme.txt +20 -8
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
- screenshot-4.png +0 -0
- screenshot-5.png +0 -0
- screenshot-6.png +0 -0
- uninstall.php +0 -0
- youtube-embed.php +8 -9
css/admin-3.1.css
DELETED
@@ -1,47 +0,0 @@
|
|
1 |
-
|
2 |
-
/* Administration screen styles */
|
3 |
-
|
4 |
-
.ytbox_grey {
|
5 |
-
background-color: #f1f1f1;
|
6 |
-
padding: 10px;
|
7 |
-
border: 1px solid #ddd;
|
8 |
-
}
|
9 |
-
.yt_heading {
|
10 |
-
font-weight: bold;
|
11 |
-
font-size: 1.1em;
|
12 |
-
}
|
13 |
-
|
14 |
-
#np-notepad ul {
|
15 |
-
list-style: disc;
|
16 |
-
}
|
17 |
-
|
18 |
-
#np-notepad ul, ol {
|
19 |
-
margin-left: 60px;
|
20 |
-
}
|
21 |
-
|
22 |
-
|
23 |
-
/* Video dynamic resizing */
|
24 |
-
|
25 |
-
.ye-container {
|
26 |
-
position: relative;
|
27 |
-
padding-bottom: 56.25%;
|
28 |
-
padding-top: 30px;
|
29 |
-
height: 0;
|
30 |
-
overflow: hidden;
|
31 |
-
}
|
32 |
-
|
33 |
-
.ye-container iframe,
|
34 |
-
.ye-container object,
|
35 |
-
.ye-container embed {
|
36 |
-
position: absolute;
|
37 |
-
top: 0;
|
38 |
-
left: 0;
|
39 |
-
width: 100%;
|
40 |
-
height: 100%;
|
41 |
-
}
|
42 |
-
|
43 |
-
/* TinyMCE button 3.1 */
|
44 |
-
|
45 |
-
.wp_themeSkin span.mce_YouTube {
|
46 |
-
background:url('../images/youtube_button_color.png') no-repeat 0 0;
|
47 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/admin-3.1.min.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.ytbox_grey{background-color:#f1f1f1;padding:10px;border:1px solid #ddd;}.yt_heading{font-weight:bold;font-size:1.1em;}#np-notepad ul{list-style:disc;}#np-notepad ul,ol{margin-left:60px;}.ye-container{position:relative;padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden;}.ye-container iframe,.ye-container object,.ye-container embed{position:absolute;top:0;left:0;width:100%;height:100%;}.wp_themeSkin span.mce_YouTube{background:url('../images/youtube_button_color.png') no-repeat 0 0;}
|
|
css/admin.css
CHANGED
@@ -12,27 +12,6 @@ i.mce-i-icon {
|
|
12 |
padding-right: 2px
|
13 |
}
|
14 |
|
15 |
-
/* Administration screen styles */
|
16 |
-
|
17 |
-
.ytbox_grey {
|
18 |
-
background-color: #f1f1f1;
|
19 |
-
padding: 10px;
|
20 |
-
border: 1px solid #ddd;
|
21 |
-
}
|
22 |
-
.yt_heading {
|
23 |
-
font-weight: bold;
|
24 |
-
font-size: 1.1em;
|
25 |
-
}
|
26 |
-
|
27 |
-
#np-notepad ul {
|
28 |
-
list-style: disc;
|
29 |
-
}
|
30 |
-
|
31 |
-
#np-notepad ul, ol {
|
32 |
-
margin-left: 60px;
|
33 |
-
}
|
34 |
-
|
35 |
-
|
36 |
/* Video dynamic resizing */
|
37 |
|
38 |
.ye-container {
|
@@ -51,13 +30,4 @@ i.mce-i-icon {
|
|
51 |
left: 0;
|
52 |
width: 100%;
|
53 |
height: 100%;
|
54 |
-
}
|
55 |
-
|
56 |
-
/* TinyMCE button */
|
57 |
-
|
58 |
-
.wp_themeSkin span.mce_YouTube {
|
59 |
-
background:url('../images/youtube_button_b&w.png') no-repeat 0 0;
|
60 |
-
}
|
61 |
-
.wp_themeSkin span.mce_YouTube:hover {
|
62 |
-
background:url('../images/youtube_button_color.png') no-repeat 0 0;
|
63 |
}
|
12 |
padding-right: 2px
|
13 |
}
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
/* Video dynamic resizing */
|
16 |
|
17 |
.ye-container {
|
30 |
left: 0;
|
31 |
width: 100%;
|
32 |
height: 100%;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
}
|
css/admin.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
i.mce-i-icon{font:400 20px/1 dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-left:-2px;padding:0 2px 0 0}.
|
1 |
+
i.mce-i-icon{font:400 20px/1 dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-left:-2px;padding:0 2px 0 0}.ye-container{position:relative;padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden}.ye-container iframe,.ye-container object,.ye-container embed{position:absolute;top:0;left:0;width:100%;height:100%}
|
css/main.css
CHANGED
File without changes
|
css/main.min.css
CHANGED
File without changes
|
images/!original.png
DELETED
Binary file
|
images/admin_menu_icon.png
DELETED
Binary file
|
images/admin_screen_icon.png
DELETED
Binary file
|
images/cross.png
CHANGED
Binary file
|
images/poweredby.png
DELETED
Binary file
|
images/tick.png
CHANGED
Binary file
|
images/youtube_button_b&w.png
DELETED
Binary file
|
images/youtube_button_color.png
DELETED
Binary file
|
includes/add-mce-button.php
CHANGED
@@ -52,13 +52,7 @@ add_action( 'init', 'youtube_embed_button' );
|
|
52 |
|
53 |
function register_youtube_embed_button( $buttons ) {
|
54 |
|
55 |
-
|
56 |
-
|
57 |
-
if ( ( float ) $wp_version < 3.9 ) {
|
58 |
-
array_push( $buttons, '|', 'YouTube' );
|
59 |
-
} else {
|
60 |
-
array_push( $buttons, 'mce4_youtube_button' );
|
61 |
-
}
|
62 |
|
63 |
return $buttons;
|
64 |
}
|
@@ -76,13 +70,7 @@ function register_youtube_embed_button( $buttons ) {
|
|
76 |
|
77 |
function add_youtube_embed_mce_plugin( $plugin_array ) {
|
78 |
|
79 |
-
|
80 |
-
|
81 |
-
if ( ( float ) $wp_version < 3.9 ) {
|
82 |
-
$plugin_array[ 'YouTube' ] = plugins_url() . '/youtube-embed/js/mce-button.min.php';
|
83 |
-
} else {
|
84 |
-
$plugin_array[ 'mce4_youtube_button' ] = plugins_url() . '/youtube-embed/js/mce4-button.min.php';
|
85 |
-
}
|
86 |
|
87 |
return $plugin_array;
|
88 |
}
|
52 |
|
53 |
function register_youtube_embed_button( $buttons ) {
|
54 |
|
55 |
+
array_push( $buttons, 'mce4_youtube_button' );
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
return $buttons;
|
58 |
}
|
70 |
|
71 |
function add_youtube_embed_mce_plugin( $plugin_array ) {
|
72 |
|
73 |
+
$plugin_array[ 'mce4_youtube_button' ] = plugins_url() . '/youtube-embed/js/mce4-button.min.php';
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
|
75 |
return $plugin_array;
|
76 |
}
|
includes/add-scripts.php
CHANGED
@@ -60,10 +60,7 @@ add_action( 'wp_enqueue_scripts', 'vye_main_scripts' );
|
|
60 |
|
61 |
function vye_admin_css() {
|
62 |
|
63 |
-
|
64 |
-
if ( ( float ) $wp_version >= 3.2 ) { $version = ''; } else { $version = '-3.1'; }
|
65 |
-
|
66 |
-
wp_enqueue_style( 'tinymce_button', plugins_url() . '/youtube-embed/css/admin' . $version . '.min.css' );
|
67 |
|
68 |
}
|
69 |
|
60 |
|
61 |
function vye_admin_css() {
|
62 |
|
63 |
+
wp_enqueue_style( 'tinymce_button', plugins_url() . '/youtube-embed/css/admin.min.css' );
|
|
|
|
|
|
|
64 |
|
65 |
}
|
66 |
|
includes/add-to-admin-bar.php
CHANGED
@@ -8,42 +8,7 @@
|
|
8 |
*/
|
9 |
|
10 |
/**
|
11 |
-
* Add option to Admin Bar
|
12 |
-
*
|
13 |
-
* Add link to YouTube Embed profile options to Admin Bar. This will only appear
|
14 |
-
* if the user can edit plugins
|
15 |
-
* With help from http://technerdia.com/1140_wordpress-admin-bar.html
|
16 |
-
*
|
17 |
-
* @uses vye_set_general_default Set default options
|
18 |
-
*
|
19 |
-
* @since 2.0
|
20 |
-
*/
|
21 |
-
|
22 |
-
function vye_admin_bar_render_3_1() {
|
23 |
-
|
24 |
-
global $wp_version;
|
25 |
-
|
26 |
-
$options = vye_set_general_defaults();
|
27 |
-
|
28 |
-
if ( ( current_user_can( $options[ 'menu_access' ] ) ) && ( ( float ) $wp_version >= 3.1 ) && ( ( float ) $wp_version < 3.3 ) ) {
|
29 |
-
|
30 |
-
if ( $options[ 'admin_bar' ] != '' ) {
|
31 |
-
|
32 |
-
global $wp_admin_bar;
|
33 |
-
$wp_admin_bar -> add_menu( array(
|
34 |
-
'parent' => 'appearance',
|
35 |
-
'id' => 'aye-options',
|
36 |
-
'title' => __( 'YouTube Embed', 'youtube-embed' ),
|
37 |
-
'href' => admin_url( 'admin.php?page=profile-options' ),
|
38 |
-
'meta' => false ) );
|
39 |
-
}
|
40 |
-
}
|
41 |
-
}
|
42 |
-
|
43 |
-
add_action( 'wp_before_admin_bar_render', 'vye_admin_bar_render_3_1' );
|
44 |
-
|
45 |
-
/**
|
46 |
-
* Add option to Admin Bar (WP 3.3+)
|
47 |
*
|
48 |
* Add link to YouTube Embed profile options to Admin Bar.
|
49 |
* With help from http://technerdia.com/1140_wordpress-admin-bar.html
|
@@ -53,49 +18,44 @@ add_action( 'wp_before_admin_bar_render', 'vye_admin_bar_render_3_1' );
|
|
53 |
* @since 2.5
|
54 |
*/
|
55 |
|
56 |
-
function
|
57 |
-
|
58 |
-
global $wp_version;
|
59 |
-
|
60 |
-
if ( ( float ) $wp_version >= 3.3 ) {
|
61 |
-
|
62 |
-
$options = vye_set_general_defaults();
|
63 |
|
64 |
-
|
65 |
-
|
66 |
-
global $wp_admin_bar;
|
67 |
-
|
68 |
-
if ( !is_user_logged_in() ) { return; }
|
69 |
-
if ( !is_admin_bar_showing() ) { return; }
|
70 |
-
if ( !current_user_can( $options[ 'menu_access' ] ) ) { return; }
|
71 |
-
|
72 |
-
$wp_admin_bar -> add_menu( array(
|
73 |
-
'id' => 'aye-menu',
|
74 |
-
'title' => __( 'YouTube Embed', 'youtube-embed' ) ) );
|
75 |
-
|
76 |
-
$wp_admin_bar -> add_menu( array(
|
77 |
-
'parent' => 'aye-menu',
|
78 |
-
'id' => 'aye-options',
|
79 |
-
'title' => __( 'Options', 'youtube-embed' ),
|
80 |
-
'href' => admin_url( 'admin.php?page=general-options' ),
|
81 |
-
'meta' => array( 'target' => '_blank' ) ) );
|
82 |
-
|
83 |
-
$wp_admin_bar -> add_menu( array(
|
84 |
-
'parent' => 'aye-menu',
|
85 |
-
'id' => 'aye-profile',
|
86 |
-
'title' => __( 'Profiles', 'youtube-embed' ),
|
87 |
-
'href' => admin_url( 'admin.php?page=profile-options' ),
|
88 |
-
'meta' => array( 'target' => '_blank' ) ) );
|
89 |
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
}
|
98 |
}
|
99 |
|
100 |
-
add_action( 'admin_bar_menu', '
|
101 |
?>
|
8 |
*/
|
9 |
|
10 |
/**
|
11 |
+
* Add option to Admin Bar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
*
|
13 |
* Add link to YouTube Embed profile options to Admin Bar.
|
14 |
* With help from http://technerdia.com/1140_wordpress-admin-bar.html
|
18 |
* @since 2.5
|
19 |
*/
|
20 |
|
21 |
+
function vye_admin_bar_render( $meta = TRUE ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
+
$options = vye_set_general_defaults();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
+
if ( $options[ 'admin_bar' ] != '' ) {
|
26 |
+
|
27 |
+
global $wp_admin_bar;
|
28 |
+
|
29 |
+
if ( !is_user_logged_in() ) { return; }
|
30 |
+
if ( !is_admin_bar_showing() ) { return; }
|
31 |
+
if ( !current_user_can( $options[ 'menu_access' ] ) ) { return; }
|
32 |
+
|
33 |
+
$wp_admin_bar -> add_menu( array(
|
34 |
+
'id' => 'aye-menu',
|
35 |
+
'title' => __( 'YouTube Embed', 'youtube-embed' ) ) );
|
36 |
+
|
37 |
+
$wp_admin_bar -> add_menu( array(
|
38 |
+
'parent' => 'aye-menu',
|
39 |
+
'id' => 'aye-options',
|
40 |
+
'title' => __( 'Options', 'youtube-embed' ),
|
41 |
+
'href' => admin_url( 'admin.php?page=general-options' ),
|
42 |
+
'meta' => array( 'target' => '_blank' ) ) );
|
43 |
+
|
44 |
+
$wp_admin_bar -> add_menu( array(
|
45 |
+
'parent' => 'aye-menu',
|
46 |
+
'id' => 'aye-profile',
|
47 |
+
'title' => __( 'Profiles', 'youtube-embed' ),
|
48 |
+
'href' => admin_url( 'admin.php?page=profile-options' ),
|
49 |
+
'meta' => array( 'target' => '_blank' ) ) );
|
50 |
+
|
51 |
+
$wp_admin_bar -> add_menu( array(
|
52 |
+
'parent' => 'aye-menu',
|
53 |
+
'id' => 'aye-lists',
|
54 |
+
'title' => __( 'Lists', 'youtube-embed' ),
|
55 |
+
'href' => admin_url( 'admin.php?page=list-options' ),
|
56 |
+
'meta' => array( 'target' => '_blank' ) ) );
|
57 |
}
|
58 |
}
|
59 |
|
60 |
+
add_action( 'admin_bar_menu', 'vye_admin_bar_render', 40 );
|
61 |
?>
|
includes/admin-config.php
CHANGED
@@ -51,7 +51,7 @@ function vye_set_plugin_meta( $links, $file ) {
|
|
51 |
|
52 |
if ( strpos( $file, 'youtube-embed.php' ) !== false ) {
|
53 |
|
54 |
-
$links = array_merge( $links, array( '<a href="
|
55 |
|
56 |
}
|
57 |
|
@@ -72,89 +72,46 @@ add_filter( 'plugin_row_meta', 'vye_set_plugin_meta', 10, 2 );
|
|
72 |
|
73 |
function vye_menu_initialise() {
|
74 |
|
75 |
-
global $wp_version;
|
76 |
-
|
77 |
// Get level access for menus
|
78 |
|
79 |
$options = vye_set_general_defaults();
|
80 |
|
81 |
$menu_access = $options[ 'menu_access' ];
|
82 |
|
83 |
-
// Depending on WordPress version and available functions decide which (if any) contextual help system to use
|
84 |
-
|
85 |
-
$contextual_help = vye_contextual_help_type();
|
86 |
-
|
87 |
// Add main admin option
|
88 |
|
89 |
-
|
90 |
-
$menu_icon = plugins_url() . '/youtube-embed/images/admin_menu_icon.png';
|
91 |
-
} else {
|
92 |
-
$menu_icon = 'dashicons-video-alt3';
|
93 |
-
}
|
94 |
|
95 |
-
add_menu_page( __( 'About
|
96 |
|
97 |
// Add options sub-menu
|
98 |
|
99 |
-
|
100 |
-
|
101 |
-
$vye_options_hook = add_submenu_page( 'general-options', __( 'Vixy YouTube Embed Options', 'youtube-embed' ), __( 'Options', 'youtube-embed' ), $menu_access, 'general-options', 'vye_general_options' );
|
102 |
|
103 |
-
|
104 |
|
105 |
-
|
106 |
|
107 |
// Add profiles sub-menu
|
108 |
|
109 |
-
|
110 |
-
|
111 |
-
$vye_profiles_hook = add_submenu_page( 'general-options', __( 'Vixy YouTube Embed Profiles', 'youtube-embed' ), __( 'Profiles', 'youtube-embed' ), $menu_access, 'profile-options', 'vye_profile_options' );
|
112 |
|
113 |
-
|
114 |
|
115 |
-
|
116 |
|
117 |
// Add lists sub-menu
|
118 |
|
119 |
-
|
120 |
-
|
121 |
-
$vye_lists_hook = add_submenu_page( 'general-options', __( 'Vixy YouTube Embed Lists', 'youtube-embed' ), __( 'Lists', 'youtube-embed' ), $menu_access, 'list-options', 'vye_list_options' );
|
122 |
|
123 |
-
|
124 |
|
125 |
-
|
126 |
|
127 |
}
|
128 |
|
129 |
add_action( 'admin_menu', 'vye_menu_initialise' );
|
130 |
|
131 |
-
/**
|
132 |
-
* Get contextual help type
|
133 |
-
*
|
134 |
-
* Return whether this WP installation requires the new or old contextual help type, or none at all
|
135 |
-
*
|
136 |
-
* @since 2.5
|
137 |
-
*
|
138 |
-
* @return string Contextual help type - 'new', 'old' or false
|
139 |
-
*/
|
140 |
-
|
141 |
-
function vye_contextual_help_type() {
|
142 |
-
|
143 |
-
global $wp_version;
|
144 |
-
|
145 |
-
$type = false;
|
146 |
-
|
147 |
-
if ( ( float ) $wp_version >= 3.3 ) {
|
148 |
-
$type = 'new';
|
149 |
-
} else {
|
150 |
-
if ( function_exists( 'add_contextual_help' ) ) {
|
151 |
-
$type = 'old';
|
152 |
-
}
|
153 |
-
}
|
154 |
-
|
155 |
-
return $type;
|
156 |
-
}
|
157 |
-
|
158 |
/**
|
159 |
* Include general options screen
|
160 |
*
|
@@ -229,10 +186,10 @@ function vye_add_options_help() {
|
|
229 |
|
230 |
function vye_options_help() {
|
231 |
|
232 |
-
$help_text = '<p>' . __( 'This screen allows you to select non-specific options for the
|
233 |
$help_text .= '<p>' . __( 'Remember to click the Save Settings button at the bottom of the screen for new settings to take effect.', 'youtube-embed' ) . '</p>';
|
234 |
$help_text .= '<p><strong>' . __( 'For more information:', 'youtube-embed' ) . '</strong></p>';
|
235 |
-
$help_text .= '<p><a href="
|
236 |
$help_text .= '<p><a href="http://code.google.com/apis/youtube/player_parameters.html">' . __( 'YouTube Player Documentation', 'youtube-embed' ) . '</a></p>';
|
237 |
|
238 |
return $help_text;
|
@@ -273,7 +230,7 @@ function vye_profiles_help() {
|
|
273 |
$help_text = '<p>' . __( 'This screen allows you to set the options for the default and additional profiles. If you don\'t specify a specific parameter when displaying your YouTube video then the default profile option will be used instead. Additional profiles, which you may name, can be used as well and used as required.', 'youtube-embed' ) . '</p>';
|
274 |
$help_text .= '<p>' . __( 'Remember to click the Save Settings button at the bottom of the screen for new settings to take effect.', 'youtube-embed' ) . '</p>';
|
275 |
$help_text .= '<p><strong>' . __( 'For more information:' ) . '</strong></p>';
|
276 |
-
$help_text .= '<p><a href="
|
277 |
$help_text .= '<p><a href="http://code.google.com/apis/youtube/player_parameters.html">' . __( 'YouTube Player Documentation', 'youtube-embed' ) . '</a></p>';
|
278 |
$help_text .= '<p><a href="http://embedplus.com/">' . __( 'EmbedPlus website', 'youtube-embed' ) . '</a></p>';
|
279 |
|
@@ -315,7 +272,7 @@ function vye_lists_help() {
|
|
315 |
$help_text = '<p>' . __( 'This screen allows you to create lists of YouTube videos, which may be named. These lists can then be used in preference to a single video ID.', 'youtube-embed' ) . '</p>';
|
316 |
$help_text .= '<p>' . __( 'Remember to click the Save Settings button at the bottom of the screen for new settings to take effect.', 'youtube-embed' ) . '</p>';
|
317 |
$help_text .= '<p><strong>' . __( 'For more information:', 'youtube-embed' ) . '</strong></p>';
|
318 |
-
$help_text .= '<p><a href="
|
319 |
$help_text .= '<p><a href="http://code.google.com/apis/youtube/player_parameters.html">' . __( 'YouTube Player Documentation', 'youtube-embed' ) . '</a></p>';
|
320 |
|
321 |
return $help_text;
|
@@ -339,9 +296,7 @@ register_activation_hook( WP_PLUGIN_DIR . "/youtube-embed/youtube-embed.php", 'v
|
|
339 |
|
340 |
// If plugin activated, run activation commands and delete option
|
341 |
|
342 |
-
|
343 |
-
|
344 |
-
if ( get_option( 'youtube_embed_activated' ) && ( ( float ) $wp_version >= 3.3 ) ) {
|
345 |
|
346 |
add_action( 'admin_enqueue_scripts', 'vye_admin_enqueue_scripts' );
|
347 |
|
@@ -374,7 +329,7 @@ function vye_admin_enqueue_scripts() {
|
|
374 |
|
375 |
function vye_admin_print_footer_scripts() {
|
376 |
|
377 |
-
$pointer_content = '<h3>' . __( 'Welcome to
|
378 |
$pointer_content .= '<p style="font-style:italic;">' . __( 'Thank you for installing this plugin.', 'youtube-embed' ) . '</p>';
|
379 |
$pointer_content .= '<p>' . __( 'These new menu options will allow you to configure your videos to just how you want them and provide links for help and support.', 'youtube-embed' ) . '</p>';
|
380 |
$pointer_content .= '<p>' . __( 'Even if you do nothing else, please visit the Profiles option to check your default video values.', 'youtube-embed' ) . '</p>';
|
51 |
|
52 |
if ( strpos( $file, 'youtube-embed.php' ) !== false ) {
|
53 |
|
54 |
+
$links = array_merge( $links, array( '<a href="https://wordpress.org/support/plugin/youtube-embed">' . __( 'Support', 'youtube-embed' ) . '</a>' ) );
|
55 |
|
56 |
}
|
57 |
|
72 |
|
73 |
function vye_menu_initialise() {
|
74 |
|
|
|
|
|
75 |
// Get level access for menus
|
76 |
|
77 |
$options = vye_set_general_defaults();
|
78 |
|
79 |
$menu_access = $options[ 'menu_access' ];
|
80 |
|
|
|
|
|
|
|
|
|
81 |
// Add main admin option
|
82 |
|
83 |
+
$menu_icon = 'dashicons-video-alt3';
|
|
|
|
|
|
|
|
|
84 |
|
85 |
+
add_menu_page( __( 'About YouTube Embed', 'youtube-embed' ), __( 'YouTube', 'youtube-embed' ), $menu_access, 'general-options', 'vye_general_options', $menu_icon, 12 );
|
86 |
|
87 |
// Add options sub-menu
|
88 |
|
89 |
+
global $vye_options_hook;
|
|
|
|
|
90 |
|
91 |
+
$vye_options_hook = add_submenu_page( 'general-options', __( 'YouTube Embed Options', 'youtube-embed' ), __( 'Options', 'youtube-embed' ), $menu_access, 'general-options', 'vye_general_options' );
|
92 |
|
93 |
+
add_action( 'load-' . $vye_options_hook, 'vye_add_options_help' );
|
94 |
|
95 |
// Add profiles sub-menu
|
96 |
|
97 |
+
global $vye_profiles_hook;
|
|
|
|
|
98 |
|
99 |
+
$vye_profiles_hook = add_submenu_page( 'general-options', __( 'YouTube Embed Profiles', 'youtube-embed' ), __( 'Profiles', 'youtube-embed' ), $menu_access, 'profile-options', 'vye_profile_options' );
|
100 |
|
101 |
+
add_action( 'load-' . $vye_profiles_hook, 'vye_add_profiles_help' );
|
102 |
|
103 |
// Add lists sub-menu
|
104 |
|
105 |
+
global $vye_lists_hook;
|
|
|
|
|
106 |
|
107 |
+
$vye_lists_hook = add_submenu_page( 'general-options', __( 'YouTube Embed Lists', 'youtube-embed' ), __( 'Lists', 'youtube-embed' ), $menu_access, 'list-options', 'vye_list_options' );
|
108 |
|
109 |
+
add_action( 'load-' . $vye_lists_hook, 'vye_add_lists_help' );
|
110 |
|
111 |
}
|
112 |
|
113 |
add_action( 'admin_menu', 'vye_menu_initialise' );
|
114 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
/**
|
116 |
* Include general options screen
|
117 |
*
|
186 |
|
187 |
function vye_options_help() {
|
188 |
|
189 |
+
$help_text = '<p>' . __( 'This screen allows you to select non-specific options for the YouTube Embed plugin. For the default embedding settings, please select the <a href="admin.php?page=profile-options">Profiles</a> administration option.', 'youtube-embed' ) . '</p>';
|
190 |
$help_text .= '<p>' . __( 'Remember to click the Save Settings button at the bottom of the screen for new settings to take effect.', 'youtube-embed' ) . '</p>';
|
191 |
$help_text .= '<p><strong>' . __( 'For more information:', 'youtube-embed' ) . '</strong></p>';
|
192 |
+
$help_text .= '<p><a href="https://wordpress.org/plugins/youtube-embed/">' . __( 'YouTube Embed Plugin Documentation', 'youtube-embed' ) . '</a></p>';
|
193 |
$help_text .= '<p><a href="http://code.google.com/apis/youtube/player_parameters.html">' . __( 'YouTube Player Documentation', 'youtube-embed' ) . '</a></p>';
|
194 |
|
195 |
return $help_text;
|
230 |
$help_text = '<p>' . __( 'This screen allows you to set the options for the default and additional profiles. If you don\'t specify a specific parameter when displaying your YouTube video then the default profile option will be used instead. Additional profiles, which you may name, can be used as well and used as required.', 'youtube-embed' ) . '</p>';
|
231 |
$help_text .= '<p>' . __( 'Remember to click the Save Settings button at the bottom of the screen for new settings to take effect.', 'youtube-embed' ) . '</p>';
|
232 |
$help_text .= '<p><strong>' . __( 'For more information:' ) . '</strong></p>';
|
233 |
+
$help_text .= '<p><a href="https://wordpress.org/plugins/youtube-embed/">' . __( 'YouTube Embed Plugin Documentation', 'youtube-embed' ) . '</a></p>';
|
234 |
$help_text .= '<p><a href="http://code.google.com/apis/youtube/player_parameters.html">' . __( 'YouTube Player Documentation', 'youtube-embed' ) . '</a></p>';
|
235 |
$help_text .= '<p><a href="http://embedplus.com/">' . __( 'EmbedPlus website', 'youtube-embed' ) . '</a></p>';
|
236 |
|
272 |
$help_text = '<p>' . __( 'This screen allows you to create lists of YouTube videos, which may be named. These lists can then be used in preference to a single video ID.', 'youtube-embed' ) . '</p>';
|
273 |
$help_text .= '<p>' . __( 'Remember to click the Save Settings button at the bottom of the screen for new settings to take effect.', 'youtube-embed' ) . '</p>';
|
274 |
$help_text .= '<p><strong>' . __( 'For more information:', 'youtube-embed' ) . '</strong></p>';
|
275 |
+
$help_text .= '<p><a href="https://wordpress.org/plugins/youtube-embed/">' . __( 'YouTube Embed Plugin Documentation', 'youtube-embed' ) . '</a></p>';
|
276 |
$help_text .= '<p><a href="http://code.google.com/apis/youtube/player_parameters.html">' . __( 'YouTube Player Documentation', 'youtube-embed' ) . '</a></p>';
|
277 |
|
278 |
return $help_text;
|
296 |
|
297 |
// If plugin activated, run activation commands and delete option
|
298 |
|
299 |
+
if ( get_option( 'youtube_embed_activated' ) ) {
|
|
|
|
|
300 |
|
301 |
add_action( 'admin_enqueue_scripts', 'vye_admin_enqueue_scripts' );
|
302 |
|
329 |
|
330 |
function vye_admin_print_footer_scripts() {
|
331 |
|
332 |
+
$pointer_content = '<h3>' . __( 'Welcome to YouTube Embed', 'youtube-embed' ) . '</h3>';
|
333 |
$pointer_content .= '<p style="font-style:italic;">' . __( 'Thank you for installing this plugin.', 'youtube-embed' ) . '</p>';
|
334 |
$pointer_content .= '<p>' . __( 'These new menu options will allow you to configure your videos to just how you want them and provide links for help and support.', 'youtube-embed' ) . '</p>';
|
335 |
$pointer_content .= '<p>' . __( 'Even if you do nothing else, please visit the Profiles option to check your default video values.', 'youtube-embed' ) . '</p>';
|
includes/deprecated.php
DELETED
@@ -1,58 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Deprecated Code
|
4 |
-
*
|
5 |
-
* Various pieces of code, now deprecated, but kept here for backwards compatibility
|
6 |
-
*
|
7 |
-
* @package YouTube-Embed
|
8 |
-
* @since 2.0
|
9 |
-
*/
|
10 |
-
|
11 |
-
// Shortcode for showing playlists - can now use the standard video shortcode
|
12 |
-
// In fact, this shortcode now simply directs to the video shortcode
|
13 |
-
add_shortcode( 'youtube_playlist', 'vye_video_shortcode' );
|
14 |
-
|
15 |
-
// Shortcode for downloading playlist - in fact, this never worked as option doesn't
|
16 |
-
// allow playlists. None-the-less, now diverts to standard download shortcode
|
17 |
-
// and will display an appropriate error
|
18 |
-
add_shortcode( 'download_playlist', 'vye_video_download' );
|
19 |
-
|
20 |
-
/**
|
21 |
-
* Embed a playlist
|
22 |
-
*
|
23 |
-
* Function to embed a playlist
|
24 |
-
*
|
25 |
-
* @deprecated 2.0 Use youtube_video_embed() instead.
|
26 |
-
* @since 2.0
|
27 |
-
*
|
28 |
-
* @uses youtube_video_embed Embed a video
|
29 |
-
*
|
30 |
-
* @param string $content Video ID
|
31 |
-
* @param string $paras Parameters
|
32 |
-
* @param string $style CSS
|
33 |
-
*/
|
34 |
-
|
35 |
-
function youtube_playlist_embed( $content, $paras, $style = '' ) {
|
36 |
-
youtube_video_embed( $content, $paras, $style );
|
37 |
-
return;
|
38 |
-
}
|
39 |
-
|
40 |
-
/**
|
41 |
-
* Get playlist download link
|
42 |
-
*
|
43 |
-
* Return YouTube playlist download URL
|
44 |
-
* No longer found to work, so simply reports an error now
|
45 |
-
*
|
46 |
-
* @deprecated 2.0 Use youtube_short_url() instead.
|
47 |
-
* @since 2.0
|
48 |
-
*
|
49 |
-
* @uses ye_error Display an error
|
50 |
-
*
|
51 |
-
* @param string $id Video ID
|
52 |
-
*/
|
53 |
-
|
54 |
-
function get_playlist_download( $id = '' ) {
|
55 |
-
echo vye_error( __( 'This function does not support playlists', 'youtube-embed' ) );
|
56 |
-
return;
|
57 |
-
}
|
58 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/function-calls.php
CHANGED
File without changes
|
includes/generate-comments-code.php
CHANGED
@@ -74,7 +74,7 @@ function vye_generate_comments( $paras ) {
|
|
74 |
|
75 |
// Set default values
|
76 |
|
77 |
-
$output = "<!--
|
78 |
$pos = 0;
|
79 |
$eof = false;
|
80 |
$number = 1;
|
@@ -135,7 +135,7 @@ function vye_generate_comments( $paras ) {
|
|
135 |
|
136 |
}
|
137 |
|
138 |
-
$output .= "</div>\n<!-- End of
|
139 |
}
|
140 |
|
141 |
// Save the cache
|
74 |
|
75 |
// Set default values
|
76 |
|
77 |
+
$output = "<!-- YouTube Embed v" . youtube_embed_version . " -->\n" . '<div id="comments">' . "\n";
|
78 |
$pos = 0;
|
79 |
$eof = false;
|
80 |
$number = 1;
|
135 |
|
136 |
}
|
137 |
|
138 |
+
$output .= "</div>\n<!-- End of YouTube Embed code -->\n";
|
139 |
}
|
140 |
|
141 |
// Save the cache
|
includes/generate-download-code.php
CHANGED
@@ -10,14 +10,13 @@
|
|
10 |
* @uses vye_extract_id Extract an ID from a string
|
11 |
* @uses vye_validate_id Confirm the type of video
|
12 |
* @uses vye_error Display an error
|
13 |
-
* @uses vye_get_file Fetch a file
|
14 |
*
|
15 |
* @param string $id YouTube video ID
|
16 |
* @return string Download HTML
|
17 |
*/
|
18 |
|
19 |
function vye_generate_download_code( $id ) {
|
20 |
-
|
21 |
if ( $id == '' ) { return vye_error( __ ( 'No YouTube ID was found.', 'youtube-embed' ) ); }
|
22 |
|
23 |
// Extract the ID if a full URL has been specified
|
@@ -35,58 +34,9 @@ function vye_generate_download_code( $id ) {
|
|
35 |
}
|
36 |
}
|
37 |
|
38 |
-
//
|
39 |
-
|
40 |
-
$options = vye_set_general_defaults();
|
41 |
-
if ( $options[ 'shareasale_id' ] == '' ) {
|
42 |
-
$affiliate = '';
|
43 |
-
} else {
|
44 |
-
$affiliate = $options[ 'shareasale_id' ];
|
45 |
-
}
|
46 |
-
|
47 |
-
// Get the link from Vixy
|
48 |
-
|
49 |
-
$url = 'http://vixy.net/downloadbar?id=' . $id . '&sip=' . $_SERVER['SERVER_ADDR']. '&lang=' . str_replace( '_', '-', get_bloginfo( 'language' ) ) . '&affiliate_id=' . $affiliate;
|
50 |
-
|
51 |
-
$file = vye_get_file( $url );
|
52 |
-
|
53 |
-
// Now clean the code to ensure nothing nasty lurks within!
|
54 |
-
|
55 |
-
$allowed_html = array (
|
56 |
-
'a' => array(
|
57 |
-
'href' => array(),
|
58 |
-
'title' => array(),
|
59 |
-
'class' => array(),
|
60 |
-
'id' => array(),
|
61 |
-
'style' => array()
|
62 |
-
),
|
63 |
-
'br' => array(),
|
64 |
-
'p' => array(
|
65 |
-
'class' => array(),
|
66 |
-
'id' => array(),
|
67 |
-
'style' => array()
|
68 |
-
),
|
69 |
-
'span' => array(
|
70 |
-
'class' => array(),
|
71 |
-
'id' => array(),
|
72 |
-
'style' => array()
|
73 |
-
),
|
74 |
-
'div' => array(
|
75 |
-
'class' => array(),
|
76 |
-
'id' => array(),
|
77 |
-
'style' => array()
|
78 |
-
),
|
79 |
-
'img' => array(
|
80 |
-
'alt' => array(),
|
81 |
-
'src' => array(),
|
82 |
-
'width' => array(),
|
83 |
-
'height' => array()
|
84 |
-
) );
|
85 |
-
|
86 |
-
$file = wp_kses( $file, $allowed_html );
|
87 |
|
88 |
-
|
89 |
|
90 |
-
return $file[ 'file' ];
|
91 |
}
|
92 |
?>
|
10 |
* @uses vye_extract_id Extract an ID from a string
|
11 |
* @uses vye_validate_id Confirm the type of video
|
12 |
* @uses vye_error Display an error
|
|
|
13 |
*
|
14 |
* @param string $id YouTube video ID
|
15 |
* @return string Download HTML
|
16 |
*/
|
17 |
|
18 |
function vye_generate_download_code( $id ) {
|
19 |
+
|
20 |
if ( $id == '' ) { return vye_error( __ ( 'No YouTube ID was found.', 'youtube-embed' ) ); }
|
21 |
|
22 |
// Extract the ID if a full URL has been specified
|
34 |
}
|
35 |
}
|
36 |
|
37 |
+
// Create the link
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
+
return 'http://www.videodownloadx.com/?video=' . $id;
|
40 |
|
|
|
41 |
}
|
42 |
?>
|
includes/generate-embed-code.php
CHANGED
@@ -80,11 +80,13 @@ function vye_generate_youtube_code( $id = '', $type = '', $width = '', $height =
|
|
80 |
// If a user look-up or search has been requested, mis-out looking up list details and
|
81 |
// simple assign it as an IFRAME video
|
82 |
|
|
|
|
|
|
|
83 |
if ( ( $user == 0 ) && ( $search == 0 ) ) {
|
84 |
|
85 |
// Check it's not a list
|
86 |
|
87 |
-
$playlist_ids = '';
|
88 |
$list = vye_validate_list( $id, $general[ 'list_no' ] );
|
89 |
if ( !is_array( $list ) ) {
|
90 |
|
@@ -117,7 +119,7 @@ function vye_generate_youtube_code( $id = '', $type = '', $width = '', $height =
|
|
117 |
} else {
|
118 |
$error = $embed_type;
|
119 |
}
|
120 |
-
$result = "\n<!--
|
121 |
$result .= "<!-- " . $error . " -->\n" . vye_decode( $general[ 'error_message' ] ) . "\n<!-- End of YouTube Embed code -->\n";
|
122 |
return $result;
|
123 |
}
|
@@ -159,7 +161,11 @@ function vye_generate_youtube_code( $id = '', $type = '', $width = '', $height =
|
|
159 |
|
160 |
// Generate a cache key for the above passed parameters
|
161 |
|
162 |
-
$
|
|
|
|
|
|
|
|
|
163 |
|
164 |
// Try and get the output from cache. If it exists, return the code
|
165 |
|
@@ -382,9 +388,9 @@ function vye_generate_youtube_code( $id = '', $type = '', $width = '', $height =
|
|
382 |
$result .= ">\n";
|
383 |
if ( ( $dynamic == 1 ) && ( $fixed == 1) ) { $result = '<div style="width: ' . $width . 'px; max-width: 100%">' . "\n" . $result; }
|
384 |
}
|
385 |
-
|
386 |
// Add Metadata
|
387 |
-
|
388 |
if ( $metadata != 0 ) {
|
389 |
$newline = "\n";
|
390 |
if ( $return[ 'title' ] != '' ) { $result .= '<meta itemprop="name" content="' . htmlentities( $return[ 'title' ] ) . '"/>' . $newline; }
|
@@ -452,7 +458,7 @@ function vye_generate_youtube_code( $id = '', $type = '', $width = '', $height =
|
|
452 |
// Combine URL parts together
|
453 |
|
454 |
$embed_url .= $id_paras;
|
455 |
-
if (
|
456 |
$embed_url .= $paras;
|
457 |
|
458 |
// Add AS3 YouTube embed code
|
@@ -490,11 +496,11 @@ function vye_generate_youtube_code( $id = '', $type = '', $width = '', $height =
|
|
490 |
|
491 |
// Add the download link, if required
|
492 |
|
493 |
-
|
494 |
|
495 |
// Now add a commented header and trailer
|
496 |
|
497 |
-
$result = "\n<!--
|
498 |
$result .= "<!-- End of YouTube Embed code -->\n";
|
499 |
|
500 |
// Cache the output
|
80 |
// If a user look-up or search has been requested, mis-out looking up list details and
|
81 |
// simple assign it as an IFRAME video
|
82 |
|
83 |
+
$playlist_ids = '';
|
84 |
+
$embed_type = '';
|
85 |
+
|
86 |
if ( ( $user == 0 ) && ( $search == 0 ) ) {
|
87 |
|
88 |
// Check it's not a list
|
89 |
|
|
|
90 |
$list = vye_validate_list( $id, $general[ 'list_no' ] );
|
91 |
if ( !is_array( $list ) ) {
|
92 |
|
119 |
} else {
|
120 |
$error = $embed_type;
|
121 |
}
|
122 |
+
$result = "\n<!-- YouTube Embed v" . youtube_embed_version . " -->\n";
|
123 |
$result .= "<!-- " . $error . " -->\n" . vye_decode( $general[ 'error_message' ] ) . "\n<!-- End of YouTube Embed code -->\n";
|
124 |
return $result;
|
125 |
}
|
161 |
|
162 |
// Generate a cache key for the above passed parameters
|
163 |
|
164 |
+
$hash_key = $id . $type . $width . $height . $fullscreen . $related . $autoplay . $loop . $start . $info . $annotation . $cc . $style . $link . $react . $stop . $sweetspot . $disablekb . $ratio . $autohide . $controls . $profile . $list_style . $audio . $template . $hd . $color . $theme . $https . $dynamic . $search . $user . serialize( $general ) . serialize( $options );
|
165 |
+
if ( isset( $list ) ) { $hash_key .= serialize( $list ); }
|
166 |
+
if ( isset( $return ) ) { $hash_key .= serialize( $return ); }
|
167 |
+
|
168 |
+
$cache_key = 'vye_video_' . md5( $hash_key );
|
169 |
|
170 |
// Try and get the output from cache. If it exists, return the code
|
171 |
|
388 |
$result .= ">\n";
|
389 |
if ( ( $dynamic == 1 ) && ( $fixed == 1) ) { $result = '<div style="width: ' . $width . 'px; max-width: 100%">' . "\n" . $result; }
|
390 |
}
|
391 |
+
|
392 |
// Add Metadata
|
393 |
+
|
394 |
if ( $metadata != 0 ) {
|
395 |
$newline = "\n";
|
396 |
if ( $return[ 'title' ] != '' ) { $result .= '<meta itemprop="name" content="' . htmlentities( $return[ 'title' ] ) . '"/>' . $newline; }
|
458 |
// Combine URL parts together
|
459 |
|
460 |
$embed_url .= $id_paras;
|
461 |
+
if ( strpos( $embed_url, '?' ) > 0 ) { $paras = '&' . substr( $paras, 1 ); }
|
462 |
$embed_url .= $paras;
|
463 |
|
464 |
// Add AS3 YouTube embed code
|
496 |
|
497 |
// Add the download link, if required
|
498 |
|
499 |
+
if ( $options[ 'download' ] == 1 ) { $result .= '<div style="' . $options[ 'download_style' ] . '" class="aye_download"><a href="' . vye_generate_download_code( $id ) . "\">" . $options[ 'download_text' ] . "</a></div>\n"; }
|
500 |
|
501 |
// Now add a commented header and trailer
|
502 |
|
503 |
+
$result = "\n<!-- YouTube Embed v" . youtube_embed_version . " -->\n" . $result;
|
504 |
$result .= "<!-- End of YouTube Embed code -->\n";
|
505 |
|
506 |
// Cache the output
|
includes/generate-shorturl-code.php
CHANGED
File without changes
|
includes/generate-thumbnail-code.php
CHANGED
File without changes
|
includes/generate-transcript-code.php
CHANGED
@@ -57,7 +57,7 @@ function vye_generate_transcript( $id, $language = 'en' ) {
|
|
57 |
|
58 |
// If transcript file exists, strip and output
|
59 |
if ( $return[ 'rc' ] == 0 ) {
|
60 |
-
$output = "<!--
|
61 |
$pos = 0;
|
62 |
$eof = false;
|
63 |
|
@@ -86,7 +86,7 @@ function vye_generate_transcript( $id, $language = 'en' ) {
|
|
86 |
$eof = true;
|
87 |
}
|
88 |
}
|
89 |
-
$output .= "<!-- End of
|
90 |
}
|
91 |
|
92 |
// Save the cache
|
57 |
|
58 |
// If transcript file exists, strip and output
|
59 |
if ( $return[ 'rc' ] == 0 ) {
|
60 |
+
$output = "<!-- YouTube Embed v" . youtube_embed_version . " -->\n";
|
61 |
$pos = 0;
|
62 |
$eof = false;
|
63 |
|
86 |
$eof = true;
|
87 |
}
|
88 |
}
|
89 |
+
$output .= "<!-- End of YouTube Embed code -->\n";
|
90 |
}
|
91 |
|
92 |
// Save the cache
|
includes/generate-widgets.php
CHANGED
File without changes
|
includes/options-general.php
CHANGED
@@ -7,11 +7,9 @@
|
|
7 |
* @package YouTube-Embed
|
8 |
* @since 2.0
|
9 |
*/
|
10 |
-
|
11 |
?>
|
12 |
<div class="wrap" style="width: 1010px;">
|
13 |
-
<
|
14 |
-
<h2><?php _e( 'Vixy YouTube Embed Options', 'youtube-embed' ); ?></h2>
|
15 |
|
16 |
<?php
|
17 |
|
@@ -54,7 +52,6 @@ if ( ( !empty( $_POST ) ) && ( check_admin_referer( 'youtube-embed-general', 'yo
|
|
54 |
$options[ 'frameborder' ] = $_POST[ 'youtube_embed_frameborder' ];
|
55 |
$options[ 'widgets' ] = $_POST[ 'youtube_embed_widgets' ];
|
56 |
$options[ 'menu_access' ] = $_POST[ 'youtube_embed_menu_access' ];
|
57 |
-
$options[ 'shareasale_id' ] = $_POST[ 'youtube_embed_shareasale_id' ];
|
58 |
|
59 |
// Update the options
|
60 |
|
@@ -97,23 +94,16 @@ $url = vye_set_url_option();
|
|
97 |
$editor_sc = vye_set_editor_sc();
|
98 |
?>
|
99 |
|
100 |
-
<p><?php _e( 'These are the general settings for
|
101 |
|
102 |
<form method="post" action="<?php echo get_bloginfo( 'wpurl' ).'/wp-admin/admin.php?page=general-options' ?>">
|
103 |
|
104 |
-
<
|
105 |
-
|
106 |
-
<table class="form-table ytbox_grey"><tr>
|
107 |
-
<th scope="row"><?php _e( 'ShareASale ID', 'youtube-embed' ); ?></th>
|
108 |
-
<td><input type="text" maxlength="6" size="6" name="youtube_embed_shareasale_id" value="<?php echo $options[ 'shareasale_id' ]; ?>"/> <span class="description"><?php _e( '<a href="http://www.shareasale.com/r.cfm?B=44&U=668714&M=47&urllink=">Sign up to ShareASale</a> and earn money. <a href="http://vixy.net/youtube-embed/documentation.php#make_money">Read more</a>.', 'youtube-embed' ); ?></span></td>
|
109 |
-
</tr></table>
|
110 |
-
|
111 |
-
<br/><span class="yt_heading"><?php _e( 'Embedding', 'youtube-embed' ); ?></span>
|
112 |
|
113 |
<table class="form-table">
|
114 |
<tr>
|
115 |
<th scope="row"><?php _e( 'Add Metadata', 'youtube-embed' ); ?></th>
|
116 |
-
<td><input type="checkbox" name="youtube_embed_metadata" value="1"<?php if ( $options[ 'metadata' ] == "1" ) { echo ' checked="checked"'; } ?>/> <span class="description"><?php _e( 'Allow rich metadata to be added to code.
|
117 |
</tr>
|
118 |
|
119 |
<tr>
|
@@ -154,7 +144,7 @@ $editor_sc = vye_set_editor_sc();
|
|
154 |
</tr>
|
155 |
</table>
|
156 |
|
157 |
-
<
|
158 |
|
159 |
<table class="form-table">
|
160 |
<tr>
|
@@ -182,7 +172,7 @@ $editor_sc = vye_set_editor_sc();
|
|
182 |
</tr>
|
183 |
</table>
|
184 |
|
185 |
-
<
|
186 |
|
187 |
<table class="form-table">
|
188 |
<tr>
|
@@ -203,7 +193,7 @@ $editor_sc = vye_set_editor_sc();
|
|
203 |
</tr>
|
204 |
</table>
|
205 |
|
206 |
-
<
|
207 |
|
208 |
<table class="form-table">
|
209 |
<tr>
|
@@ -232,7 +222,7 @@ $editor_sc = vye_set_editor_sc();
|
|
232 |
</tr>
|
233 |
</table>
|
234 |
|
235 |
-
<
|
236 |
|
237 |
<table class="form-table">
|
238 |
<tr>
|
@@ -246,7 +236,7 @@ $editor_sc = vye_set_editor_sc();
|
|
246 |
</tr>
|
247 |
</table>
|
248 |
|
249 |
-
<
|
250 |
|
251 |
<table class="form-table">
|
252 |
<tr>
|
@@ -284,7 +274,7 @@ echo '<p>' . __( 'You currently have cache for', 'youtube_embed' ) . ' ' . numbe
|
|
284 |
<td><input type="checkbox" name="youtube_embed_clear_cache" value="1"> <span class="description"><?php _e( 'Select this option to remove all YouTube Embed cache.', 'youtube-embed' ); ?></span></td>
|
285 |
</tr></table>
|
286 |
|
287 |
-
<
|
288 |
|
289 |
<p><?php _e( 'The YouTube API is used to validate video IDs and to determine if it is a video or playlist.', 'youtube-embed' ); ?></p>
|
290 |
|
@@ -301,7 +291,7 @@ echo '<p>' . __( 'You currently have cache for', 'youtube_embed' ) . ' ' . numbe
|
|
301 |
</tr>
|
302 |
</table>
|
303 |
|
304 |
-
<
|
305 |
|
306 |
<p><?php _e( 'Playback errors are within the XHTML source code as comments - parameter errors and other types are displayed on the post output.', 'youtube-embed' ); ?></p>
|
307 |
|
@@ -310,7 +300,7 @@ echo '<p>' . __( 'You currently have cache for', 'youtube_embed' ) . ' ' . numbe
|
|
310 |
<td><input type="text" size="60" name="youtube_embed_error_message" value="<?php echo htmlspecialchars( $options[ 'error_message' ] ); ?>"/> <span class="description"><?php _e( 'This is the message that will be shown on the post', 'youtube-embed' ); ?></span></td>
|
311 |
</tr></table>
|
312 |
|
313 |
-
<
|
314 |
|
315 |
<table class="form-table"><tr>
|
316 |
|
@@ -323,7 +313,7 @@ echo '<p>' . __( 'You currently have cache for', 'youtube_embed' ) . ' ' . numbe
|
|
323 |
</select> <span class="description"><?php _e( 'Read more about <a href="http://donottrack.us/">Do Not Track</a>', 'youtube-embed' ); ?></span></td>
|
324 |
</tr></table>
|
325 |
|
326 |
-
<
|
327 |
|
328 |
<table class="form-table"><tr>
|
329 |
<th scope="row"><?php _e( 'Allow Frame Border on IFRAME', 'youtube-embed' ); ?></th>
|
7 |
* @package YouTube-Embed
|
8 |
* @since 2.0
|
9 |
*/
|
|
|
10 |
?>
|
11 |
<div class="wrap" style="width: 1010px;">
|
12 |
+
<h2><?php _e( 'YouTube Embed Options', 'youtube-embed' ); ?></h2>
|
|
|
13 |
|
14 |
<?php
|
15 |
|
52 |
$options[ 'frameborder' ] = $_POST[ 'youtube_embed_frameborder' ];
|
53 |
$options[ 'widgets' ] = $_POST[ 'youtube_embed_widgets' ];
|
54 |
$options[ 'menu_access' ] = $_POST[ 'youtube_embed_menu_access' ];
|
|
|
55 |
|
56 |
// Update the options
|
57 |
|
94 |
$editor_sc = vye_set_editor_sc();
|
95 |
?>
|
96 |
|
97 |
+
<p><?php _e( 'These are the general settings for YouTube Embed. Please select <a href="admin.php?page=profile-options">Profiles</a> for default embedding settings.', 'youtube-embed' ); ?></p>
|
98 |
|
99 |
<form method="post" action="<?php echo get_bloginfo( 'wpurl' ).'/wp-admin/admin.php?page=general-options' ?>">
|
100 |
|
101 |
+
<h3 class="title"><?php _e( 'Embedding', 'youtube-embed' ); ?></h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
|
103 |
<table class="form-table">
|
104 |
<tr>
|
105 |
<th scope="row"><?php _e( 'Add Metadata', 'youtube-embed' ); ?></th>
|
106 |
+
<td><input type="checkbox" name="youtube_embed_metadata" value="1"<?php if ( $options[ 'metadata' ] == "1" ) { echo ' checked="checked"'; } ?>/> <span class="description"><?php _e( 'Allow rich metadata to be added to code.', 'youtube-embed' ); ?></span></td>
|
107 |
</tr>
|
108 |
|
109 |
<tr>
|
144 |
</tr>
|
145 |
</table>
|
146 |
|
147 |
+
<h3 class="title"><?php _e( 'Alternative Shortcodes', 'youtube-embed' ); ?></h3><?php _e( 'Specify up to 2 alternative shortcodes to compliment the standard <code>youtube</code> shortcode. <strong>NB: These should be specified without the surrounding square brackets.</strong>', 'youtube-embed' ); ?>
|
148 |
|
149 |
<table class="form-table">
|
150 |
<tr>
|
172 |
</tr>
|
173 |
</table>
|
174 |
|
175 |
+
<h3 class="title"><?php _e( 'Migration', 'youtube-embed' ); ?></h3><?php _e( 'Switch on compatibility with other embedding plugins. For more details please <a href="http://www.artiss.co.uk/youtube-embed-compatibility">click here</a>.', 'youtube-embed' ); ?>
|
176 |
|
177 |
<table class="form-table">
|
178 |
<tr>
|
193 |
</tr>
|
194 |
</table>
|
195 |
|
196 |
+
<h3 class="title"><?php _e( 'Admin Options', 'youtube-embed' ); ?></h3>
|
197 |
|
198 |
<table class="form-table">
|
199 |
<tr>
|
222 |
</tr>
|
223 |
</table>
|
224 |
|
225 |
+
<h3 class="title"><?php _e( 'Profile & List Sizes', 'youtube-embed' ); ?></h3>
|
226 |
|
227 |
<table class="form-table">
|
228 |
<tr>
|
236 |
</tr>
|
237 |
</table>
|
238 |
|
239 |
+
<h3 class="title"><?php _e( 'Performance', 'youtube-embed' ); ?></h3>
|
240 |
|
241 |
<table class="form-table">
|
242 |
<tr>
|
274 |
<td><input type="checkbox" name="youtube_embed_clear_cache" value="1"> <span class="description"><?php _e( 'Select this option to remove all YouTube Embed cache.', 'youtube-embed' ); ?></span></td>
|
275 |
</tr></table>
|
276 |
|
277 |
+
<h3 class="title"><?php _e( 'YouTube API', 'youtube-embed' ); ?></h3>
|
278 |
|
279 |
<p><?php _e( 'The YouTube API is used to validate video IDs and to determine if it is a video or playlist.', 'youtube-embed' ); ?></p>
|
280 |
|
291 |
</tr>
|
292 |
</table>
|
293 |
|
294 |
+
<h3 class="title"><?php _e( 'Error Reporting', 'youtube-embed' ); ?></h3>
|
295 |
|
296 |
<p><?php _e( 'Playback errors are within the XHTML source code as comments - parameter errors and other types are displayed on the post output.', 'youtube-embed' ); ?></p>
|
297 |
|
300 |
<td><input type="text" size="60" name="youtube_embed_error_message" value="<?php echo htmlspecialchars( $options[ 'error_message' ] ); ?>"/> <span class="description"><?php _e( 'This is the message that will be shown on the post', 'youtube-embed' ); ?></span></td>
|
301 |
</tr></table>
|
302 |
|
303 |
+
<h3 class="title"><?php _e( 'Security', 'youtube-embed' ); ?></h3>
|
304 |
|
305 |
<table class="form-table"><tr>
|
306 |
|
313 |
</select> <span class="description"><?php _e( 'Read more about <a href="http://donottrack.us/">Do Not Track</a>', 'youtube-embed' ); ?></span></td>
|
314 |
</tr></table>
|
315 |
|
316 |
+
<h3 class="title"><?php _e( 'Compatibility', 'youtube-embed' ); ?></h3>
|
317 |
|
318 |
<table class="form-table"><tr>
|
319 |
<th scope="row"><?php _e( 'Allow Frame Border on IFRAME', 'youtube-embed' ); ?></th>
|
includes/options-lists.php
CHANGED
@@ -9,10 +9,7 @@
|
|
9 |
*/
|
10 |
?>
|
11 |
<div class="wrap" style="width: 1010px;">
|
12 |
-
|
13 |
-
<div class="icon32"><img src="<?php echo plugins_url(); ?>/youtube-embed/images/admin_screen_icon.png" alt="" title="" height="32px" width="32px"/><br /></div>
|
14 |
-
|
15 |
-
<h2><?php _e( 'Vixy YouTube Embed Lists', 'youtube-embed' ); ?></h2>
|
16 |
|
17 |
<?php
|
18 |
// Set current list number
|
@@ -98,7 +95,7 @@ while ( $loop <= $general[ 'list_no' ] ) {
|
|
98 |
<input type="submit" name="List" class="button-secondary" value="<?php _e( 'Change list' ); ?>"/>
|
99 |
</span><br/>
|
100 |
|
101 |
-
<?php echo sprintf( __( 'These are the options for list ', 'youtube-embed' ), $list_no) . '<br/>' . __( 'Update the name, if required, and specify a list of YouTube video IDs. Use the drop-down on the right hand side to swap between lists.', 'youtube-embed' ); ?>
|
102 |
|
103 |
<table class="form-table">
|
104 |
|
9 |
*/
|
10 |
?>
|
11 |
<div class="wrap" style="width: 1010px;">
|
12 |
+
<h2><?php _e( 'YouTube Embed Lists', 'youtube-embed' ); ?></h2>
|
|
|
|
|
|
|
13 |
|
14 |
<?php
|
15 |
// Set current list number
|
95 |
<input type="submit" name="List" class="button-secondary" value="<?php _e( 'Change list' ); ?>"/>
|
96 |
</span><br/>
|
97 |
|
98 |
+
<?php echo sprintf( __( 'These are the options for list %s.', 'youtube-embed' ), $list_no) . '<br/>' . __( 'Update the name, if required, and specify a list of YouTube video IDs. Use the drop-down on the right hand side to swap between lists.', 'youtube-embed' ); ?>
|
99 |
|
100 |
<table class="form-table">
|
101 |
|
includes/options-profiles.php
CHANGED
@@ -9,15 +9,13 @@
|
|
9 |
*/
|
10 |
?>
|
11 |
|
12 |
-
<?php $demo_video = '
|
13 |
|
14 |
<div class="wrap">
|
15 |
|
16 |
<div style="width: 1010px;">
|
17 |
|
18 |
-
<
|
19 |
-
|
20 |
-
<h2><?php _e( 'Vixy YouTube Embed Profiles', 'youtube-embed' ); ?></h2>
|
21 |
|
22 |
<?php
|
23 |
|
@@ -64,9 +62,9 @@ if ( ( !empty( $_POST[ 'Submit' ] ) ) && ( check_admin_referer( 'youtube-embed-p
|
|
64 |
$options[ 'modest' ] = $_POST[ 'youtube_embed_modest' ];
|
65 |
$options[ 'dynamic' ] = $_POST[ 'youtube_embed_dynamic' ];
|
66 |
$options[ 'fixed' ] = $_POST[ 'youtube_embed_fixed' ];
|
67 |
-
$options[ '
|
68 |
$options[ 'download_style' ] = $_POST[ 'youtube_embed_download_style' ];
|
69 |
-
$options[ '
|
70 |
$options[ 'vq' ] = $_POST[ 'youtube_embed_vq' ];
|
71 |
|
72 |
$default_size = $_POST[ 'youtube_embed_size' ];
|
@@ -140,8 +138,8 @@ echo ' ' . __( 'Use the drop-down on the right hand side to swap between profile
|
|
140 |
<td><span class="description"><?php _e( 'The type of player to use for videos.', 'youtube-embed' ); ?></span><br/>
|
141 |
<input type="radio" name="youtube_embed_type" value="v"<?php if ( $options[ 'type' ] == "v" ) { echo ' checked="checked"'; } ?>/><?php echo ' ' . __( 'IFRAME', 'youtube-embed' ); ?><span class="description"><?php echo ' ' . __( 'Uses AS3 Flash player, if Flash is available. Alternatively, uses HTML5 player. This is the current YouTube default.', 'youtube-embed' ); ?></span><br/>
|
142 |
<input type="radio" name="youtube_embed_type" value="p"<?php if ( $options[ 'type' ] == "p" ) { echo ' checked="checked"'; } ?>/><?php echo ' ' . __( 'OBJECT', 'youtube-embed' ); ?><span class="description"><?php echo ' ' . __( 'Use the AS3 Flash player.', 'youtube-embed' ); ?></span><br/>
|
143 |
-
<input type="radio" name="youtube_embed_type" value="c"<?php if ( $options[ 'type' ] == "c" ) { echo ' checked="checked"'; } ?>/><?php echo ' ' . __( 'Chromeless', 'youtube-embed' ); ?><span class="description"><?php echo ' ' . __( 'Use the <a href="http://
|
144 |
-
<input type="radio" name="youtube_embed_type" value="m"<?php if ( $options[ 'type' ] == "m" ) { echo ' checked="checked"'; } ?>/><?php echo ' ' . __( 'EmbedPlus', 'youtube-embed' ); ?><span class="description"><?php echo ' ' . __( 'Use <a href="http://
|
145 |
</td>
|
146 |
</tr>
|
147 |
|
@@ -154,52 +152,62 @@ echo ' ' . __( 'Use the drop-down on the right hand side to swap between profile
|
|
154 |
</tr>
|
155 |
</table>
|
156 |
|
157 |
-
<
|
158 |
-
|
159 |
-
<table class="form-table ytbox_grey">
|
160 |
<tr>
|
161 |
-
<th scope="row"><?php _e( '
|
162 |
-
<td><input type="
|
163 |
</tr>
|
164 |
|
165 |
<tr>
|
166 |
-
<th scope="row"><?php _e( '
|
167 |
-
<td><input type="
|
168 |
</tr>
|
169 |
|
170 |
-
<tr>
|
171 |
-
<th scope="row"><?php _e( '
|
172 |
-
<td><
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
</tr>
|
174 |
|
175 |
-
|
176 |
-
|
177 |
-
<
|
178 |
-
|
179 |
-
<?php endif; ?>
|
180 |
|
181 |
-
|
|
|
|
|
|
|
182 |
|
183 |
-
|
184 |
-
<?php echo vye_add_links( $options[ 'link_to_youtube' ], $options[ 'vixy_download' ], $options[ 'download_style' ], $demo_video, '' ); ?>
|
185 |
-
</td></tr>
|
186 |
|
187 |
-
|
188 |
-
</table><br/>
|
189 |
|
190 |
<table class="form-table">
|
191 |
<tr>
|
192 |
-
<th scope="row"><?php _e( '
|
193 |
-
<td><input type="
|
194 |
</tr>
|
195 |
|
196 |
<tr>
|
197 |
-
<th scope="row"><?php _e( '
|
198 |
-
<td><input type="text" size="40" name="
|
199 |
</tr>
|
200 |
-
</table>
|
201 |
|
202 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
<tr>
|
204 |
<th scope="row"><?php _e( 'Video size', 'youtube-embed' ); ?></th>
|
205 |
<td><input type="text" size="3" maxlength="3" name="youtube_embed_width" value="<?php echo $options[ 'width' ]; ?>"/> x <input type="text" size="3" maxlength="3" name="youtube_embed_height" value="<?php echo $options[ 'height' ]; ?>"/> <span class="description"><?php _e( 'The width x height of the video, in pixels', 'youtube-embed' ); ?></span></td>
|
@@ -227,34 +235,9 @@ echo ' ' . __( 'Use the drop-down on the right hand side to swap between profile
|
|
227 |
<td><input type="checkbox" name="youtube_embed_fixed" value="1"<?php if ( $options[ 'fixed' ] == "1" ) { echo ' checked="checked"'; } ?>/> <span class="description"><?php _e( 'Use above width to define maximum size', 'youtube-embed' ); ?></span></td>
|
228 |
</tr>
|
229 |
|
230 |
-
<tr valign="top">
|
231 |
-
<th scope="row"><?php _e( 'Video Quality', 'youtube-embed' ); ?></th>
|
232 |
-
<td><select name="youtube_embed_vq">
|
233 |
-
<option value=""<?php if ( $options[ 'vq' ] == '' ) { echo " selected='selected'"; } ?>><?php _e( 'Not set', 'youtube-embed' ); ?></option>
|
234 |
-
<option value="small"<?php if ( $options[ 'vq' ] == "small" ) { echo " selected='selected'"; } ?>><?php echo '240p (Small)'; ?></option>
|
235 |
-
<option value="medium"<?php if ( $options[ 'vq' ] == "medium" ) { echo " selected='selected'"; } ?>><?php echo '360p (Medium)'; ?></option>
|
236 |
-
<option value="large"<?php if ( $options[ 'vq' ] == "large" ) { echo " selected='selected'"; } ?>><?php echo '480p (Large)'; ?></option>
|
237 |
-
<option value="hd720"<?php if ( $options[ 'vq' ] == "hd720" ) { echo " selected='selected'"; } ?>><?php echo '720p (HD)'; ?></option>
|
238 |
-
<option value="hd1080"<?php if ( $options[ 'vq' ] == "hd1080" ) { echo " selected='selected'"; } ?>><?php echo '1080p (HD)'; ?></option>
|
239 |
-
</select> <span class="description"><?php _e( 'Specify the required resolution (if available).', 'youtube-embed' ); ?></span></td>
|
240 |
-
</tr>
|
241 |
</table>
|
242 |
|
243 |
-
<
|
244 |
-
|
245 |
-
<tr>
|
246 |
-
<th scope="row"><?php _e( 'Audio Only', 'youtube-embed' ); ?></th>
|
247 |
-
<td><input type="checkbox" name="youtube_embed_audio" value="1"<?php if ( $options[ 'audio' ] == "1" ) { echo ' checked="checked"'; } ?>/> <span class="description"><?php _e( 'Only show the toolbar for audio only playback', 'youtube-embed' ); ?></span></td>
|
248 |
-
</tr>
|
249 |
-
|
250 |
-
<tr>
|
251 |
-
<th scope="row"><?php _e( 'Autoplay', 'youtube-embed' ); ?></th>
|
252 |
-
<td><input type="checkbox" name="youtube_embed_autoplay" value="1"<?php if ( $options[ 'autoplay' ] == "1" ) { echo ' checked="checked"'; } ?>/> <span class="description"><?php _e( 'The video will start playing when the player loads', 'youtube-embed' ); ?></span></td>
|
253 |
-
</tr>
|
254 |
-
|
255 |
-
</table>
|
256 |
-
|
257 |
-
<br/><span class="yt_heading"><?php _e( 'Options Not Supported by EmbedPlus', 'youtube-embed' ); ?></span>
|
258 |
|
259 |
<table class="form-table">
|
260 |
|
@@ -319,8 +302,8 @@ echo ' ' . __( 'Use the drop-down on the right hand side to swap between profile
|
|
319 |
|
320 |
</table>
|
321 |
|
322 |
-
<
|
323 |
-
|
324 |
|
325 |
<table class="form-table">
|
326 |
<tr>
|
@@ -350,7 +333,7 @@ echo ' ' . __( 'Use the drop-down on the right hand side to swap between profile
|
|
350 |
|
351 |
</table>
|
352 |
|
353 |
-
<
|
354 |
|
355 |
<table class="form-table">
|
356 |
<tr valign="top">
|
@@ -364,7 +347,9 @@ echo ' ' . __( 'Use the drop-down on the right hand side to swap between profile
|
|
364 |
|
365 |
</table>
|
366 |
|
367 |
-
<
|
|
|
|
|
368 |
|
369 |
<table class="form-table">
|
370 |
<tr valign="top">
|
@@ -400,7 +385,6 @@ echo ' ' . __( 'Use the drop-down on the right hand side to swap between profile
|
|
400 |
|
401 |
<a href="#" name="video"></a>
|
402 |
<form method="post" action="<?php echo get_bloginfo( 'wpurl' ).'/wp-admin/admin.php?page=profile-options#video' ?>">
|
403 |
-
<div class="ytbox_grey">
|
404 |
<h3><?php _e( 'YouTube Video Sample', 'youtube-embed' ); ?></h3>
|
405 |
<p><?php _e( 'The video below uses the above, saved profile settings. Use the drop-down below to change which parameters the video uses - press the Change Video button to update it.', 'youtube-embed' ); ?></p>
|
406 |
<p><select name="youtube_embed_video_type">
|
@@ -419,7 +403,6 @@ if ( $video_type == "3" ) { $id = 'NR5UoBY87GM'; $type = ''; ; }
|
|
419 |
if ( $video_type == "l" ) { $id = '095393D5B42B2266'; $type = ''; }
|
420 |
echo vye_generate_youtube_code( $id, $type, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', $profile_no );
|
421 |
?></p>
|
422 |
-
</div>
|
423 |
|
424 |
</form>
|
425 |
|
9 |
*/
|
10 |
?>
|
11 |
|
12 |
+
<?php $demo_video = 'JAUoeqvedMo'; ?>
|
13 |
|
14 |
<div class="wrap">
|
15 |
|
16 |
<div style="width: 1010px;">
|
17 |
|
18 |
+
<h2><?php _e( 'YouTube Embed Profiles', 'youtube-embed' ); ?></h2>
|
|
|
|
|
19 |
|
20 |
<?php
|
21 |
|
62 |
$options[ 'modest' ] = $_POST[ 'youtube_embed_modest' ];
|
63 |
$options[ 'dynamic' ] = $_POST[ 'youtube_embed_dynamic' ];
|
64 |
$options[ 'fixed' ] = $_POST[ 'youtube_embed_fixed' ];
|
65 |
+
$options[ 'download' ] = $_POST[ 'youtube_embed_download' ];
|
66 |
$options[ 'download_style' ] = $_POST[ 'youtube_embed_download_style' ];
|
67 |
+
$options[ 'download_text' ] = str_replace( '\"', '"', str_replace( "\'", "'", $_POST[ 'youtube_embed_download_text' ] ) );
|
68 |
$options[ 'vq' ] = $_POST[ 'youtube_embed_vq' ];
|
69 |
|
70 |
$default_size = $_POST[ 'youtube_embed_size' ];
|
138 |
<td><span class="description"><?php _e( 'The type of player to use for videos.', 'youtube-embed' ); ?></span><br/>
|
139 |
<input type="radio" name="youtube_embed_type" value="v"<?php if ( $options[ 'type' ] == "v" ) { echo ' checked="checked"'; } ?>/><?php echo ' ' . __( 'IFRAME', 'youtube-embed' ); ?><span class="description"><?php echo ' ' . __( 'Uses AS3 Flash player, if Flash is available. Alternatively, uses HTML5 player. This is the current YouTube default.', 'youtube-embed' ); ?></span><br/>
|
140 |
<input type="radio" name="youtube_embed_type" value="p"<?php if ( $options[ 'type' ] == "p" ) { echo ' checked="checked"'; } ?>/><?php echo ' ' . __( 'OBJECT', 'youtube-embed' ); ?><span class="description"><?php echo ' ' . __( 'Use the AS3 Flash player.', 'youtube-embed' ); ?></span><br/>
|
141 |
+
<input type="radio" name="youtube_embed_type" value="c"<?php if ( $options[ 'type' ] == "c" ) { echo ' checked="checked"'; } ?>/><?php echo ' ' . __( 'Chromeless', 'youtube-embed' ); ?><span class="description"><?php echo ' ' . __( 'Use the <a href="http://www.artiss.co.uk/youtube-embed-help#ye-chromeless">Chromeless</a> version of the AS3 Flash Player.', 'youtube-embed' ); ?></span><br/>
|
142 |
+
<input type="radio" name="youtube_embed_type" value="m"<?php if ( $options[ 'type' ] == "m" ) { echo ' checked="checked"'; } ?>/><?php echo ' ' . __( 'EmbedPlus', 'youtube-embed' ); ?><span class="description"><?php echo ' ' . __( 'Use <a href="http://www.artiss.co.uk/youtube-embed-help#ye-embedplus">EmbedPlus</a>, if Flash is available.', 'youtube-embed' ); ?></span>
|
143 |
</td>
|
144 |
</tr>
|
145 |
|
152 |
</tr>
|
153 |
</table>
|
154 |
|
155 |
+
<table class="form-table">
|
|
|
|
|
156 |
<tr>
|
157 |
+
<th scope="row"><?php _e( 'Template', 'youtube-embed' ); ?></th>
|
158 |
+
<td><input type="text" size="40" name="youtube_embed_template" value="<?php echo htmlspecialchars( $options[ 'template' ] ); ?>"/> <span class="description"><?php _e( 'Wrapper for video output. Must include <code>%video%</code> tag to show video position', 'youtube-embed' ); ?></span></td>
|
159 |
</tr>
|
160 |
|
161 |
<tr>
|
162 |
+
<th scope="row"><?php _e( 'Style', 'youtube-embed' ); ?></th>
|
163 |
+
<td><input type="text" size="40" name="youtube_embed_style" value="<?php echo htmlspecialchars( $options[ 'style' ] ); ?>"/> <span class="description"><?php _e( 'CSS elements to apply to video', 'youtube-embed' ); ?></span></td>
|
164 |
</tr>
|
165 |
|
166 |
+
<tr valign="top">
|
167 |
+
<th scope="row"><?php _e( 'Video Quality', 'youtube-embed' ); ?></th>
|
168 |
+
<td><select name="youtube_embed_vq">
|
169 |
+
<option value=""<?php if ( $options[ 'vq' ] == '' ) { echo " selected='selected'"; } ?>><?php _e( 'Not set', 'youtube-embed' ); ?></option>
|
170 |
+
<option value="small"<?php if ( $options[ 'vq' ] == "small" ) { echo " selected='selected'"; } ?>><?php echo '240p (Small)'; ?></option>
|
171 |
+
<option value="medium"<?php if ( $options[ 'vq' ] == "medium" ) { echo " selected='selected'"; } ?>><?php echo '360p (Medium)'; ?></option>
|
172 |
+
<option value="large"<?php if ( $options[ 'vq' ] == "large" ) { echo " selected='selected'"; } ?>><?php echo '480p (Large)'; ?></option>
|
173 |
+
<option value="hd720"<?php if ( $options[ 'vq' ] == "hd720" ) { echo " selected='selected'"; } ?>><?php echo '720p (HD)'; ?></option>
|
174 |
+
<option value="hd1080"<?php if ( $options[ 'vq' ] == "hd1080" ) { echo " selected='selected'"; } ?>><?php echo '1080p (HD)'; ?></option>
|
175 |
+
</select> <span class="description"><?php _e( 'Specify the required resolution (if available).', 'youtube-embed' ); ?></span></td>
|
176 |
</tr>
|
177 |
|
178 |
+
<tr>
|
179 |
+
<th scope="row"><?php _e( 'Audio Only', 'youtube-embed' ); ?></th>
|
180 |
+
<td><input type="checkbox" name="youtube_embed_audio" value="1"<?php if ( $options[ 'audio' ] == "1" ) { echo ' checked="checked"'; } ?>/> <span class="description"><?php _e( 'Only show the toolbar for audio only playback', 'youtube-embed' ); ?></span></td>
|
181 |
+
</tr>
|
|
|
182 |
|
183 |
+
<tr>
|
184 |
+
<th scope="row"><?php _e( 'Autoplay', 'youtube-embed' ); ?></th>
|
185 |
+
<td><input type="checkbox" name="youtube_embed_autoplay" value="1"<?php if ( $options[ 'autoplay' ] == "1" ) { echo ' checked="checked"'; } ?>/> <span class="description"><?php _e( 'The video will start playing when the player loads', 'youtube-embed' ); ?></span></td>
|
186 |
+
</tr>
|
187 |
|
188 |
+
</table>
|
|
|
|
|
189 |
|
190 |
+
<h3 class="title"><?php _e( 'Download Link', 'youtube-embed' ); ?></h3>
|
|
|
191 |
|
192 |
<table class="form-table">
|
193 |
<tr>
|
194 |
+
<th scope="row"><?php _e( 'Show Download Link', 'youtube-embed' ); ?></th>
|
195 |
+
<td><input type="checkbox" name="youtube_embed_download" value="1"<?php if ( $options[ 'download' ] == "1" ) { echo ' checked="checked"'; } ?>/> <span class="description"><?php echo sprintf( __( 'Show a link to %s under the video', 'youtube-embed' ), '<a href="http://www.videodownloadx.com/">Videodownloadx</a>' ); ?></span></td>
|
196 |
</tr>
|
197 |
|
198 |
<tr>
|
199 |
+
<th scope="row"><?php _e( 'Download Text', 'youtube-embed' ); ?></th>
|
200 |
+
<td><input type="text" size="40" name="youtube_embed_download_text" value="<?php echo htmlspecialchars( $options[ 'download_text' ] ); ?>"/> <span class="description"><?php _e( 'Text or HTML to display to prompt download', 'youtube-embed' ); ?></span></td>
|
201 |
</tr>
|
|
|
202 |
|
203 |
+
<tr>
|
204 |
+
<th scope="row"><?php _e( 'Download Style', 'youtube-embed' ); ?></th>
|
205 |
+
<td><input type="text" size="40" name="youtube_embed_download_style" value="<?php echo htmlspecialchars( $options[ 'download_style' ] ); ?>"/> <span class="description"><?php _e( 'CSS elements to apply to video download link', 'youtube-embed' ); ?></span></td>
|
206 |
+
</tr></table>
|
207 |
+
|
208 |
+
<h3 class="title"><?php _e( 'Video Size', 'youtube-embed' ); ?></h3>
|
209 |
+
|
210 |
+
<table class="form-table">
|
211 |
<tr>
|
212 |
<th scope="row"><?php _e( 'Video size', 'youtube-embed' ); ?></th>
|
213 |
<td><input type="text" size="3" maxlength="3" name="youtube_embed_width" value="<?php echo $options[ 'width' ]; ?>"/> x <input type="text" size="3" maxlength="3" name="youtube_embed_height" value="<?php echo $options[ 'height' ]; ?>"/> <span class="description"><?php _e( 'The width x height of the video, in pixels', 'youtube-embed' ); ?></span></td>
|
235 |
<td><input type="checkbox" name="youtube_embed_fixed" value="1"<?php if ( $options[ 'fixed' ] == "1" ) { echo ' checked="checked"'; } ?>/> <span class="description"><?php _e( 'Use above width to define maximum size', 'youtube-embed' ); ?></span></td>
|
236 |
</tr>
|
237 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
</table>
|
239 |
|
240 |
+
<h3 class="title"><?php _e( 'Options Not Supported by EmbedPlus', 'youtube-embed' ); ?></h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
241 |
|
242 |
<table class="form-table">
|
243 |
|
302 |
|
303 |
</table>
|
304 |
|
305 |
+
<h3 class="title"><?php _e( 'Options for AS3 Player', 'youtube-embed' ); ?></h3>
|
306 |
+
<?php _e( 'The following options are not supported if using EmbedPlus or if the IFRAME player uses HTML5.' ); ?>
|
307 |
|
308 |
<table class="form-table">
|
309 |
<tr>
|
333 |
|
334 |
</table>
|
335 |
|
336 |
+
<h3 class="title"><?php _e( 'Options Not Supported by HTML5 Player', 'youtube-embed' ); ?></h3>
|
337 |
|
338 |
<table class="form-table">
|
339 |
<tr valign="top">
|
347 |
|
348 |
</table>
|
349 |
|
350 |
+
<h3 class="title"><?php _e( 'Options Only Supported By EmbedPlus', 'youtube-embed' ); ?></h3>
|
351 |
+
|
352 |
+
<?php echo '<a href="http://www.artiss.co.uk/youtube-embed-help#ye-embedplus">' . __( 'Learn more about EmbedPlus', 'youtube-embed' ) . '</a>'; ?>
|
353 |
|
354 |
<table class="form-table">
|
355 |
<tr valign="top">
|
385 |
|
386 |
<a href="#" name="video"></a>
|
387 |
<form method="post" action="<?php echo get_bloginfo( 'wpurl' ).'/wp-admin/admin.php?page=profile-options#video' ?>">
|
|
|
388 |
<h3><?php _e( 'YouTube Video Sample', 'youtube-embed' ); ?></h3>
|
389 |
<p><?php _e( 'The video below uses the above, saved profile settings. Use the drop-down below to change which parameters the video uses - press the Change Video button to update it.', 'youtube-embed' ); ?></p>
|
390 |
<p><select name="youtube_embed_video_type">
|
403 |
if ( $video_type == "l" ) { $id = '095393D5B42B2266'; $type = ''; }
|
404 |
echo vye_generate_youtube_code( $id, $type, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', $profile_no );
|
405 |
?></p>
|
|
|
406 |
|
407 |
</form>
|
408 |
|
includes/options-widgets.php
CHANGED
File without changes
|
includes/set-defaults.php
CHANGED
@@ -109,7 +109,15 @@ function vye_set_general_defaults() {
|
|
109 |
|
110 |
// Set current version level. Because this can be used to detect version changes (and to what extent), this information may be useful in future upgrades
|
111 |
|
112 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
$options[ 'current_version' ] = youtube_embed_version;
|
114 |
$changed = true;
|
115 |
}
|
@@ -230,9 +238,9 @@ function vye_set_profile_defaults( $profile ) {
|
|
230 |
if ( !array_key_exists( 'modest', $options ) ) { $options[ 'modest' ] = 1; $changed = true; }
|
231 |
if ( !array_key_exists( 'dynamic', $options ) ) { $options[ 'dynamic' ] = ''; $changed = true; }
|
232 |
if ( !array_key_exists( 'fixed', $options ) ) { $options[ 'fixed' ] = ''; $changed = true; }
|
|
|
233 |
if ( !array_key_exists( 'download_style', $options ) ) { $options[ 'download_style' ] = ''; $changed = true; }
|
234 |
-
if ( !array_key_exists( '
|
235 |
-
if ( !array_key_exists( 'vixy_download', $options ) ) { $options[ 'vixy_download' ] = ''; $changed = true; }
|
236 |
if ( !array_key_exists( 'vq', $options ) ) { $options[ 'vq' ] = ''; $changed = true; }
|
237 |
|
238 |
// Update the options, if changed, and return the result
|
109 |
|
110 |
// Set current version level. Because this can be used to detect version changes (and to what extent), this information may be useful in future upgrades
|
111 |
|
112 |
+
$version_change = false;
|
113 |
+
if ( array_key_exists( 'editor_button', $options ) ) {
|
114 |
+
if ( $options[ 'current_version' ] != youtube_embed_version ) {
|
115 |
+
$version_change = true;
|
116 |
+
}
|
117 |
+
$version_change = true;
|
118 |
+
}
|
119 |
+
|
120 |
+
if ( $version_change ) {
|
121 |
$options[ 'current_version' ] = youtube_embed_version;
|
122 |
$changed = true;
|
123 |
}
|
238 |
if ( !array_key_exists( 'modest', $options ) ) { $options[ 'modest' ] = 1; $changed = true; }
|
239 |
if ( !array_key_exists( 'dynamic', $options ) ) { $options[ 'dynamic' ] = ''; $changed = true; }
|
240 |
if ( !array_key_exists( 'fixed', $options ) ) { $options[ 'fixed' ] = ''; $changed = true; }
|
241 |
+
if ( !array_key_exists( 'download', $options ) ) { $options[ 'download' ] = ''; $changed = true; }
|
242 |
if ( !array_key_exists( 'download_style', $options ) ) { $options[ 'download_style' ] = ''; $changed = true; }
|
243 |
+
if ( !array_key_exists( 'download_text', $options ) ) { $options[ 'download_text' ] = 'Click here to download the video'; $changed = true; }
|
|
|
244 |
if ( !array_key_exists( 'vq', $options ) ) { $options[ 'vq' ] = ''; $changed = true; }
|
245 |
|
246 |
// Update the options, if changed, and return the result
|
includes/shared-functions.php
CHANGED
@@ -498,55 +498,6 @@ function vye_generate_profile_list( $current, $total ) {
|
|
498 |
return;
|
499 |
}
|
500 |
|
501 |
-
/**
|
502 |
-
* Generate video links
|
503 |
-
*
|
504 |
-
* Generate links for display under the video
|
505 |
-
*
|
506 |
-
* @since 3.1
|
507 |
-
*
|
508 |
-
* @uses vye_generate_download_code Generate download code
|
509 |
-
*
|
510 |
-
* @param string $link_to_youtube YouTube link flag
|
511 |
-
* @param string $vixy_download Vixy download flag
|
512 |
-
* @param string $download_style CSS for output
|
513 |
-
* @param string $id Video ID
|
514 |
-
* @param string $embed_type Embed type
|
515 |
-
* @return string HTML output
|
516 |
-
*/
|
517 |
-
|
518 |
-
function vye_add_links( $link_to_youtube, $vixy_download, $download_style, $id, $embed_type ) {
|
519 |
-
|
520 |
-
$result = '';
|
521 |
-
|
522 |
-
if ( ( $link_to_youtube == 1 ) && ( $embed_type != 'p' ) ) { $link = true; } else { $link = false; }
|
523 |
-
|
524 |
-
if ( ( $link ) or ( $vixy_download == 1 ) ) {
|
525 |
-
|
526 |
-
|
527 |
-
// Show link to YouTube
|
528 |
-
|
529 |
-
if ( $link ) {
|
530 |
-
$result .= '<a href="https://www.youtube.com/watch?v=' . $id . '">' . __( 'View on YouTube', 'youtube-embed' ) . '</a>';
|
531 |
-
if ( $vixy_download == 1 ) { $result .= ' | '; }
|
532 |
-
}
|
533 |
-
|
534 |
-
// Show Vixy.net links
|
535 |
-
|
536 |
-
if ( $vixy_download == 1 ) { $result .= vye_generate_download_code( $id ); }
|
537 |
-
|
538 |
-
// If anything added wrap in SPAN and, optional, style information
|
539 |
-
|
540 |
-
if ( $result != '' ) {
|
541 |
-
$result = '<br/><span style="' . $download_style . '" class="vye_links">' . $result;
|
542 |
-
$result .= "</span>\n";
|
543 |
-
}
|
544 |
-
|
545 |
-
}
|
546 |
-
|
547 |
-
return $result;
|
548 |
-
}
|
549 |
-
|
550 |
/**
|
551 |
* Extract XML (2.0)
|
552 |
*
|
498 |
return;
|
499 |
}
|
500 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
501 |
/**
|
502 |
* Extract XML (2.0)
|
503 |
*
|
includes/shortcodes.php
CHANGED
@@ -123,8 +123,13 @@ function vye_video_shortcode( $paras = '', $content = '', $callback = '', $alt_s
|
|
123 |
if ( ( $content == '' ) && ( $paras[ 0 ] != '' ) ) {
|
124 |
$content = $paras[ 0 ];
|
125 |
if ( (substr( $content, 0, 1 ) == ":" ) or ( substr( $content, 0, 1 ) == "=" ) ) { $content = substr( $content, 1 ); }
|
126 |
-
|
127 |
-
if ( $paras
|
|
|
|
|
|
|
|
|
|
|
128 |
}
|
129 |
|
130 |
// Get Embed type
|
123 |
if ( ( $content == '' ) && ( $paras[ 0 ] != '' ) ) {
|
124 |
$content = $paras[ 0 ];
|
125 |
if ( (substr( $content, 0, 1 ) == ":" ) or ( substr( $content, 0, 1 ) == "=" ) ) { $content = substr( $content, 1 ); }
|
126 |
+
|
127 |
+
if ( array_key_exists( 1, $paras ) ) {
|
128 |
+
if ( $paras[ 1 ] != '' ) { $width = $paras[ 1 ]; }
|
129 |
+
}
|
130 |
+
if ( array_key_exists( 2, $paras ) ) {
|
131 |
+
if ( $paras[ 2 ] != '' ) { $height = $paras[ 2 ]; }
|
132 |
+
}
|
133 |
}
|
134 |
|
135 |
// Get Embed type
|
includes/update-post-content.php
CHANGED
File without changes
|
js/mce-button.min.php
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
(function(){
|
2 |
-
<?php $cookie_name='vye_mce_shortcode'; if(isset($_COOKIE[$cookie_name])) {$shortcode=$_COOKIE[$cookie_name];} else {$shortcode='youtube';} ?>
|
3 |
-
var shortcode="<?php echo $shortcode; ?>";tinymce.create('tinymce.plugins.youtube',{init:function(ed,url){ed.addButton('YouTube',{title:'YouTube Embed',onclick:function(){if(ed.selection.getContent()==''){var yeOut='Insert video URL or ID here'}else{var yeOut=ed.selection.getContent()}ed.selection.setContent('['+shortcode+']'+yeOut+'[/'+shortcode+']')}})},createControl:function(n,cm){return null}});tinymce.PluginManager.add('YouTube',tinymce.plugins.youtube)})();
|
|
|
|
|
|
js/mce-button.php
DELETED
@@ -1,31 +0,0 @@
|
|
1 |
-
// Function to add MCE button. Includes build of output text
|
2 |
-
|
3 |
-
(function() {
|
4 |
-
<?php
|
5 |
-
|
6 |
-
// Get cookie of default shortcode to use
|
7 |
-
|
8 |
-
$cookie_name = 'vye_mce_shortcode';
|
9 |
-
if ( isset( $_COOKIE[ $cookie_name ] ) ) { $shortcode = $_COOKIE[ $cookie_name ]; } else { $shortcode = 'youtube'; }
|
10 |
-
?>
|
11 |
-
var shortcode = "<?php echo $shortcode; ?>";
|
12 |
-
tinymce.create('tinymce.plugins.youtube', {
|
13 |
-
init : function(ed, url) {
|
14 |
-
ed.addButton('YouTube', {
|
15 |
-
title : 'YouTube Embed',
|
16 |
-
onclick : function() {
|
17 |
-
if (ed.selection.getContent()=='') {
|
18 |
-
var yeOut = 'Insert video URL or ID here';
|
19 |
-
} else {
|
20 |
-
var yeOut = ed.selection.getContent();
|
21 |
-
}
|
22 |
-
ed.selection.setContent('[' + shortcode + ']' + yeOut + '[/' + shortcode + ']');
|
23 |
-
}
|
24 |
-
});
|
25 |
-
},
|
26 |
-
createControl : function(n, cm) {
|
27 |
-
return null;
|
28 |
-
}
|
29 |
-
});
|
30 |
-
tinymce.PluginManager.add('YouTube', tinymce.plugins.youtube);
|
31 |
-
})();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/mce4-button.min.php
CHANGED
File without changes
|
js/mce4-button.php
CHANGED
File without changes
|
languages/youtube-embed.mo
CHANGED
Binary file
|
languages/youtube-embed.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Vixy YouTube Embed\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: David Artiss <david.artiss@artiss.co.uk>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: en_GB\n"
|
@@ -13,24 +13,23 @@ msgstr ""
|
|
13 |
"X-Poedit-KeywordsList: __;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e;_x;"
|
14 |
"_ex;esc_attr_x;esc_html_x;_n;_nx;_n_noop;_nx_noop\n"
|
15 |
"X-Poedit-Basepath: ../\n"
|
16 |
-
"X-Generator: Poedit 1.
|
17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
"X-Poedit-SearchPath-0: .\n"
|
19 |
|
20 |
-
#: includes/add-to-admin-bar.php:
|
21 |
-
#: includes/generate-widgets.php:24
|
22 |
msgid "YouTube Embed"
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: includes/add-to-admin-bar.php:
|
26 |
msgid "Options"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: includes/add-to-admin-bar.php:
|
30 |
msgid "Profiles"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: includes/add-to-admin-bar.php:
|
34 |
msgid "Lists"
|
35 |
msgstr ""
|
36 |
|
@@ -42,61 +41,61 @@ msgstr ""
|
|
42 |
msgid "Support"
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: includes/admin-config.php:
|
46 |
-
msgid "About
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: includes/admin-config.php:
|
50 |
msgid "YouTube"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: includes/admin-config.php:
|
54 |
-
msgid "
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: includes/admin-config.php:
|
58 |
-
msgid "
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: includes/admin-config.php:
|
62 |
-
msgid "
|
63 |
msgstr ""
|
64 |
|
65 |
-
#: includes/admin-config.php:
|
66 |
-
#: includes/admin-config.php:
|
67 |
msgid "Help"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: includes/admin-config.php:
|
71 |
msgid ""
|
72 |
-
"This screen allows you to select non-specific options for the
|
73 |
-
"
|
74 |
"\"admin.php?page=profile-options\">Profiles</a> administration option."
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: includes/admin-config.php:
|
78 |
-
#: includes/admin-config.php:
|
79 |
msgid ""
|
80 |
"Remember to click the Save Settings button at the bottom of the screen for "
|
81 |
"new settings to take effect."
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: includes/admin-config.php:
|
85 |
-
#: includes/admin-config.php:
|
86 |
msgid "For more information:"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: includes/admin-config.php:
|
90 |
-
#: includes/admin-config.php:
|
91 |
-
msgid "
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: includes/admin-config.php:
|
95 |
-
#: includes/admin-config.php:
|
96 |
msgid "YouTube Player Documentation"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: includes/admin-config.php:
|
100 |
msgid ""
|
101 |
"This screen allows you to set the options for the default and additional "
|
102 |
"profiles. If you don't specify a specific parameter when displaying your "
|
@@ -105,46 +104,42 @@ msgid ""
|
|
105 |
"required."
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: includes/admin-config.php:
|
109 |
msgid "EmbedPlus website"
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: includes/admin-config.php:
|
113 |
msgid ""
|
114 |
"This screen allows you to create lists of YouTube videos, which may be "
|
115 |
"named. These lists can then be used in preference to a single video ID."
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: includes/admin-config.php:
|
119 |
-
msgid "Welcome to
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: includes/admin-config.php:
|
123 |
msgid "Thank you for installing this plugin."
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: includes/admin-config.php:
|
127 |
msgid ""
|
128 |
"These new menu options will allow you to configure your videos to just how "
|
129 |
"you want them and provide links for help and support."
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: includes/admin-config.php:
|
133 |
msgid ""
|
134 |
"Even if you do nothing else, please visit the Profiles option to check your "
|
135 |
"default video values."
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: includes/deprecated.php:55
|
139 |
-
msgid "This function does not support playlists"
|
140 |
-
msgstr ""
|
141 |
-
|
142 |
#: includes/function-calls.php:164 includes/function-calls.php:226
|
143 |
#: includes/generate-comments-code.php:44
|
144 |
-
#: includes/generate-download-code.php:
|
145 |
#: includes/generate-shorturl-code.php:34
|
146 |
#: includes/generate-thumbnail-code.php:39
|
147 |
-
#: includes/generate-transcript-code.php:39 includes/shortcodes.php:
|
148 |
#, php-format
|
149 |
msgid "The YouTube ID of %s is invalid."
|
150 |
msgstr ""
|
@@ -162,7 +157,7 @@ msgstr ""
|
|
162 |
msgid "ago"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: includes/generate-download-code.php:
|
166 |
msgid "No YouTube ID was found."
|
167 |
msgstr ""
|
168 |
|
@@ -170,13 +165,13 @@ msgstr ""
|
|
170 |
msgid "No video/playlist ID has been supplied"
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: includes/generate-embed-code.php:
|
174 |
msgid ""
|
175 |
"A video list cannot be viewed within this feed - please view the original "
|
176 |
"content"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: includes/generate-embed-code.php:
|
180 |
msgid "Click here to view the video on YouTube"
|
181 |
msgstr ""
|
182 |
|
@@ -193,945 +188,920 @@ msgstr ""
|
|
193 |
msgid "Embed YouTube Widget."
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: includes/options-general.php:
|
197 |
msgid "Settings Saved."
|
198 |
msgstr ""
|
199 |
|
200 |
-
#: includes/options-general.php:
|
201 |
msgid "Cache cleared."
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: includes/options-general.php:
|
205 |
msgid ""
|
206 |
-
"These are the general settings for
|
207 |
"\"admin.php?page=profile-options\">Profiles</a> for default embedding "
|
208 |
"settings."
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: includes/options-general.php:
|
212 |
-
msgid "Affiliates"
|
213 |
-
msgstr ""
|
214 |
-
|
215 |
-
#: includes/options-general.php:107
|
216 |
-
msgid "ShareASale ID"
|
217 |
-
msgstr ""
|
218 |
-
|
219 |
-
#: includes/options-general.php:108
|
220 |
-
msgid ""
|
221 |
-
"<a href=\"http://www.shareasale.com/r.cfm?B=44&U=668714&M=47&urllink=\">Sign "
|
222 |
-
"up to ShareASale</a> and earn money. <a href=\"http://vixy.net/youtube-embed/"
|
223 |
-
"documentation.php#make_money\">Read more</a>."
|
224 |
-
msgstr ""
|
225 |
-
|
226 |
-
#: includes/options-general.php:111
|
227 |
msgid "Embedding"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: includes/options-general.php:
|
231 |
msgid "Add Metadata"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: includes/options-general.php:
|
235 |
-
msgid ""
|
236 |
-
"Allow rich metadata to be added to code. <a href=\"http://vixy.net/youtube-"
|
237 |
-
"embed/documentation.php#Metadata\">Learn more</a>"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: includes/options-general.php:
|
241 |
msgid "Comment Embedding"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: includes/options-general.php:
|
245 |
msgid "Allow YouTube URLs in comments - will display as embedded videos."
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: includes/options-general.php:
|
249 |
-
#: includes/options-general.php:
|
250 |
msgid "Profile to use"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: includes/options-general.php:
|
254 |
msgid "Feed"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: includes/options-general.php:
|
258 |
msgid "Text link"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: includes/options-general.php:
|
262 |
msgid "Thumbnail"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: includes/options-general.php:
|
266 |
msgid "Thumbnail & Text Link"
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: includes/options-general.php:
|
270 |
msgid ""
|
271 |
"Videos cannot be embedded in feeds. Select how you wish them to be shown "
|
272 |
"instead"
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: includes/options-general.php:
|
276 |
msgid "Thumbnail to use"
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: includes/options-general.php:
|
280 |
msgid "Default"
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: includes/options-general.php:
|
284 |
msgid "Default (HQ)"
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: includes/options-general.php:
|
288 |
msgid "Start"
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: includes/options-general.php:
|
292 |
msgid "Middle"
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: includes/options-general.php:
|
296 |
msgid "End"
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: includes/options-general.php:
|
300 |
msgid "Which thumbnail to use"
|
301 |
msgstr ""
|
302 |
|
303 |
-
#: includes/options-general.php:
|
304 |
msgid "Allow shortcodes in widgets"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: includes/options-general.php:
|
308 |
msgid ""
|
309 |
"Allow shortcodes to be used in widgets - this will apply to <strong>all</"
|
310 |
"strong> widgets"
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: includes/options-general.php:
|
314 |
msgid "Alternative Shortcodes"
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: includes/options-general.php:
|
318 |
msgid ""
|
319 |
"Specify up to 2 alternative shortcodes to compliment the standard "
|
320 |
"<code>youtube</code> shortcode. <strong>NB: These should be specified "
|
321 |
"without the surrounding square brackets.</strong>"
|
322 |
msgstr ""
|
323 |
|
324 |
-
#: includes/options-general.php:
|
325 |
msgid "Alternative Shortcode 1"
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: includes/options-general.php:
|
329 |
msgid "Alternative Shortcode 2"
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: includes/options-general.php:
|
333 |
msgid "Migration"
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: includes/options-general.php:
|
337 |
msgid ""
|
338 |
"Switch on compatibility with other embedding plugins. For more details "
|
339 |
-
"please <a href=\"http://
|
340 |
-
"
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: includes/options-general.php:
|
344 |
msgid "Bracket Embedding"
|
345 |
msgstr ""
|
346 |
|
347 |
-
#: includes/options-general.php:
|
348 |
msgid ""
|
349 |
"Allow embedding using URLs within brackets. Activating impacts performance"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: includes/options-general.php:
|
353 |
msgid "Alternative Embedding"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: includes/options-general.php:
|
357 |
msgid "Allow all other types of embedding. Activating impacts performance"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: includes/options-general.php:
|
361 |
msgid "For above 2 options"
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: includes/options-general.php:
|
365 |
msgid "Admin Options"
|
366 |
msgstr ""
|
367 |
|
368 |
-
#: includes/options-general.php:
|
369 |
msgid "Show Editor Button"
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: includes/options-general.php:
|
373 |
msgid "Show the YouTube button on the post editor"
|
374 |
msgstr ""
|
375 |
|
376 |
-
#: includes/options-general.php:
|
377 |
msgid "Editor Button Shortcode"
|
378 |
msgstr ""
|
379 |
|
380 |
-
#: includes/options-general.php:
|
381 |
msgid "Shortcode for editor button to use."
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: includes/options-general.php:
|
385 |
msgid "Add to Admin Bar"
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: includes/options-general.php:
|
389 |
msgid "Add link to options screen to Admin Bar"
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: includes/options-general.php:
|
393 |
msgid "Menu Screen Access"
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: includes/options-general.php:
|
397 |
msgid "Administrator"
|
398 |
msgstr ""
|
399 |
|
400 |
-
#: includes/options-general.php:
|
401 |
msgid "Editor"
|
402 |
msgstr ""
|
403 |
|
404 |
-
#: includes/options-general.php:
|
405 |
msgid "Author"
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: includes/options-general.php:
|
409 |
msgid "Contributor"
|
410 |
msgstr ""
|
411 |
|
412 |
-
#: includes/options-general.php:
|
413 |
msgid "Specify the user access required for the menu screens"
|
414 |
msgstr ""
|
415 |
|
416 |
-
#: includes/options-general.php:
|
417 |
msgid "Profile & List Sizes"
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: includes/options-general.php:
|
421 |
msgid "Number of Profiles"
|
422 |
msgstr ""
|
423 |
|
424 |
-
#: includes/options-general.php:
|
425 |
msgid "Maximum number of profiles"
|
426 |
msgstr ""
|
427 |
|
428 |
-
#: includes/options-general.php:
|
429 |
msgid "Number of Lists"
|
430 |
msgstr ""
|
431 |
|
432 |
-
#: includes/options-general.php:
|
433 |
msgid "Maximum number of lists"
|
434 |
msgstr ""
|
435 |
|
436 |
-
#: includes/options-general.php:
|
437 |
msgid "Performance"
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: includes/options-general.php:
|
441 |
msgid "Embed Cache"
|
442 |
msgstr ""
|
443 |
|
444 |
-
#: includes/options-general.php:
|
445 |
msgid "How many hours to retain embed output. 0 to switch off"
|
446 |
msgstr ""
|
447 |
|
448 |
-
#: includes/options-general.php:
|
449 |
msgid "Video Information Cache"
|
450 |
msgstr ""
|
451 |
|
452 |
-
#: includes/options-general.php:
|
453 |
msgid ""
|
454 |
"How many hours to retain video information, including it's validity. 0 to "
|
455 |
"switch off"
|
456 |
msgstr ""
|
457 |
|
458 |
-
#: includes/options-general.php:
|
459 |
msgid "Transcript Cache"
|
460 |
msgstr ""
|
461 |
|
462 |
-
#: includes/options-general.php:
|
463 |
msgid "How many hours to store transcripts for in cache. 0 to switch off"
|
464 |
msgstr ""
|
465 |
|
466 |
-
#: includes/options-general.php:
|
467 |
msgid "Comments Cache"
|
468 |
msgstr ""
|
469 |
|
470 |
-
#: includes/options-general.php:
|
471 |
msgid "How many minutes to store video comments for in cache. 0 to switch off"
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: includes/options-general.php:
|
475 |
msgid "You currently have cache for"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: includes/options-general.php:
|
479 |
msgid "and"
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: includes/options-general.php:
|
483 |
msgid "Clear Cache"
|
484 |
msgstr ""
|
485 |
|
486 |
-
#: includes/options-general.php:
|
487 |
msgid "Select this option to remove all YouTube Embed cache."
|
488 |
msgstr ""
|
489 |
|
490 |
-
#: includes/options-general.php:
|
491 |
msgid "YouTube API"
|
492 |
msgstr ""
|
493 |
|
494 |
-
#: includes/options-general.php:
|
495 |
msgid ""
|
496 |
"The YouTube API is used to validate video IDs and to determine if it is a "
|
497 |
"video or playlist."
|
498 |
msgstr ""
|
499 |
|
500 |
-
#: includes/options-general.php:
|
501 |
msgid "API State"
|
502 |
msgstr ""
|
503 |
|
504 |
-
#: includes/options-general.php:
|
505 |
msgid "API should not be used"
|
506 |
msgstr ""
|
507 |
|
508 |
-
#: includes/options-general.php:
|
509 |
msgid "HTTP API used and errors are reported"
|
510 |
msgstr ""
|
511 |
|
512 |
-
#: includes/options-general.php:
|
513 |
msgid "HTTPS API used and errors are reported"
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: includes/options-general.php:
|
517 |
msgid "HTTP API used and no errors are reported"
|
518 |
msgstr ""
|
519 |
|
520 |
-
#: includes/options-general.php:
|
521 |
msgid "HTTPS API used and no errors are reported"
|
522 |
msgstr ""
|
523 |
|
524 |
-
#: includes/options-general.php:
|
525 |
msgid "Error Reporting"
|
526 |
msgstr ""
|
527 |
|
528 |
-
#: includes/options-general.php:
|
529 |
msgid ""
|
530 |
"Playback errors are within the XHTML source code as comments - parameter "
|
531 |
"errors and other types are displayed on the post output."
|
532 |
msgstr ""
|
533 |
|
534 |
-
#: includes/options-general.php:
|
535 |
msgid "Video Playback Error Message"
|
536 |
msgstr ""
|
537 |
|
538 |
-
#: includes/options-general.php:
|
539 |
msgid "This is the message that will be shown on the post"
|
540 |
msgstr ""
|
541 |
|
542 |
-
#: includes/options-general.php:
|
543 |
msgid "Security"
|
544 |
msgstr ""
|
545 |
|
546 |
-
#: includes/options-general.php:
|
547 |
msgid "Privacy-Enhanced Mode"
|
548 |
msgstr ""
|
549 |
|
550 |
-
#: includes/options-general.php:
|
551 |
msgid "Cookies should always be stored"
|
552 |
msgstr ""
|
553 |
|
554 |
-
#: includes/options-general.php:
|
555 |
msgid "Cookies should never be stored"
|
556 |
msgstr ""
|
557 |
|
558 |
-
#: includes/options-general.php:
|
559 |
msgid "Cookies should be stored based on user's Do Not Track setting"
|
560 |
msgstr ""
|
561 |
|
562 |
-
#: includes/options-general.php:
|
563 |
msgid "Read more about <a href=\"http://donottrack.us/\">Do Not Track</a>"
|
564 |
msgstr ""
|
565 |
|
566 |
-
#: includes/options-general.php:
|
567 |
msgid "Compatibility"
|
568 |
msgstr ""
|
569 |
|
570 |
-
#: includes/options-general.php:
|
571 |
msgid "Allow Frame Border on IFRAME"
|
572 |
msgstr ""
|
573 |
|
574 |
-
#: includes/options-general.php:
|
575 |
msgid "FRAMEBORDER is not HTML5 compliant"
|
576 |
msgstr ""
|
577 |
|
578 |
-
#: includes/options-general.php:
|
579 |
-
#: includes/options-profiles.php:
|
580 |
msgid "Save Settings"
|
581 |
msgstr ""
|
582 |
|
583 |
-
#: includes/options-lists.php:
|
584 |
msgid "All fields must be completed."
|
585 |
msgstr ""
|
586 |
|
587 |
-
#: includes/options-lists.php:
|
588 |
msgid "Errors were found with your video list. See the list below for details."
|
589 |
msgstr ""
|
590 |
|
591 |
-
#: includes/options-lists.php:
|
592 |
msgid "List"
|
593 |
msgstr ""
|
594 |
|
595 |
-
#: includes/options-lists.php:
|
596 |
msgid "Change list"
|
597 |
msgstr ""
|
598 |
|
599 |
-
#: includes/options-lists.php:
|
600 |
-
|
|
|
601 |
msgstr ""
|
602 |
|
603 |
-
#: includes/options-lists.php:
|
604 |
msgid ""
|
605 |
"Update the name, if required, and specify a list of YouTube video IDs. Use "
|
606 |
"the drop-down on the right hand side to swap between lists."
|
607 |
msgstr ""
|
608 |
|
609 |
-
#: includes/options-lists.php:
|
610 |
msgid "List name"
|
611 |
msgstr ""
|
612 |
|
613 |
-
#: includes/options-lists.php:
|
614 |
msgid "The name you wish to give this list"
|
615 |
msgstr ""
|
616 |
|
617 |
-
#: includes/options-lists.php:
|
618 |
msgid "Video IDs (one per line)"
|
619 |
msgstr ""
|
620 |
|
621 |
-
#: includes/options-lists.php:
|
622 |
msgid "Video ID"
|
623 |
msgstr ""
|
624 |
|
625 |
-
#: includes/options-lists.php:
|
626 |
msgid "Video Title"
|
627 |
msgstr ""
|
628 |
|
629 |
-
#: includes/options-lists.php:
|
630 |
msgid "Status"
|
631 |
msgstr ""
|
632 |
|
633 |
-
#: includes/options-lists.php:
|
634 |
msgid "This is a playlist"
|
635 |
msgstr ""
|
636 |
|
637 |
-
#: includes/options-lists.php:
|
638 |
msgid "Invalid video ID"
|
639 |
msgstr ""
|
640 |
|
641 |
-
#: includes/options-lists.php:
|
642 |
msgid "YouTube API error"
|
643 |
msgstr ""
|
644 |
|
645 |
-
#: includes/options-lists.php:
|
646 |
msgid "Valid video"
|
647 |
msgstr ""
|
648 |
|
649 |
-
#: includes/options-lists.php:
|
650 |
msgid "The video ID is valid"
|
651 |
msgstr ""
|
652 |
|
653 |
-
#: includes/options-lists.php:
|
654 |
msgid "The video ID is invalid"
|
655 |
msgstr ""
|
656 |
|
657 |
-
#: includes/options-profiles.php:
|
658 |
msgid " Profile Saved."
|
659 |
msgstr ""
|
660 |
|
661 |
-
#: includes/options-profiles.php:
|
662 |
msgid "Change profile"
|
663 |
msgstr ""
|
664 |
|
665 |
-
#: includes/options-profiles.php:
|
666 |
msgid "These are the options for the default profile."
|
667 |
msgstr ""
|
668 |
|
669 |
-
#: includes/options-profiles.php:
|
670 |
#, php-format
|
671 |
msgid "These are the options for profile %s."
|
672 |
msgstr ""
|
673 |
|
674 |
-
#: includes/options-profiles.php:
|
675 |
msgid "Use the drop-down on the right hand side to swap between profiles."
|
676 |
msgstr ""
|
677 |
|
678 |
-
#: includes/options-profiles.php:
|
679 |
msgid "Profile name"
|
680 |
msgstr ""
|
681 |
|
682 |
-
#: includes/options-profiles.php:
|
683 |
msgid "The name you wish to give this profile"
|
684 |
msgstr ""
|
685 |
|
686 |
-
#: includes/options-profiles.php:
|
687 |
msgid "Video Embed Type"
|
688 |
msgstr ""
|
689 |
|
690 |
-
#: includes/options-profiles.php:
|
691 |
msgid "The type of player to use for videos."
|
692 |
msgstr ""
|
693 |
|
694 |
-
#: includes/options-profiles.php:
|
695 |
-
#: includes/options-profiles.php:
|
696 |
msgid "IFRAME"
|
697 |
msgstr ""
|
698 |
|
699 |
-
#: includes/options-profiles.php:
|
700 |
msgid ""
|
701 |
"Uses AS3 Flash player, if Flash is available. Alternatively, uses HTML5 "
|
702 |
"player. This is the current YouTube default."
|
703 |
msgstr ""
|
704 |
|
705 |
-
#: includes/options-profiles.php:
|
706 |
-
#: includes/options-profiles.php:
|
707 |
msgid "OBJECT"
|
708 |
msgstr ""
|
709 |
|
710 |
-
#: includes/options-profiles.php:
|
711 |
msgid "Use the AS3 Flash player."
|
712 |
msgstr ""
|
713 |
|
714 |
-
#: includes/options-profiles.php:
|
715 |
msgid "Chromeless"
|
716 |
msgstr ""
|
717 |
|
718 |
-
#: includes/options-profiles.php:
|
719 |
msgid ""
|
720 |
-
"Use the <a href=\"http://
|
721 |
-
"
|
722 |
msgstr ""
|
723 |
|
724 |
-
#: includes/options-profiles.php:
|
725 |
#: includes/options-widgets.php:95
|
726 |
msgid "EmbedPlus"
|
727 |
msgstr ""
|
728 |
|
729 |
-
#: includes/options-profiles.php:
|
730 |
msgid ""
|
731 |
-
"Use <a href=\"http://
|
732 |
"\">EmbedPlus</a>, if Flash is available."
|
733 |
msgstr ""
|
734 |
|
735 |
-
#: includes/options-profiles.php:
|
736 |
msgid "Playlist Embed Type"
|
737 |
msgstr ""
|
738 |
|
739 |
-
#: includes/options-profiles.php:
|
740 |
msgid "The type of player to use when showing playlists."
|
741 |
msgstr ""
|
742 |
|
743 |
-
#: includes/options-profiles.php:157
|
744 |
-
msgid "
|
745 |
msgstr ""
|
746 |
|
747 |
-
#: includes/options-profiles.php:
|
748 |
-
msgid "
|
|
|
|
|
749 |
msgstr ""
|
750 |
|
751 |
-
#: includes/options-profiles.php:162
|
752 |
-
msgid "
|
753 |
msgstr ""
|
754 |
|
755 |
-
#: includes/options-profiles.php:
|
756 |
-
msgid "
|
757 |
msgstr ""
|
758 |
|
759 |
#: includes/options-profiles.php:167
|
760 |
-
msgid ""
|
761 |
-
"Show <a href=\"http://www.vixy.net\">Vixy.net</a> links under a video, "
|
762 |
-
"allowing user to download video or MP3"
|
763 |
-
msgstr ""
|
764 |
-
|
765 |
-
#: includes/options-profiles.php:171
|
766 |
-
msgid "Bar Style"
|
767 |
msgstr ""
|
768 |
|
769 |
-
#: includes/options-profiles.php:
|
770 |
-
msgid "
|
771 |
msgstr ""
|
772 |
|
773 |
-
#: includes/options-profiles.php:
|
774 |
-
msgid ""
|
775 |
-
"If a ShareASale affiliate ID is specified in the <a href=\"admin.php?"
|
776 |
-
"page=general-options\">Options screen</a> then an additional, sponsored link "
|
777 |
-
"will be added under the video, which could earn you 30% revenue for any "
|
778 |
-
"sales."
|
779 |
msgstr ""
|
780 |
|
781 |
-
#: includes/options-profiles.php:
|
782 |
-
msgid "
|
783 |
msgstr ""
|
784 |
|
785 |
-
#: includes/options-profiles.php:
|
786 |
-
msgid "
|
787 |
msgstr ""
|
788 |
|
789 |
-
#: includes/options-profiles.php:
|
790 |
-
msgid ""
|
791 |
-
"Wrapper for video output. Must include <code>%video%</code> tag to show "
|
792 |
-
"video position"
|
793 |
msgstr ""
|
794 |
|
795 |
-
#: includes/options-profiles.php:
|
796 |
-
msgid "
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: includes/options-profiles.php:
|
800 |
-
msgid "
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: includes/options-profiles.php:
|
804 |
-
msgid "
|
805 |
msgstr ""
|
806 |
|
807 |
-
#: includes/options-profiles.php:
|
808 |
-
|
|
|
809 |
msgstr ""
|
810 |
|
811 |
-
#: includes/options-profiles.php:
|
812 |
-
msgid "
|
813 |
msgstr ""
|
814 |
|
815 |
-
#: includes/options-profiles.php:
|
816 |
-
msgid "
|
817 |
msgstr ""
|
818 |
|
819 |
-
#: includes/options-profiles.php:
|
820 |
-
msgid "
|
821 |
msgstr ""
|
822 |
|
823 |
-
#: includes/options-profiles.php:
|
824 |
-
msgid "
|
825 |
msgstr ""
|
826 |
|
827 |
-
#: includes/options-profiles.php:
|
828 |
-
msgid "
|
829 |
msgstr ""
|
830 |
|
831 |
-
#: includes/options-profiles.php:
|
832 |
-
msgid "
|
833 |
msgstr ""
|
834 |
|
835 |
-
#: includes/options-profiles.php:
|
836 |
-
msgid "
|
837 |
msgstr ""
|
838 |
|
839 |
-
#: includes/options-profiles.php:
|
840 |
-
msgid "
|
841 |
msgstr ""
|
842 |
|
843 |
-
#: includes/options-profiles.php:
|
844 |
-
msgid "
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: includes/options-profiles.php:
|
848 |
-
msgid "
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: includes/options-profiles.php:
|
852 |
-
msgid "
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: includes/options-profiles.php:
|
856 |
-
msgid "
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: includes/options-profiles.php:
|
860 |
-
msgid "
|
861 |
msgstr ""
|
862 |
|
863 |
-
#: includes/options-profiles.php:
|
864 |
-
msgid "
|
865 |
msgstr ""
|
866 |
|
867 |
-
#: includes/options-profiles.php:
|
868 |
msgid "Options Not Supported by EmbedPlus"
|
869 |
msgstr ""
|
870 |
|
871 |
-
#: includes/options-profiles.php:
|
872 |
msgid "Auto hide"
|
873 |
msgstr ""
|
874 |
|
875 |
-
#: includes/options-profiles.php:
|
876 |
msgid "Controls & progress bar remain visible"
|
877 |
msgstr ""
|
878 |
|
879 |
-
#: includes/options-profiles.php:
|
880 |
msgid "Controls & progress bar fade out"
|
881 |
msgstr ""
|
882 |
|
883 |
-
#: includes/options-profiles.php:
|
884 |
msgid "Progress bar fades"
|
885 |
msgstr ""
|
886 |
|
887 |
-
#: includes/options-profiles.php:
|
888 |
msgid "Video controls will automatically hide after a video begins playing"
|
889 |
msgstr ""
|
890 |
|
891 |
-
#: includes/options-profiles.php:
|
892 |
msgid "Controls"
|
893 |
msgstr ""
|
894 |
|
895 |
-
#: includes/options-profiles.php:
|
896 |
msgid "Controls do not display & Flash player loads immediately"
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: includes/options-profiles.php:
|
900 |
msgid "Controls display & Flash player loads immediately"
|
901 |
msgstr ""
|
902 |
|
903 |
-
#: includes/options-profiles.php:
|
904 |
msgid "Controls display & Flash player loads once video starts"
|
905 |
msgstr ""
|
906 |
|
907 |
-
#: includes/options-profiles.php:
|
908 |
msgid ""
|
909 |
"Whether the video player controls will display. For AS3 player it also "
|
910 |
"defines when the Flash player will load"
|
911 |
msgstr ""
|
912 |
|
913 |
-
#: includes/options-profiles.php:
|
914 |
msgid ""
|
915 |
"Use SSL? <a href=\"http://www.google.com/support/youtube/bin/answer.py?"
|
916 |
"answer=171780&expand=UseHTTPS#HTTPS\">Read more</a>"
|
917 |
msgstr ""
|
918 |
|
919 |
-
#: includes/options-profiles.php:
|
920 |
msgid "Loop Video"
|
921 |
msgstr ""
|
922 |
|
923 |
-
#: includes/options-profiles.php:
|
924 |
msgid ""
|
925 |
"Play the initial video again and again. In the case of a playlist, this will "
|
926 |
"play the entire playlist and then start again at the first video"
|
927 |
msgstr ""
|
928 |
|
929 |
-
#: includes/options-profiles.php:
|
930 |
msgid "Information"
|
931 |
msgstr ""
|
932 |
|
933 |
-
#: includes/options-profiles.php:
|
934 |
msgid ""
|
935 |
"Display the video title and uploader before the video starts. If displaying "
|
936 |
"a playlist this will show video thumbnails"
|
937 |
msgstr ""
|
938 |
|
939 |
-
#: includes/options-profiles.php:
|
940 |
msgid "Related Videos"
|
941 |
msgstr ""
|
942 |
|
943 |
-
#: includes/options-profiles.php:
|
944 |
msgid ""
|
945 |
"Load related videos once playback starts. Also toggles the search option."
|
946 |
msgstr ""
|
947 |
|
948 |
-
#: includes/options-profiles.php:
|
949 |
msgid "Theme"
|
950 |
msgstr ""
|
951 |
|
952 |
-
#: includes/options-profiles.php:
|
953 |
msgid "Dark"
|
954 |
msgstr ""
|
955 |
|
956 |
-
#: includes/options-profiles.php:
|
957 |
msgid "Light"
|
958 |
msgstr ""
|
959 |
|
960 |
-
#: includes/options-profiles.php:
|
961 |
msgid "Display player controls within a dark or light control bar"
|
962 |
msgstr ""
|
963 |
|
964 |
-
#: includes/options-profiles.php:
|
965 |
msgid "Progress Bar Color"
|
966 |
msgstr ""
|
967 |
|
968 |
-
#: includes/options-profiles.php:
|
969 |
msgid "Red"
|
970 |
msgstr ""
|
971 |
|
972 |
-
#: includes/options-profiles.php:
|
973 |
msgid "White (desaturated)"
|
974 |
msgstr ""
|
975 |
|
976 |
-
#: includes/options-profiles.php:
|
977 |
msgid ""
|
978 |
"The color that will be used in the player's video progress bar to highlight "
|
979 |
"the amount of the video that's already been seen"
|
980 |
msgstr ""
|
981 |
|
982 |
-
#: includes/options-profiles.php:
|
983 |
msgid "Modest Branding"
|
984 |
msgstr ""
|
985 |
|
986 |
-
#: includes/options-profiles.php:
|
987 |
msgid "Reduce branding on video."
|
988 |
msgstr ""
|
989 |
|
990 |
-
#: includes/options-profiles.php:
|
991 |
msgid "Options for AS3 Player"
|
992 |
msgstr ""
|
993 |
|
994 |
-
#: includes/options-profiles.php:
|
995 |
msgid ""
|
996 |
"The following options are not supported if using EmbedPlus or if the IFRAME "
|
997 |
"player uses HTML5."
|
998 |
msgstr ""
|
999 |
|
1000 |
-
#: includes/options-profiles.php:
|
1001 |
msgid "Annotations"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
-
#: includes/options-profiles.php:
|
1005 |
msgid "Video annotations are shown by default"
|
1006 |
msgstr ""
|
1007 |
|
1008 |
-
#: includes/options-profiles.php:
|
1009 |
msgid "Closed Captions"
|
1010 |
msgstr ""
|
1011 |
|
1012 |
-
#: includes/options-profiles.php:
|
1013 |
msgid ""
|
1014 |
"Show closed captions (subtitles) by default, even if the user has turned "
|
1015 |
"captions off"
|
1016 |
msgstr ""
|
1017 |
|
1018 |
-
#: includes/options-profiles.php:
|
1019 |
msgid "Disable Keyboard"
|
1020 |
msgstr ""
|
1021 |
|
1022 |
-
#: includes/options-profiles.php:
|
1023 |
msgid "Disable the player keyboard controls"
|
1024 |
msgstr ""
|
1025 |
|
1026 |
-
#: includes/options-profiles.php:
|
1027 |
msgid "Fullscreen"
|
1028 |
msgstr ""
|
1029 |
|
1030 |
-
#: includes/options-profiles.php:
|
1031 |
msgid "A button will allow the viewer to watch the video fullscreen"
|
1032 |
msgstr ""
|
1033 |
|
1034 |
-
#: includes/options-profiles.php:
|
1035 |
msgid "Link to YouTube"
|
1036 |
msgstr ""
|
1037 |
|
1038 |
-
#: includes/options-profiles.php:
|
1039 |
msgid "Video links back to YouTube when clicked"
|
1040 |
msgstr ""
|
1041 |
|
1042 |
-
#: includes/options-profiles.php:
|
1043 |
msgid "Options Not Supported by HTML5 Player"
|
1044 |
msgstr ""
|
1045 |
|
1046 |
-
#: includes/options-profiles.php:
|
1047 |
msgid "Window Mode"
|
1048 |
msgstr ""
|
1049 |
|
1050 |
-
#: includes/options-profiles.php:
|
1051 |
msgid "Opaque"
|
1052 |
msgstr ""
|
1053 |
|
1054 |
-
#: includes/options-profiles.php:
|
1055 |
msgid "Transparent"
|
1056 |
msgstr ""
|
1057 |
|
1058 |
-
#: includes/options-profiles.php:
|
1059 |
msgid "Window"
|
1060 |
msgstr ""
|
1061 |
|
1062 |
-
#: includes/options-profiles.php:
|
1063 |
msgid ""
|
1064 |
"Sets the Window Mode property of the Flash movie for transparency, layering, "
|
1065 |
"and positioning in the browser. <a href=\"http://www.communitymx.com/content/"
|
1066 |
"article.cfm?cid=e5141\">Learn more</a>."
|
1067 |
msgstr ""
|
1068 |
|
1069 |
-
#: includes/options-profiles.php:
|
1070 |
msgid "Options Only Supported By EmbedPlus"
|
1071 |
msgstr ""
|
1072 |
|
1073 |
-
#: includes/options-profiles.php:
|
1074 |
msgid "Learn more about EmbedPlus"
|
1075 |
msgstr ""
|
1076 |
|
1077 |
-
#: includes/options-profiles.php:
|
1078 |
msgid "Fallback Embed Type"
|
1079 |
msgstr ""
|
1080 |
|
1081 |
-
#: includes/options-profiles.php:
|
1082 |
msgid ""
|
1083 |
"The type of player to use if Flash is not available and EmbedPlus cannot be "
|
1084 |
"used."
|
1085 |
msgstr ""
|
1086 |
|
1087 |
-
#: includes/options-profiles.php:
|
1088 |
msgid "Play HD"
|
1089 |
msgstr ""
|
1090 |
|
1091 |
-
#: includes/options-profiles.php:
|
1092 |
msgid "Play the video in HD if possible"
|
1093 |
msgstr ""
|
1094 |
|
1095 |
-
#: includes/options-profiles.php:
|
1096 |
msgid "Real-time Reactions"
|
1097 |
msgstr ""
|
1098 |
|
1099 |
-
#: includes/options-profiles.php:
|
1100 |
msgid "Show the Real-time Reactions button"
|
1101 |
msgstr ""
|
1102 |
|
1103 |
-
#: includes/options-profiles.php:
|
1104 |
msgid "Sweet Spots"
|
1105 |
msgstr ""
|
1106 |
|
1107 |
-
#: includes/options-profiles.php:
|
1108 |
msgid "Find sweet spots for the next and previous buttons"
|
1109 |
msgstr ""
|
1110 |
|
1111 |
-
#: includes/options-profiles.php:
|
1112 |
msgid "YouTube Video Sample"
|
1113 |
msgstr ""
|
1114 |
|
1115 |
-
#: includes/options-profiles.php:
|
1116 |
msgid ""
|
1117 |
"The video below uses the above, saved profile settings. Use the drop-down "
|
1118 |
"below to change which parameters the video uses - press the Change Video "
|
1119 |
"button to update it."
|
1120 |
msgstr ""
|
1121 |
|
1122 |
-
#: includes/options-profiles.php:
|
1123 |
msgid "Standard"
|
1124 |
msgstr ""
|
1125 |
|
1126 |
-
#: includes/options-profiles.php:
|
1127 |
msgid "3D"
|
1128 |
msgstr ""
|
1129 |
|
1130 |
-
#: includes/options-profiles.php:
|
1131 |
msgid "Playlist"
|
1132 |
msgstr ""
|
1133 |
|
1134 |
-
#: includes/options-profiles.php:
|
1135 |
msgid "Change video"
|
1136 |
msgstr ""
|
1137 |
|
@@ -1219,7 +1189,3 @@ msgstr ""
|
|
1219 |
#, php-format
|
1220 |
msgid "An error occurred accessing the YouTube API for video ID %s - %s"
|
1221 |
msgstr ""
|
1222 |
-
|
1223 |
-
#: includes/shared-functions.php:530
|
1224 |
-
msgid "View on YouTube"
|
1225 |
-
msgstr ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Vixy YouTube Embed\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-03-25 14:50-0000\n"
|
6 |
+
"PO-Revision-Date: 2015-03-25 14:51-0000\n"
|
7 |
"Last-Translator: David Artiss <david.artiss@artiss.co.uk>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: en_GB\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e;_x;"
|
14 |
"_ex;esc_attr_x;esc_html_x;_n;_nx;_n_noop;_nx_noop\n"
|
15 |
"X-Poedit-Basepath: ../\n"
|
16 |
+
"X-Generator: Poedit 1.7.5\n"
|
17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
"X-Poedit-SearchPath-0: .\n"
|
19 |
|
20 |
+
#: includes/add-to-admin-bar.php:35 includes/generate-widgets.php:24
|
|
|
21 |
msgid "YouTube Embed"
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: includes/add-to-admin-bar.php:40 includes/admin-config.php:91
|
25 |
msgid "Options"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: includes/add-to-admin-bar.php:47 includes/admin-config.php:99
|
29 |
msgid "Profiles"
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: includes/add-to-admin-bar.php:54 includes/admin-config.php:107
|
33 |
msgid "Lists"
|
34 |
msgstr ""
|
35 |
|
41 |
msgid "Support"
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: includes/admin-config.php:85
|
45 |
+
msgid "About YouTube Embed"
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: includes/admin-config.php:85
|
49 |
msgid "YouTube"
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: includes/admin-config.php:91 includes/options-general.php:12
|
53 |
+
msgid "YouTube Embed Options"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: includes/admin-config.php:99 includes/options-profiles.php:18
|
57 |
+
msgid "YouTube Embed Profiles"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: includes/admin-config.php:107 includes/options-lists.php:12
|
61 |
+
msgid "YouTube Embed Lists"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: includes/admin-config.php:174 includes/admin-config.php:215
|
65 |
+
#: includes/admin-config.php:257
|
66 |
msgid "Help"
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: includes/admin-config.php:189
|
70 |
msgid ""
|
71 |
+
"This screen allows you to select non-specific options for the YouTube Embed "
|
72 |
+
"plugin. For the default embedding settings, please select the <a href="
|
73 |
"\"admin.php?page=profile-options\">Profiles</a> administration option."
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: includes/admin-config.php:190 includes/admin-config.php:231
|
77 |
+
#: includes/admin-config.php:273
|
78 |
msgid ""
|
79 |
"Remember to click the Save Settings button at the bottom of the screen for "
|
80 |
"new settings to take effect."
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: includes/admin-config.php:191 includes/admin-config.php:232
|
84 |
+
#: includes/admin-config.php:274
|
85 |
msgid "For more information:"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: includes/admin-config.php:192 includes/admin-config.php:233
|
89 |
+
#: includes/admin-config.php:275
|
90 |
+
msgid "YouTube Embed Plugin Documentation"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: includes/admin-config.php:193 includes/admin-config.php:234
|
94 |
+
#: includes/admin-config.php:276
|
95 |
msgid "YouTube Player Documentation"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: includes/admin-config.php:230
|
99 |
msgid ""
|
100 |
"This screen allows you to set the options for the default and additional "
|
101 |
"profiles. If you don't specify a specific parameter when displaying your "
|
104 |
"required."
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: includes/admin-config.php:235
|
108 |
msgid "EmbedPlus website"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: includes/admin-config.php:272
|
112 |
msgid ""
|
113 |
"This screen allows you to create lists of YouTube videos, which may be "
|
114 |
"named. These lists can then be used in preference to a single video ID."
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: includes/admin-config.php:332
|
118 |
+
msgid "Welcome to YouTube Embed"
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: includes/admin-config.php:333
|
122 |
msgid "Thank you for installing this plugin."
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: includes/admin-config.php:334
|
126 |
msgid ""
|
127 |
"These new menu options will allow you to configure your videos to just how "
|
128 |
"you want them and provide links for help and support."
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: includes/admin-config.php:335
|
132 |
msgid ""
|
133 |
"Even if you do nothing else, please visit the Profiles option to check your "
|
134 |
"default video values."
|
135 |
msgstr ""
|
136 |
|
|
|
|
|
|
|
|
|
137 |
#: includes/function-calls.php:164 includes/function-calls.php:226
|
138 |
#: includes/generate-comments-code.php:44
|
139 |
+
#: includes/generate-download-code.php:33 includes/generate-embed-code.php:118
|
140 |
#: includes/generate-shorturl-code.php:34
|
141 |
#: includes/generate-thumbnail-code.php:39
|
142 |
+
#: includes/generate-transcript-code.php:39 includes/shortcodes.php:269
|
143 |
#, php-format
|
144 |
msgid "The YouTube ID of %s is invalid."
|
145 |
msgstr ""
|
157 |
msgid "ago"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: includes/generate-download-code.php:20
|
161 |
msgid "No YouTube ID was found."
|
162 |
msgstr ""
|
163 |
|
165 |
msgid "No video/playlist ID has been supplied"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: includes/generate-embed-code.php:189
|
169 |
msgid ""
|
170 |
"A video list cannot be viewed within this feed - please view the original "
|
171 |
"content"
|
172 |
msgstr ""
|
173 |
|
174 |
+
#: includes/generate-embed-code.php:193
|
175 |
msgid "Click here to view the video on YouTube"
|
176 |
msgstr ""
|
177 |
|
188 |
msgid "Embed YouTube Widget."
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: includes/options-general.php:59 includes/options-lists.php:23
|
192 |
msgid "Settings Saved."
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: includes/options-general.php:83
|
196 |
msgid "Cache cleared."
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: includes/options-general.php:97
|
200 |
msgid ""
|
201 |
+
"These are the general settings for YouTube Embed. Please select <a href="
|
202 |
"\"admin.php?page=profile-options\">Profiles</a> for default embedding "
|
203 |
"settings."
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: includes/options-general.php:101
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
msgid "Embedding"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: includes/options-general.php:105
|
211 |
msgid "Add Metadata"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: includes/options-general.php:106
|
215 |
+
msgid "Allow rich metadata to be added to code."
|
|
|
|
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: includes/options-general.php:110
|
219 |
msgid "Comment Embedding"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: includes/options-general.php:111
|
223 |
msgid "Allow YouTube URLs in comments - will display as embedded videos."
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: includes/options-general.php:115 includes/options-general.php:156
|
227 |
+
#: includes/options-general.php:168 includes/options-general.php:189
|
228 |
msgid "Profile to use"
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: includes/options-general.php:122
|
232 |
msgid "Feed"
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: includes/options-general.php:124
|
236 |
msgid "Text link"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: includes/options-general.php:125
|
240 |
msgid "Thumbnail"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: includes/options-general.php:126
|
244 |
msgid "Thumbnail & Text Link"
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: includes/options-general.php:127
|
248 |
msgid ""
|
249 |
"Videos cannot be embedded in feeds. Select how you wish them to be shown "
|
250 |
"instead"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: includes/options-general.php:131
|
254 |
msgid "Thumbnail to use"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: includes/options-general.php:133 includes/shared-functions.php:481
|
258 |
msgid "Default"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: includes/options-general.php:134
|
262 |
msgid "Default (HQ)"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: includes/options-general.php:135
|
266 |
msgid "Start"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: includes/options-general.php:136
|
270 |
msgid "Middle"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: includes/options-general.php:137
|
274 |
msgid "End"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: includes/options-general.php:138
|
278 |
msgid "Which thumbnail to use"
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: includes/options-general.php:142
|
282 |
msgid "Allow shortcodes in widgets"
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: includes/options-general.php:143
|
286 |
msgid ""
|
287 |
"Allow shortcodes to be used in widgets - this will apply to <strong>all</"
|
288 |
"strong> widgets"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: includes/options-general.php:147
|
292 |
msgid "Alternative Shortcodes"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: includes/options-general.php:147
|
296 |
msgid ""
|
297 |
"Specify up to 2 alternative shortcodes to compliment the standard "
|
298 |
"<code>youtube</code> shortcode. <strong>NB: These should be specified "
|
299 |
"without the surrounding square brackets.</strong>"
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: includes/options-general.php:151
|
303 |
msgid "Alternative Shortcode 1"
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: includes/options-general.php:163
|
307 |
msgid "Alternative Shortcode 2"
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: includes/options-general.php:175
|
311 |
msgid "Migration"
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: includes/options-general.php:175
|
315 |
msgid ""
|
316 |
"Switch on compatibility with other embedding plugins. For more details "
|
317 |
+
"please <a href=\"http://www.artiss.co.uk/youtube-embed-compatibility\">click "
|
318 |
+
"here</a>."
|
319 |
msgstr ""
|
320 |
|
321 |
+
#: includes/options-general.php:179
|
322 |
msgid "Bracket Embedding"
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: includes/options-general.php:180
|
326 |
msgid ""
|
327 |
"Allow embedding using URLs within brackets. Activating impacts performance"
|
328 |
msgstr ""
|
329 |
|
330 |
+
#: includes/options-general.php:184
|
331 |
msgid "Alternative Embedding"
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: includes/options-general.php:185
|
335 |
msgid "Allow all other types of embedding. Activating impacts performance"
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: includes/options-general.php:192
|
339 |
msgid "For above 2 options"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: includes/options-general.php:196
|
343 |
msgid "Admin Options"
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: includes/options-general.php:200
|
347 |
msgid "Show Editor Button"
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: includes/options-general.php:201
|
351 |
msgid "Show the YouTube button on the post editor"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: includes/options-general.php:205
|
355 |
msgid "Editor Button Shortcode"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: includes/options-general.php:206
|
359 |
msgid "Shortcode for editor button to use."
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: includes/options-general.php:210
|
363 |
msgid "Add to Admin Bar"
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: includes/options-general.php:211
|
367 |
msgid "Add link to options screen to Admin Bar"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: includes/options-general.php:215
|
371 |
msgid "Menu Screen Access"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: includes/options-general.php:217
|
375 |
msgid "Administrator"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: includes/options-general.php:218
|
379 |
msgid "Editor"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: includes/options-general.php:219
|
383 |
msgid "Author"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: includes/options-general.php:220
|
387 |
msgid "Contributor"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: includes/options-general.php:221
|
391 |
msgid "Specify the user access required for the menu screens"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: includes/options-general.php:225
|
395 |
msgid "Profile & List Sizes"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: includes/options-general.php:229
|
399 |
msgid "Number of Profiles"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: includes/options-general.php:230
|
403 |
msgid "Maximum number of profiles"
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: includes/options-general.php:234
|
407 |
msgid "Number of Lists"
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: includes/options-general.php:235
|
411 |
msgid "Maximum number of lists"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: includes/options-general.php:239
|
415 |
msgid "Performance"
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: includes/options-general.php:243
|
419 |
msgid "Embed Cache"
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: includes/options-general.php:244
|
423 |
msgid "How many hours to retain embed output. 0 to switch off"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: includes/options-general.php:248
|
427 |
msgid "Video Information Cache"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: includes/options-general.php:249
|
431 |
msgid ""
|
432 |
"How many hours to retain video information, including it's validity. 0 to "
|
433 |
"switch off"
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: includes/options-general.php:253
|
437 |
msgid "Transcript Cache"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: includes/options-general.php:254
|
441 |
msgid "How many hours to store transcripts for in cache. 0 to switch off"
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: includes/options-general.php:258
|
445 |
msgid "Comments Cache"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: includes/options-general.php:259
|
449 |
msgid "How many minutes to store video comments for in cache. 0 to switch off"
|
450 |
msgstr ""
|
451 |
|
452 |
+
#: includes/options-general.php:269
|
453 |
msgid "You currently have cache for"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: includes/options-general.php:269
|
457 |
msgid "and"
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: includes/options-general.php:273
|
461 |
msgid "Clear Cache"
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: includes/options-general.php:274
|
465 |
msgid "Select this option to remove all YouTube Embed cache."
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: includes/options-general.php:277
|
469 |
msgid "YouTube API"
|
470 |
msgstr ""
|
471 |
|
472 |
+
#: includes/options-general.php:279
|
473 |
msgid ""
|
474 |
"The YouTube API is used to validate video IDs and to determine if it is a "
|
475 |
"video or playlist."
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: includes/options-general.php:283
|
479 |
msgid "API State"
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: includes/options-general.php:285
|
483 |
msgid "API should not be used"
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: includes/options-general.php:286
|
487 |
msgid "HTTP API used and errors are reported"
|
488 |
msgstr ""
|
489 |
|
490 |
+
#: includes/options-general.php:287
|
491 |
msgid "HTTPS API used and errors are reported"
|
492 |
msgstr ""
|
493 |
|
494 |
+
#: includes/options-general.php:288
|
495 |
msgid "HTTP API used and no errors are reported"
|
496 |
msgstr ""
|
497 |
|
498 |
+
#: includes/options-general.php:289
|
499 |
msgid "HTTPS API used and no errors are reported"
|
500 |
msgstr ""
|
501 |
|
502 |
+
#: includes/options-general.php:294
|
503 |
msgid "Error Reporting"
|
504 |
msgstr ""
|
505 |
|
506 |
+
#: includes/options-general.php:296
|
507 |
msgid ""
|
508 |
"Playback errors are within the XHTML source code as comments - parameter "
|
509 |
"errors and other types are displayed on the post output."
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: includes/options-general.php:299
|
513 |
msgid "Video Playback Error Message"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: includes/options-general.php:300
|
517 |
msgid "This is the message that will be shown on the post"
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: includes/options-general.php:303
|
521 |
msgid "Security"
|
522 |
msgstr ""
|
523 |
|
524 |
+
#: includes/options-general.php:308
|
525 |
msgid "Privacy-Enhanced Mode"
|
526 |
msgstr ""
|
527 |
|
528 |
+
#: includes/options-general.php:310
|
529 |
msgid "Cookies should always be stored"
|
530 |
msgstr ""
|
531 |
|
532 |
+
#: includes/options-general.php:311
|
533 |
msgid "Cookies should never be stored"
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: includes/options-general.php:312
|
537 |
msgid "Cookies should be stored based on user's Do Not Track setting"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: includes/options-general.php:313
|
541 |
msgid "Read more about <a href=\"http://donottrack.us/\">Do Not Track</a>"
|
542 |
msgstr ""
|
543 |
|
544 |
+
#: includes/options-general.php:316
|
545 |
msgid "Compatibility"
|
546 |
msgstr ""
|
547 |
|
548 |
+
#: includes/options-general.php:319
|
549 |
msgid "Allow Frame Border on IFRAME"
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: includes/options-general.php:320
|
553 |
msgid "FRAMEBORDER is not HTML5 compliant"
|
554 |
msgstr ""
|
555 |
|
556 |
+
#: includes/options-general.php:325 includes/options-lists.php:116
|
557 |
+
#: includes/options-profiles.php:380
|
558 |
msgid "Save Settings"
|
559 |
msgstr ""
|
560 |
|
561 |
+
#: includes/options-lists.php:28
|
562 |
msgid "All fields must be completed."
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: includes/options-lists.php:50
|
566 |
msgid "Errors were found with your video list. See the list below for details."
|
567 |
msgstr ""
|
568 |
|
569 |
+
#: includes/options-lists.php:85
|
570 |
msgid "List"
|
571 |
msgstr ""
|
572 |
|
573 |
+
#: includes/options-lists.php:95
|
574 |
msgid "Change list"
|
575 |
msgstr ""
|
576 |
|
577 |
+
#: includes/options-lists.php:98
|
578 |
+
#, php-format
|
579 |
+
msgid "These are the options for list %s."
|
580 |
msgstr ""
|
581 |
|
582 |
+
#: includes/options-lists.php:98
|
583 |
msgid ""
|
584 |
"Update the name, if required, and specify a list of YouTube video IDs. Use "
|
585 |
"the drop-down on the right hand side to swap between lists."
|
586 |
msgstr ""
|
587 |
|
588 |
+
#: includes/options-lists.php:103
|
589 |
msgid "List name"
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: includes/options-lists.php:105
|
593 |
msgid "The name you wish to give this list"
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: includes/options-lists.php:109
|
597 |
msgid "Video IDs (one per line)"
|
598 |
msgstr ""
|
599 |
|
600 |
+
#: includes/options-lists.php:127 includes/options-widgets.php:19
|
601 |
msgid "Video ID"
|
602 |
msgstr ""
|
603 |
|
604 |
+
#: includes/options-lists.php:127
|
605 |
msgid "Video Title"
|
606 |
msgstr ""
|
607 |
|
608 |
+
#: includes/options-lists.php:127
|
609 |
msgid "Status"
|
610 |
msgstr ""
|
611 |
|
612 |
+
#: includes/options-lists.php:143
|
613 |
msgid "This is a playlist"
|
614 |
msgstr ""
|
615 |
|
616 |
+
#: includes/options-lists.php:147
|
617 |
msgid "Invalid video ID"
|
618 |
msgstr ""
|
619 |
|
620 |
+
#: includes/options-lists.php:151
|
621 |
msgid "YouTube API error"
|
622 |
msgstr ""
|
623 |
|
624 |
+
#: includes/options-lists.php:154
|
625 |
msgid "Valid video"
|
626 |
msgstr ""
|
627 |
|
628 |
+
#: includes/options-lists.php:172
|
629 |
msgid "The video ID is valid"
|
630 |
msgstr ""
|
631 |
|
632 |
+
#: includes/options-lists.php:175
|
633 |
msgid "The video ID is invalid"
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: includes/options-profiles.php:95
|
637 |
msgid " Profile Saved."
|
638 |
msgstr ""
|
639 |
|
640 |
+
#: includes/options-profiles.php:116
|
641 |
msgid "Change profile"
|
642 |
msgstr ""
|
643 |
|
644 |
+
#: includes/options-profiles.php:121
|
645 |
msgid "These are the options for the default profile."
|
646 |
msgstr ""
|
647 |
|
648 |
+
#: includes/options-profiles.php:123
|
649 |
#, php-format
|
650 |
msgid "These are the options for profile %s."
|
651 |
msgstr ""
|
652 |
|
653 |
+
#: includes/options-profiles.php:125
|
654 |
msgid "Use the drop-down on the right hand side to swap between profiles."
|
655 |
msgstr ""
|
656 |
|
657 |
+
#: includes/options-profiles.php:131
|
658 |
msgid "Profile name"
|
659 |
msgstr ""
|
660 |
|
661 |
+
#: includes/options-profiles.php:133
|
662 |
msgid "The name you wish to give this profile"
|
663 |
msgstr ""
|
664 |
|
665 |
+
#: includes/options-profiles.php:137
|
666 |
msgid "Video Embed Type"
|
667 |
msgstr ""
|
668 |
|
669 |
+
#: includes/options-profiles.php:138
|
670 |
msgid "The type of player to use for videos."
|
671 |
msgstr ""
|
672 |
|
673 |
+
#: includes/options-profiles.php:139 includes/options-profiles.php:149
|
674 |
+
#: includes/options-profiles.php:358 includes/options-widgets.php:89
|
675 |
msgid "IFRAME"
|
676 |
msgstr ""
|
677 |
|
678 |
+
#: includes/options-profiles.php:139
|
679 |
msgid ""
|
680 |
"Uses AS3 Flash player, if Flash is available. Alternatively, uses HTML5 "
|
681 |
"player. This is the current YouTube default."
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: includes/options-profiles.php:140 includes/options-profiles.php:150
|
685 |
+
#: includes/options-profiles.php:359 includes/options-widgets.php:91
|
686 |
msgid "OBJECT"
|
687 |
msgstr ""
|
688 |
|
689 |
+
#: includes/options-profiles.php:140
|
690 |
msgid "Use the AS3 Flash player."
|
691 |
msgstr ""
|
692 |
|
693 |
+
#: includes/options-profiles.php:141 includes/options-widgets.php:93
|
694 |
msgid "Chromeless"
|
695 |
msgstr ""
|
696 |
|
697 |
+
#: includes/options-profiles.php:141
|
698 |
msgid ""
|
699 |
+
"Use the <a href=\"http://www.artiss.co.uk/youtube-embed-help#ye-chromeless"
|
700 |
+
"\">Chromeless</a> version of the AS3 Flash Player."
|
701 |
msgstr ""
|
702 |
|
703 |
+
#: includes/options-profiles.php:142 includes/options-profiles.php:392
|
704 |
#: includes/options-widgets.php:95
|
705 |
msgid "EmbedPlus"
|
706 |
msgstr ""
|
707 |
|
708 |
+
#: includes/options-profiles.php:142
|
709 |
msgid ""
|
710 |
+
"Use <a href=\"http://www.artiss.co.uk/youtube-embed-help#ye-embedplus"
|
711 |
"\">EmbedPlus</a>, if Flash is available."
|
712 |
msgstr ""
|
713 |
|
714 |
+
#: includes/options-profiles.php:147
|
715 |
msgid "Playlist Embed Type"
|
716 |
msgstr ""
|
717 |
|
718 |
+
#: includes/options-profiles.php:148
|
719 |
msgid "The type of player to use when showing playlists."
|
720 |
msgstr ""
|
721 |
|
722 |
+
#: includes/options-profiles.php:157 includes/options-widgets.php:49
|
723 |
+
msgid "Template"
|
724 |
msgstr ""
|
725 |
|
726 |
+
#: includes/options-profiles.php:158
|
727 |
+
msgid ""
|
728 |
+
"Wrapper for video output. Must include <code>%video%</code> tag to show "
|
729 |
+
"video position"
|
730 |
msgstr ""
|
731 |
|
732 |
+
#: includes/options-profiles.php:162 includes/options-widgets.php:55
|
733 |
+
msgid "Style"
|
734 |
msgstr ""
|
735 |
|
736 |
+
#: includes/options-profiles.php:163
|
737 |
+
msgid "CSS elements to apply to video"
|
738 |
msgstr ""
|
739 |
|
740 |
#: includes/options-profiles.php:167
|
741 |
+
msgid "Video Quality"
|
|
|
|
|
|
|
|
|
|
|
|
|
742 |
msgstr ""
|
743 |
|
744 |
+
#: includes/options-profiles.php:169
|
745 |
+
msgid "Not set"
|
746 |
msgstr ""
|
747 |
|
748 |
+
#: includes/options-profiles.php:175
|
749 |
+
msgid "Specify the required resolution (if available)."
|
|
|
|
|
|
|
|
|
750 |
msgstr ""
|
751 |
|
752 |
+
#: includes/options-profiles.php:179
|
753 |
+
msgid "Audio Only"
|
754 |
msgstr ""
|
755 |
|
756 |
+
#: includes/options-profiles.php:180
|
757 |
+
msgid "Only show the toolbar for audio only playback"
|
758 |
msgstr ""
|
759 |
|
760 |
+
#: includes/options-profiles.php:184 includes/options-widgets.php:101
|
761 |
+
msgid "Autoplay"
|
|
|
|
|
762 |
msgstr ""
|
763 |
|
764 |
+
#: includes/options-profiles.php:185
|
765 |
+
msgid "The video will start playing when the player loads"
|
766 |
msgstr ""
|
767 |
|
768 |
+
#: includes/options-profiles.php:190
|
769 |
+
msgid "Download Link"
|
770 |
msgstr ""
|
771 |
|
772 |
+
#: includes/options-profiles.php:194
|
773 |
+
msgid "Show Download Link"
|
774 |
msgstr ""
|
775 |
|
776 |
+
#: includes/options-profiles.php:195
|
777 |
+
#, php-format
|
778 |
+
msgid "Show a link to %s under the video"
|
779 |
msgstr ""
|
780 |
|
781 |
+
#: includes/options-profiles.php:199
|
782 |
+
msgid "Download Text"
|
783 |
msgstr ""
|
784 |
|
785 |
+
#: includes/options-profiles.php:200
|
786 |
+
msgid "Text or HTML to display to prompt download"
|
787 |
msgstr ""
|
788 |
|
789 |
+
#: includes/options-profiles.php:204
|
790 |
+
msgid "Download Style"
|
791 |
msgstr ""
|
792 |
|
793 |
+
#: includes/options-profiles.php:205
|
794 |
+
msgid "CSS elements to apply to video download link"
|
795 |
msgstr ""
|
796 |
|
797 |
+
#: includes/options-profiles.php:208
|
798 |
+
msgid "Video Size"
|
799 |
msgstr ""
|
800 |
|
801 |
+
#: includes/options-profiles.php:212
|
802 |
+
msgid "Video size"
|
803 |
msgstr ""
|
804 |
|
805 |
+
#: includes/options-profiles.php:213
|
806 |
+
msgid "The width x height of the video, in pixels"
|
807 |
msgstr ""
|
808 |
|
809 |
+
#: includes/options-profiles.php:217
|
810 |
+
msgid "Default Sizes"
|
811 |
msgstr ""
|
812 |
|
813 |
+
#: includes/options-profiles.php:219
|
814 |
+
msgid "Use above sizes"
|
815 |
msgstr ""
|
816 |
|
817 |
+
#: includes/options-profiles.php:225
|
818 |
+
msgid "Select one of these default sizes to override the above video sizes"
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: includes/options-profiles.php:229 includes/options-widgets.php:73
|
822 |
+
msgid "Dynamically Resize"
|
823 |
msgstr ""
|
824 |
|
825 |
+
#: includes/options-profiles.php:230
|
826 |
+
msgid "Show full width and resize with the browser"
|
827 |
msgstr ""
|
828 |
|
829 |
+
#: includes/options-profiles.php:234
|
830 |
+
msgid "Set Maximum Size"
|
831 |
msgstr ""
|
832 |
|
833 |
+
#: includes/options-profiles.php:235
|
834 |
+
msgid "Use above width to define maximum size"
|
835 |
msgstr ""
|
836 |
|
837 |
+
#: includes/options-profiles.php:240
|
838 |
msgid "Options Not Supported by EmbedPlus"
|
839 |
msgstr ""
|
840 |
|
841 |
+
#: includes/options-profiles.php:245
|
842 |
msgid "Auto hide"
|
843 |
msgstr ""
|
844 |
|
845 |
+
#: includes/options-profiles.php:247
|
846 |
msgid "Controls & progress bar remain visible"
|
847 |
msgstr ""
|
848 |
|
849 |
+
#: includes/options-profiles.php:248
|
850 |
msgid "Controls & progress bar fade out"
|
851 |
msgstr ""
|
852 |
|
853 |
+
#: includes/options-profiles.php:249
|
854 |
msgid "Progress bar fades"
|
855 |
msgstr ""
|
856 |
|
857 |
+
#: includes/options-profiles.php:250
|
858 |
msgid "Video controls will automatically hide after a video begins playing"
|
859 |
msgstr ""
|
860 |
|
861 |
+
#: includes/options-profiles.php:254
|
862 |
msgid "Controls"
|
863 |
msgstr ""
|
864 |
|
865 |
+
#: includes/options-profiles.php:256
|
866 |
msgid "Controls do not display & Flash player loads immediately"
|
867 |
msgstr ""
|
868 |
|
869 |
+
#: includes/options-profiles.php:257
|
870 |
msgid "Controls display & Flash player loads immediately"
|
871 |
msgstr ""
|
872 |
|
873 |
+
#: includes/options-profiles.php:258
|
874 |
msgid "Controls display & Flash player loads once video starts"
|
875 |
msgstr ""
|
876 |
|
877 |
+
#: includes/options-profiles.php:259
|
878 |
msgid ""
|
879 |
"Whether the video player controls will display. For AS3 player it also "
|
880 |
"defines when the Flash player will load"
|
881 |
msgstr ""
|
882 |
|
883 |
+
#: includes/options-profiles.php:264
|
884 |
msgid ""
|
885 |
"Use SSL? <a href=\"http://www.google.com/support/youtube/bin/answer.py?"
|
886 |
"answer=171780&expand=UseHTTPS#HTTPS\">Read more</a>"
|
887 |
msgstr ""
|
888 |
|
889 |
+
#: includes/options-profiles.php:268 includes/options-widgets.php:147
|
890 |
msgid "Loop Video"
|
891 |
msgstr ""
|
892 |
|
893 |
+
#: includes/options-profiles.php:269
|
894 |
msgid ""
|
895 |
"Play the initial video again and again. In the case of a playlist, this will "
|
896 |
"play the entire playlist and then start again at the first video"
|
897 |
msgstr ""
|
898 |
|
899 |
+
#: includes/options-profiles.php:273
|
900 |
msgid "Information"
|
901 |
msgstr ""
|
902 |
|
903 |
+
#: includes/options-profiles.php:274
|
904 |
msgid ""
|
905 |
"Display the video title and uploader before the video starts. If displaying "
|
906 |
"a playlist this will show video thumbnails"
|
907 |
msgstr ""
|
908 |
|
909 |
+
#: includes/options-profiles.php:278
|
910 |
msgid "Related Videos"
|
911 |
msgstr ""
|
912 |
|
913 |
+
#: includes/options-profiles.php:279
|
914 |
msgid ""
|
915 |
"Load related videos once playback starts. Also toggles the search option."
|
916 |
msgstr ""
|
917 |
|
918 |
+
#: includes/options-profiles.php:283
|
919 |
msgid "Theme"
|
920 |
msgstr ""
|
921 |
|
922 |
+
#: includes/options-profiles.php:285
|
923 |
msgid "Dark"
|
924 |
msgstr ""
|
925 |
|
926 |
+
#: includes/options-profiles.php:286
|
927 |
msgid "Light"
|
928 |
msgstr ""
|
929 |
|
930 |
+
#: includes/options-profiles.php:287
|
931 |
msgid "Display player controls within a dark or light control bar"
|
932 |
msgstr ""
|
933 |
|
934 |
+
#: includes/options-profiles.php:291
|
935 |
msgid "Progress Bar Color"
|
936 |
msgstr ""
|
937 |
|
938 |
+
#: includes/options-profiles.php:293
|
939 |
msgid "Red"
|
940 |
msgstr ""
|
941 |
|
942 |
+
#: includes/options-profiles.php:294
|
943 |
msgid "White (desaturated)"
|
944 |
msgstr ""
|
945 |
|
946 |
+
#: includes/options-profiles.php:295
|
947 |
msgid ""
|
948 |
"The color that will be used in the player's video progress bar to highlight "
|
949 |
"the amount of the video that's already been seen"
|
950 |
msgstr ""
|
951 |
|
952 |
+
#: includes/options-profiles.php:299
|
953 |
msgid "Modest Branding"
|
954 |
msgstr ""
|
955 |
|
956 |
+
#: includes/options-profiles.php:300
|
957 |
msgid "Reduce branding on video."
|
958 |
msgstr ""
|
959 |
|
960 |
+
#: includes/options-profiles.php:305
|
961 |
msgid "Options for AS3 Player"
|
962 |
msgstr ""
|
963 |
|
964 |
+
#: includes/options-profiles.php:306
|
965 |
msgid ""
|
966 |
"The following options are not supported if using EmbedPlus or if the IFRAME "
|
967 |
"player uses HTML5."
|
968 |
msgstr ""
|
969 |
|
970 |
+
#: includes/options-profiles.php:310
|
971 |
msgid "Annotations"
|
972 |
msgstr ""
|
973 |
|
974 |
+
#: includes/options-profiles.php:311
|
975 |
msgid "Video annotations are shown by default"
|
976 |
msgstr ""
|
977 |
|
978 |
+
#: includes/options-profiles.php:315
|
979 |
msgid "Closed Captions"
|
980 |
msgstr ""
|
981 |
|
982 |
+
#: includes/options-profiles.php:316
|
983 |
msgid ""
|
984 |
"Show closed captions (subtitles) by default, even if the user has turned "
|
985 |
"captions off"
|
986 |
msgstr ""
|
987 |
|
988 |
+
#: includes/options-profiles.php:320
|
989 |
msgid "Disable Keyboard"
|
990 |
msgstr ""
|
991 |
|
992 |
+
#: includes/options-profiles.php:321
|
993 |
msgid "Disable the player keyboard controls"
|
994 |
msgstr ""
|
995 |
|
996 |
+
#: includes/options-profiles.php:325
|
997 |
msgid "Fullscreen"
|
998 |
msgstr ""
|
999 |
|
1000 |
+
#: includes/options-profiles.php:326
|
1001 |
msgid "A button will allow the viewer to watch the video fullscreen"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
+
#: includes/options-profiles.php:330
|
1005 |
msgid "Link to YouTube"
|
1006 |
msgstr ""
|
1007 |
|
1008 |
+
#: includes/options-profiles.php:331
|
1009 |
msgid "Video links back to YouTube when clicked"
|
1010 |
msgstr ""
|
1011 |
|
1012 |
+
#: includes/options-profiles.php:336
|
1013 |
msgid "Options Not Supported by HTML5 Player"
|
1014 |
msgstr ""
|
1015 |
|
1016 |
+
#: includes/options-profiles.php:340
|
1017 |
msgid "Window Mode"
|
1018 |
msgstr ""
|
1019 |
|
1020 |
+
#: includes/options-profiles.php:342
|
1021 |
msgid "Opaque"
|
1022 |
msgstr ""
|
1023 |
|
1024 |
+
#: includes/options-profiles.php:343
|
1025 |
msgid "Transparent"
|
1026 |
msgstr ""
|
1027 |
|
1028 |
+
#: includes/options-profiles.php:344
|
1029 |
msgid "Window"
|
1030 |
msgstr ""
|
1031 |
|
1032 |
+
#: includes/options-profiles.php:345
|
1033 |
msgid ""
|
1034 |
"Sets the Window Mode property of the Flash movie for transparency, layering, "
|
1035 |
"and positioning in the browser. <a href=\"http://www.communitymx.com/content/"
|
1036 |
"article.cfm?cid=e5141\">Learn more</a>."
|
1037 |
msgstr ""
|
1038 |
|
1039 |
+
#: includes/options-profiles.php:350
|
1040 |
msgid "Options Only Supported By EmbedPlus"
|
1041 |
msgstr ""
|
1042 |
|
1043 |
+
#: includes/options-profiles.php:352
|
1044 |
msgid "Learn more about EmbedPlus"
|
1045 |
msgstr ""
|
1046 |
|
1047 |
+
#: includes/options-profiles.php:356
|
1048 |
msgid "Fallback Embed Type"
|
1049 |
msgstr ""
|
1050 |
|
1051 |
+
#: includes/options-profiles.php:357
|
1052 |
msgid ""
|
1053 |
"The type of player to use if Flash is not available and EmbedPlus cannot be "
|
1054 |
"used."
|
1055 |
msgstr ""
|
1056 |
|
1057 |
+
#: includes/options-profiles.php:363
|
1058 |
msgid "Play HD"
|
1059 |
msgstr ""
|
1060 |
|
1061 |
+
#: includes/options-profiles.php:364
|
1062 |
msgid "Play the video in HD if possible"
|
1063 |
msgstr ""
|
1064 |
|
1065 |
+
#: includes/options-profiles.php:368
|
1066 |
msgid "Real-time Reactions"
|
1067 |
msgstr ""
|
1068 |
|
1069 |
+
#: includes/options-profiles.php:369
|
1070 |
msgid "Show the Real-time Reactions button"
|
1071 |
msgstr ""
|
1072 |
|
1073 |
+
#: includes/options-profiles.php:373
|
1074 |
msgid "Sweet Spots"
|
1075 |
msgstr ""
|
1076 |
|
1077 |
+
#: includes/options-profiles.php:374
|
1078 |
msgid "Find sweet spots for the next and previous buttons"
|
1079 |
msgstr ""
|
1080 |
|
1081 |
+
#: includes/options-profiles.php:388
|
1082 |
msgid "YouTube Video Sample"
|
1083 |
msgstr ""
|
1084 |
|
1085 |
+
#: includes/options-profiles.php:389
|
1086 |
msgid ""
|
1087 |
"The video below uses the above, saved profile settings. Use the drop-down "
|
1088 |
"below to change which parameters the video uses - press the Change Video "
|
1089 |
"button to update it."
|
1090 |
msgstr ""
|
1091 |
|
1092 |
+
#: includes/options-profiles.php:391
|
1093 |
msgid "Standard"
|
1094 |
msgstr ""
|
1095 |
|
1096 |
+
#: includes/options-profiles.php:393
|
1097 |
msgid "3D"
|
1098 |
msgstr ""
|
1099 |
|
1100 |
+
#: includes/options-profiles.php:394
|
1101 |
msgid "Playlist"
|
1102 |
msgstr ""
|
1103 |
|
1104 |
+
#: includes/options-profiles.php:397
|
1105 |
msgid "Change video"
|
1106 |
msgstr ""
|
1107 |
|
1189 |
#, php-format
|
1190 |
msgid "An error occurred accessing the YouTube API for video ID %s - %s"
|
1191 |
msgstr ""
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== YouTube Embed ===
|
2 |
Contributors: dartiss
|
3 |
Donate link: http://artiss.co.uk/donate
|
4 |
-
Tags:
|
5 |
-
Requires at least:
|
6 |
Tested up to: 4.1.1
|
7 |
-
Stable tag: 3.
|
8 |
|
9 |
A simple to use method of embedding YouTube videos into your posts and pages but with powerful features for those that need them.
|
10 |
|
@@ -20,13 +20,15 @@ YouTube Embed is an incredibly simple, yet powerful, method of embedding YouTube
|
|
20 |
* Automatically generate playlists based on user name or search text
|
21 |
* Create multiple profiles - use them for different videos to get the exact style that you want
|
22 |
* Google compatible metadata is added to the video output - great for SEO!
|
23 |
-
* Code is cached for maximum performance
|
24 |
* Using a different YouTube plugin? Documentation and tools are provided to help you migrate to YouTube Embed
|
25 |
* Fully internationalized ready for translations. **If you would like to add a translation to his plugin then please [contact me](http://www.artiss.co.uk/plugin-contact "Contact")**
|
26 |
* Support for Do Not Track
|
27 |
* Compatible with [Video SEO for WordPress](http://yoast.com/wordpress/video-seo/ "Video SEO for WordPress")
|
|
|
28 |
* And much, much more!
|
29 |
|
|
|
|
|
30 |
It has all the features of other similar plugins - Smart YouTube, for instance. In fact if there's a feature in another YouTube embedding plugin that this doesn't have, let me know - I haven't come across it!
|
31 |
|
32 |
To add a video to a post or page simply use the shortcode `[youtube]video[/youtube]`, where `video` is the ID or URL of the video. Alternatively, you can add one (or more) widgets to your sidebar.
|
@@ -136,7 +138,7 @@ A better alternative to playlists is the build-in lists function in YouTube Embe
|
|
136 |
|
137 |
== Video Quality ==
|
138 |
|
139 |
-
A parameter of `vq` can be used against a video to force a specific resolution (rather than the most appropriate being used).
|
140 |
|
141 |
**Note: This option is not officially supported by YouTube so should be considered as experimental**
|
142 |
|
@@ -358,9 +360,9 @@ For problems, suggestions or enhancements for this plugin, please use the [WordP
|
|
358 |
|
359 |
== Installation ==
|
360 |
|
361 |
-
1.
|
362 |
-
2.
|
363 |
-
3.
|
364 |
|
365 |
== Frequently Asked Questions ==
|
366 |
|
@@ -479,6 +481,13 @@ Although I attempt to keep with PHP 4 compatibility there are no guarantees of t
|
|
479 |
|
480 |
== Changelog ==
|
481 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
482 |
= 3.2.1 =
|
483 |
* Bug: Fixed issue where playlist was appearing for single videos
|
484 |
* Maintenance: Improved Metadata standard
|
@@ -754,6 +763,9 @@ Although I attempt to keep with PHP 4 compatibility there are no guarantees of t
|
|
754 |
|
755 |
== Upgrade Notice ==
|
756 |
|
|
|
|
|
|
|
757 |
= 3.2.1 =
|
758 |
* Update to bring metadata up to latest standards and to fix playlist issue
|
759 |
|
1 |
=== YouTube Embed ===
|
2 |
Contributors: dartiss
|
3 |
Donate link: http://artiss.co.uk/donate
|
4 |
+
Tags: annotations, artiss, chromecast, comments, download, embed, embedding, embedplus, flash, flv, hd, iframe, media, play, playlist, profile, responsive, seo, url, video, widget, youtube, youtuber
|
5 |
+
Requires at least: 3.9
|
6 |
Tested up to: 4.1.1
|
7 |
+
Stable tag: 3.3
|
8 |
|
9 |
A simple to use method of embedding YouTube videos into your posts and pages but with powerful features for those that need them.
|
10 |
|
20 |
* Automatically generate playlists based on user name or search text
|
21 |
* Create multiple profiles - use them for different videos to get the exact style that you want
|
22 |
* Google compatible metadata is added to the video output - great for SEO!
|
|
|
23 |
* Using a different YouTube plugin? Documentation and tools are provided to help you migrate to YouTube Embed
|
24 |
* Fully internationalized ready for translations. **If you would like to add a translation to his plugin then please [contact me](http://www.artiss.co.uk/plugin-contact "Contact")**
|
25 |
* Support for Do Not Track
|
26 |
* Compatible with [Video SEO for WordPress](http://yoast.com/wordpress/video-seo/ "Video SEO for WordPress")
|
27 |
+
* Works "out of the box" with 4K, 60FPS and Chromecast - stream your embedded videos to your TV!
|
28 |
* And much, much more!
|
29 |
|
30 |
+
There are no premium features and no adverts - this is 100% complete and free!
|
31 |
+
|
32 |
It has all the features of other similar plugins - Smart YouTube, for instance. In fact if there's a feature in another YouTube embedding plugin that this doesn't have, let me know - I haven't come across it!
|
33 |
|
34 |
To add a video to a post or page simply use the shortcode `[youtube]video[/youtube]`, where `video` is the ID or URL of the video. Alternatively, you can add one (or more) widgets to your sidebar.
|
138 |
|
139 |
== Video Quality ==
|
140 |
|
141 |
+
A parameter of `vq` can be used against a video to force a specific resolution (rather than the most appropriate being used).
|
142 |
|
143 |
**Note: This option is not officially supported by YouTube so should be considered as experimental**
|
144 |
|
360 |
|
361 |
== Installation ==
|
362 |
|
363 |
+
1. Within your WordPress admin screen, select the Plugin -> Add New menu options.
|
364 |
+
2. Search for YouTube Embed in the search box on the right hand side.
|
365 |
+
3. When you find the correct plugin, click on "Install Now".
|
366 |
|
367 |
== Frequently Asked Questions ==
|
368 |
|
481 |
|
482 |
== Changelog ==
|
483 |
|
484 |
+
= 3.3 =
|
485 |
+
* Maintenance: Ding, dong Applian has gone. Removed Vixy branding, updated README and language files to match
|
486 |
+
* Maintenance: Removed those Vixy download links and restored the old method - will enhance this in a future release
|
487 |
+
* Maintenance: Plugin had too much baggage so it could support old versions of WordPress. Why? Updated it to only support more recent versions but have removed lots of un-needed guff as well. The result - this version is 15% slimmer than the previous version. Win!
|
488 |
+
* Maintenance: Spruced up the admin screens to match the new WordPress styling
|
489 |
+
* Bug: Resolved a number of bugs as reported by users and spotted by myself. Thanks all! More fixes to come
|
490 |
+
|
491 |
= 3.2.1 =
|
492 |
* Bug: Fixed issue where playlist was appearing for single videos
|
493 |
* Maintenance: Improved Metadata standard
|
763 |
|
764 |
== Upgrade Notice ==
|
765 |
|
766 |
+
= 3.3 =
|
767 |
+
* Update to fix assorted bugs and to remove the redundant Vixy branding
|
768 |
+
|
769 |
= 3.2.1 =
|
770 |
* Update to bring metadata up to latest standards and to fix playlist issue
|
771 |
|
screenshot-1.png
CHANGED
Binary file
|
screenshot-2.png
CHANGED
Binary file
|
screenshot-3.png
CHANGED
Binary file
|
screenshot-4.png
CHANGED
Binary file
|
screenshot-5.png
CHANGED
Binary file
|
screenshot-6.png
CHANGED
Binary file
|
uninstall.php
CHANGED
File without changes
|
youtube-embed.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
-
Plugin Name:
|
4 |
-
Plugin URI:
|
5 |
Description: Embed YouTube Videos in WordPress
|
6 |
-
Version: 3.
|
7 |
-
Author:
|
8 |
-
Author URI: http://www.
|
9 |
*/
|
10 |
|
11 |
/**
|
@@ -17,7 +17,7 @@ Author URI: http://www.applian.com
|
|
17 |
* @since 2.0
|
18 |
*/
|
19 |
|
20 |
-
define( 'youtube_embed_version', '3.
|
21 |
|
22 |
$functions_dir = WP_PLUGIN_DIR . '/youtube-embed/includes/';
|
23 |
|
@@ -42,8 +42,8 @@ include_once( $functions_dir . 'generate-shorturl-code.php' ); // Generate sho
|
|
42 |
include_once( $functions_dir . 'generate-thumbnail-code.php' ); // Generate thumbnail code
|
43 |
|
44 |
include_once( $functions_dir . 'generate-transcript-code.php' ); // Generate transcripts
|
45 |
-
|
46 |
-
if ( is_admin() ) {
|
47 |
|
48 |
include_once( $functions_dir . 'admin-config.php' ); // Administration configuration
|
49 |
|
@@ -57,7 +57,6 @@ if ( is_admin() ) {
|
|
57 |
|
58 |
include_once( $functions_dir . 'shortcodes.php' ); // Shortcodes
|
59 |
|
60 |
-
include_once( $functions_dir . 'deprecated.php' ); // Deprecated options
|
61 |
}
|
62 |
|
63 |
include_once($functions_dir . 'generate-widgets.php'); // Generate widgets
|
1 |
<?php
|
2 |
/*
|
3 |
+
Plugin Name: YouTube Embed
|
4 |
+
Plugin URI: https://wordpress.org/plugins/youtube-embed/
|
5 |
Description: Embed YouTube Videos in WordPress
|
6 |
+
Version: 3.3
|
7 |
+
Author: David Artiss
|
8 |
+
Author URI: http://www.artiss.co.uk
|
9 |
*/
|
10 |
|
11 |
/**
|
17 |
* @since 2.0
|
18 |
*/
|
19 |
|
20 |
+
define( 'youtube_embed_version', '3.3' );
|
21 |
|
22 |
$functions_dir = WP_PLUGIN_DIR . '/youtube-embed/includes/';
|
23 |
|
42 |
include_once( $functions_dir . 'generate-thumbnail-code.php' ); // Generate thumbnail code
|
43 |
|
44 |
include_once( $functions_dir . 'generate-transcript-code.php' ); // Generate transcripts
|
45 |
+
|
46 |
+
if ( is_admin() && !( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
|
47 |
|
48 |
include_once( $functions_dir . 'admin-config.php' ); // Administration configuration
|
49 |
|
57 |
|
58 |
include_once( $functions_dir . 'shortcodes.php' ); // Shortcodes
|
59 |
|
|
|
60 |
}
|
61 |
|
62 |
include_once($functions_dir . 'generate-widgets.php'); // Generate widgets
|