Version Description
(2015-04-22) = * Fix: Broken layout introduced by missing responsive for embedded playlist, iframe and iframe2 * Fix: Replace amp's with HTML entity in thumbnail link * Add: Option to disable thumbnail tooltips (shortcode parameter no_thumb_title) * Add: List of Shortcode attributes to README file * Add: Danis localisation by GSAdev v. Georg Adamsen * Micro optimizations
Download this release
Release Info
Developer | urkekg |
Plugin | YouTube Channel |
Version | 2.4.2 |
Comparing to | |
See all releases |
Code changes from version 2.4.1.7 to 2.4.2
- assets/css/youtube-channel.css +4 -5
- assets/css/youtube-channel.min.css +1 -1
- inc/settings_usage_shortcode.php +2 -0
- inc/widget.php +7 -4
- languages/youtube-channel-da_DK.mo +0 -0
- languages/youtube-channel-da_DK.po +879 -0
- readme.txt +85 -3
- youtube-channel.php +78 -32
assets/css/youtube-channel.css
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
|
2 |
.youtube_channel {
|
3 |
float: left;
|
4 |
clear: both;
|
@@ -75,22 +74,22 @@ padding-bottom: 75%;
|
|
75 |
}
|
76 |
|
77 |
/* responsive iframe */
|
78 |
-
.youtube_channel.responsive .ytc_video_container.ar16_9 {
|
79 |
position: relative;
|
80 |
padding-bottom: 56.25%; /* 16:9 */
|
81 |
height: 0;
|
82 |
}
|
83 |
-
.youtube_channel.responsive .ytc_video_container.ar16_10 {
|
84 |
position: relative;
|
85 |
padding-bottom: 62.5%; /* 16:10 */
|
86 |
height: 0;
|
87 |
}
|
88 |
-
.youtube_channel.responsive .ytc_video_container.ar4_3 {
|
89 |
position: relative;
|
90 |
padding-bottom: 75%; /* 4:3; */
|
91 |
height: 0;
|
92 |
}
|
93 |
-
.youtube_channel.responsive .ytc_video_container iframe {
|
94 |
position: absolute;
|
95 |
top: 0;
|
96 |
left: 0;
|
|
|
1 |
.youtube_channel {
|
2 |
float: left;
|
3 |
clear: both;
|
74 |
}
|
75 |
|
76 |
/* responsive iframe */
|
77 |
+
.youtube_channel.responsive .ytc_video_container.ar16_9 .fluid-width-video-wrapper {
|
78 |
position: relative;
|
79 |
padding-bottom: 56.25%; /* 16:9 */
|
80 |
height: 0;
|
81 |
}
|
82 |
+
.youtube_channel.responsive .ytc_video_container.ar16_10 .fluid-width-video-wrapper {
|
83 |
position: relative;
|
84 |
padding-bottom: 62.5%; /* 16:10 */
|
85 |
height: 0;
|
86 |
}
|
87 |
+
.youtube_channel.responsive .ytc_video_container.ar4_3 .fluid-width-video-wrapper {
|
88 |
position: relative;
|
89 |
padding-bottom: 75%; /* 4:3; */
|
90 |
height: 0;
|
91 |
}
|
92 |
+
.youtube_channel.responsive .ytc_video_container .fluid-width-video-wrapper iframe {
|
93 |
position: absolute;
|
94 |
top: 0;
|
95 |
left: 0;
|
assets/css/youtube-channel.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.ytc_thumb>span,.ytc_thumb>span:before{background-position:center center;background-repeat:no-repeat}.ytc_thumb,.ytc_thumb>span,.ytc_thumb>span:before{width:100%;display:block}.youtube_channel{float:left;clear:both}.youtube_channel.responsive{width:100%}.widget_youtube-channel:after,.youtube_channel:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.youtube_channel .ytc_video_container{float:left}.youtube_channel.responsive .ytc_video_container{width:100%!important}.ytc_thumb{overflow:hidden;position:relative;height:0;top:0;right:0;bottom:0;left:0}.ytc_thumb>span{height:0;-webkit-background-size:cover;background-size:cover}.ytc_thumb>span:before{content:"";height:0;background-image:url(../img/play.png);background-color:transparent;opacity:.6;transition:.4s}.ytc_thumb:hover>span:before{opacity:1}.ytc_thumb.ar16_9,.ytc_thumb.ar16_9>span,.ytc_thumb.ar16_9>span:before{padding-bottom:56.26%}.ytc_thumb.ar16_10,.ytc_thumb.ar16_10>span,.ytc_thumb.ar16_10>span:before{padding-bottom:62.5%}.ytc_thumb.ar4_3,.ytc_thumb.ar4_3>span,.ytc_thumb.ar4_3>span:before{padding-bottom:75%}.youtube_channel.responsive .ytc_video_container.ar16_9{position:relative;padding-bottom:56.25%;height:0}.youtube_channel.responsive .ytc_video_container.ar16_10{position:relative;padding-bottom:62.5%;height:0}.youtube_channel.responsive .ytc_video_container.ar4_3{position:relative;padding-bottom:75%;height:0}.youtube_channel.responsive .ytc_video_container iframe{position:absolute;top:0;left:0;width:100%;height:100%}
|
1 |
+
.ytc_thumb>span,.ytc_thumb>span:before{background-position:center center;background-repeat:no-repeat}.ytc_thumb,.ytc_thumb>span,.ytc_thumb>span:before{width:100%;display:block}.youtube_channel{float:left;clear:both}.youtube_channel.responsive{width:100%}.widget_youtube-channel:after,.youtube_channel:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.youtube_channel .ytc_video_container{float:left}.youtube_channel.responsive .ytc_video_container{width:100%!important}.ytc_thumb{overflow:hidden;position:relative;height:0;top:0;right:0;bottom:0;left:0}.ytc_thumb>span{height:0;-webkit-background-size:cover;background-size:cover}.ytc_thumb>span:before{content:"";height:0;background-image:url(../img/play.png);background-color:transparent;opacity:.6;transition:.4s}.ytc_thumb:hover>span:before{opacity:1}.ytc_thumb.ar16_9,.ytc_thumb.ar16_9>span,.ytc_thumb.ar16_9>span:before{padding-bottom:56.26%}.ytc_thumb.ar16_10,.ytc_thumb.ar16_10>span,.ytc_thumb.ar16_10>span:before{padding-bottom:62.5%}.ytc_thumb.ar4_3,.ytc_thumb.ar4_3>span,.ytc_thumb.ar4_3>span:before{padding-bottom:75%}.youtube_channel.responsive .ytc_video_container.ar16_9 .fluid-width-video-wrapper{position:relative;padding-bottom:56.25%;height:0}.youtube_channel.responsive .ytc_video_container.ar16_10 .fluid-width-video-wrapper{position:relative;padding-bottom:62.5%;height:0}.youtube_channel.responsive .ytc_video_container.ar4_3 .fluid-width-video-wrapper{position:relative;padding-bottom:75%;height:0}.youtube_channel.responsive .ytc_video_container .fluid-width-video-wrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%}
|
inc/settings_usage_shortcode.php
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
<p>You also can use shortcode <code>[youtube_channel]</code> with options listed below (all options are optional):</p>
|
2 |
<h3>General Settings</h3>
|
3 |
<ul>
|
|
|
4 |
<li><code>channel</code> <em>(string)</em> ID of preferred YouTube channel. Do not set full URL to channel, but just last part from URL - ID (name)</li>
|
5 |
<li><code>playlist</code> <em>(string)</em> ID of preferred YouTube playlist.</li>
|
6 |
<li><code>res</code> <em>(int)</em> Resource to use for feed:
|
@@ -37,6 +38,7 @@
|
|
37 |
<li>• <code>chromeless</code> Chromeless solution (also not good for Apple devices)</li>
|
38 |
</ul></li>
|
39 |
|
|
|
40 |
<li><code>themelight</code> <em>(bool)</em> By default YouTube have dark play controls theme. By setting this option to <code>1</code> or <code>true</code> you can get light theme in player (HTML5 and Flash)</li>
|
41 |
<li><code>controls</code> <em>(bool)</em> Set this option to <code>1</code> or <code>true</code> to hide playback controls.</li>
|
42 |
<li><code>fix_h</code> <em>(bool)</em> If you did not set to hide player controls, you can set this option to <code>1</code> or <code>true</code> to fix video height taken by controls</li>
|
1 |
<p>You also can use shortcode <code>[youtube_channel]</code> with options listed below (all options are optional):</p>
|
2 |
<h3>General Settings</h3>
|
3 |
<ul>
|
4 |
+
<li><code>class</code> <em>(string)</em> Set custom class if you wish to target special styling for specific YTC block</li>
|
5 |
<li><code>channel</code> <em>(string)</em> ID of preferred YouTube channel. Do not set full URL to channel, but just last part from URL - ID (name)</li>
|
6 |
<li><code>playlist</code> <em>(string)</em> ID of preferred YouTube playlist.</li>
|
7 |
<li><code>res</code> <em>(int)</em> Resource to use for feed:
|
38 |
<li>• <code>chromeless</code> Chromeless solution (also not good for Apple devices)</li>
|
39 |
</ul></li>
|
40 |
|
41 |
+
<li><code>no_thumb_title</code> <em>(bool)</em> By default YouTube thumbnail will have tooltip with info about video title and date of publishing. By setting this option to <code>1</code> or <code>true</code> you can hide tooltip</li>
|
42 |
<li><code>themelight</code> <em>(bool)</em> By default YouTube have dark play controls theme. By setting this option to <code>1</code> or <code>true</code> you can get light theme in player (HTML5 and Flash)</li>
|
43 |
<li><code>controls</code> <em>(bool)</em> Set this option to <code>1</code> or <code>true</code> to hide playback controls.</li>
|
44 |
<li><code>fix_h</code> <em>(bool)</em> If you did not set to hide player controls, you can set this option to <code>1</code> or <code>true</code> to fix video height taken by controls</li>
|
inc/widget.php
CHANGED
@@ -56,6 +56,7 @@ class WPAU_YOUTUBE_CHANNEL_Widget extends WP_Widget {
|
|
56 |
$responsive = (!empty($instance['responsive'])) ? esc_attr($instance['responsive']) : 0;
|
57 |
|
58 |
$to_show = (!empty($instance['to_show'])) ? esc_attr($instance['to_show']) : '';
|
|
|
59 |
$themelight = (!empty($instance['themelight'])) ? esc_attr($instance['themelight']) : '';
|
60 |
$controls = (!empty($instance['controls'])) ? esc_attr($instance['controls']) : '';
|
61 |
$fixyt = (!empty($instance['fixyt'])) ? esc_attr($instance['fixyt']) : '';
|
@@ -78,7 +79,7 @@ class WPAU_YOUTUBE_CHANNEL_Widget extends WP_Widget {
|
|
78 |
$showgoto = (!empty($instance['showgoto'])) ? esc_attr($instance['showgoto']) : '';
|
79 |
$popup_goto = (!empty($instance['popup_goto'])) ? esc_attr($instance['popup_goto']) : '';
|
80 |
$userchan = (!empty($instance['userchan'])) ? esc_attr($instance['userchan']) : '';
|
81 |
-
|
82 |
// Debug YTC
|
83 |
$debugon = (!empty($instance['debugon'])) ? esc_attr($instance['debugon']) : '';
|
84 |
?>
|
@@ -140,7 +141,7 @@ class WPAU_YOUTUBE_CHANNEL_Widget extends WP_Widget {
|
|
140 |
<br />
|
141 |
<input class="checkbox" type="checkbox" <?php checked( (bool) $getrnd, true ); ?> id="<?php echo $this->get_field_id( 'getrnd' ); ?>" name="<?php echo $this->get_field_name( 'getrnd' ); ?>" title="<?php _e('Get random videos of all fetched from channel or playlist', 'youtube-channel'); ?>" /> <label for="<?php echo $this->get_field_id( 'getrnd' ); ?>"><?php _e('Show random video', 'youtube-channel'); ?></label>
|
142 |
</p>
|
143 |
-
|
144 |
<h4><?php _e('Video Settings', 'youtube-channel'); ?></h4>
|
145 |
<p><label for="<?php echo $this->get_field_id('ratio'); ?>"><?php _e('Aspect ratio', 'youtube-channel'); ?>:</label>
|
146 |
<select class="widefat" id="<?php echo $this->get_field_id( 'ratio' ); ?>" name="<?php echo $this->get_field_name( 'ratio' ); ?>">
|
@@ -162,6 +163,7 @@ class WPAU_YOUTUBE_CHANNEL_Widget extends WP_Widget {
|
|
162 |
<option value="iframe2"<?php selected( $to_show, 'iframe2' ); ?>><?php _e('HTML5 (iframe) Async', 'youtube-channel'); ?></option>
|
163 |
<option value="chromeless"<?php selected( $to_show, 'chromeless' ); ?>><?php _e('Chromeless', 'youtube-channel'); ?></option>
|
164 |
</select>
|
|
|
165 |
<input class="checkbox" type="checkbox" <?php checked( (bool) $themelight, true ); ?> id="<?php echo $this->get_field_id( 'themelight' ); ?>" name="<?php echo $this->get_field_name( 'themelight' ); ?>" /> <label for="<?php echo $this->get_field_id( 'themelight' ); ?>"><?php _e('Use light theme (default is dark)', 'youtube-channel'); ?></label><br />
|
166 |
<input class="checkbox" type="checkbox" <?php checked( (bool) $controls, true ); ?> id="<?php echo $this->get_field_id( 'controls' ); ?>" name="<?php echo $this->get_field_name( 'controls' ); ?>" /> <label for="<?php echo $this->get_field_id( 'controls' ); ?>"><?php _e('Hide player controls', 'youtube-channel'); ?></label><br />
|
167 |
<input class="checkbox" type="checkbox" <?php checked( (bool) $fixyt, true ); ?> id="<?php echo $this->get_field_id( 'fixyt' ); ?>" name="<?php echo $this->get_field_name( 'fixyt' ); ?>" /> <label for="<?php echo $this->get_field_id( 'fixyt' ); ?>"><?php _e('Fix height taken by controls', 'youtube-channel'); ?></label><br />
|
@@ -215,11 +217,11 @@ class WPAU_YOUTUBE_CHANNEL_Widget extends WP_Widget {
|
|
215 |
$instance['only_pl'] = (isset($new_instance['only_pl'])) ? $new_instance['only_pl'] : false;
|
216 |
$instance['getrnd'] = (isset($new_instance['getrnd'])) ? $new_instance['getrnd'] : false;
|
217 |
$instance['maxrnd'] = $new_instance['maxrnd'];
|
218 |
-
|
219 |
$instance['goto_txt'] = strip_tags($new_instance['goto_txt']);
|
220 |
$instance['showgoto'] = (isset($new_instance['showgoto'])) ? $new_instance['showgoto'] : false;
|
221 |
$instance['popup_goto'] = $new_instance['popup_goto'];
|
222 |
-
|
223 |
$instance['showtitle'] = (isset($new_instance['showtitle'])) ? $new_instance['showtitle'] : false;
|
224 |
$instance['showvidesc'] = (isset($new_instance['showvidesc'])) ? $new_instance['showvidesc'] : false;
|
225 |
$instance['descappend'] = strip_tags($new_instance['descappend']);
|
@@ -228,6 +230,7 @@ class WPAU_YOUTUBE_CHANNEL_Widget extends WP_Widget {
|
|
228 |
$instance['responsive'] = (isset($new_instance['responsive'])) ? $new_instance['responsive'] : '';
|
229 |
|
230 |
$instance['to_show'] = strip_tags($new_instance['to_show']);
|
|
|
231 |
$instance['autoplay'] = (isset($new_instance['autoplay'])) ? $new_instance['autoplay'] : false;
|
232 |
$instance['autoplay_mute'] = (isset($new_instance['autoplay_mute'])) ? $new_instance['autoplay_mute'] : false;
|
233 |
$instance['norel'] = (isset($new_instance['norel'])) ? $new_instance['norel'] : false;
|
56 |
$responsive = (!empty($instance['responsive'])) ? esc_attr($instance['responsive']) : 0;
|
57 |
|
58 |
$to_show = (!empty($instance['to_show'])) ? esc_attr($instance['to_show']) : '';
|
59 |
+
$no_thumb_title = (!empty($instance['no_thumb_title'])) ? esc_attr($instance['no_thumb_title']) : 0;
|
60 |
$themelight = (!empty($instance['themelight'])) ? esc_attr($instance['themelight']) : '';
|
61 |
$controls = (!empty($instance['controls'])) ? esc_attr($instance['controls']) : '';
|
62 |
$fixyt = (!empty($instance['fixyt'])) ? esc_attr($instance['fixyt']) : '';
|
79 |
$showgoto = (!empty($instance['showgoto'])) ? esc_attr($instance['showgoto']) : '';
|
80 |
$popup_goto = (!empty($instance['popup_goto'])) ? esc_attr($instance['popup_goto']) : '';
|
81 |
$userchan = (!empty($instance['userchan'])) ? esc_attr($instance['userchan']) : '';
|
82 |
+
|
83 |
// Debug YTC
|
84 |
$debugon = (!empty($instance['debugon'])) ? esc_attr($instance['debugon']) : '';
|
85 |
?>
|
141 |
<br />
|
142 |
<input class="checkbox" type="checkbox" <?php checked( (bool) $getrnd, true ); ?> id="<?php echo $this->get_field_id( 'getrnd' ); ?>" name="<?php echo $this->get_field_name( 'getrnd' ); ?>" title="<?php _e('Get random videos of all fetched from channel or playlist', 'youtube-channel'); ?>" /> <label for="<?php echo $this->get_field_id( 'getrnd' ); ?>"><?php _e('Show random video', 'youtube-channel'); ?></label>
|
143 |
</p>
|
144 |
+
|
145 |
<h4><?php _e('Video Settings', 'youtube-channel'); ?></h4>
|
146 |
<p><label for="<?php echo $this->get_field_id('ratio'); ?>"><?php _e('Aspect ratio', 'youtube-channel'); ?>:</label>
|
147 |
<select class="widefat" id="<?php echo $this->get_field_id( 'ratio' ); ?>" name="<?php echo $this->get_field_name( 'ratio' ); ?>">
|
163 |
<option value="iframe2"<?php selected( $to_show, 'iframe2' ); ?>><?php _e('HTML5 (iframe) Async', 'youtube-channel'); ?></option>
|
164 |
<option value="chromeless"<?php selected( $to_show, 'chromeless' ); ?>><?php _e('Chromeless', 'youtube-channel'); ?></option>
|
165 |
</select>
|
166 |
+
<input class="checkbox" type="checkbox" <?php checked( (bool) $no_thumb_title, true ); ?> id="<?php echo $this->get_field_id( 'no_thumb_title' ); ?>" name="<?php echo $this->get_field_name( 'no_thumb_title' ); ?>" /> <label for="<?php echo $this->get_field_id( 'no_thumb_title' ); ?>"><?php _e('Hide thumbnail tooltip', 'youtube-channel'); ?></label><br />
|
167 |
<input class="checkbox" type="checkbox" <?php checked( (bool) $themelight, true ); ?> id="<?php echo $this->get_field_id( 'themelight' ); ?>" name="<?php echo $this->get_field_name( 'themelight' ); ?>" /> <label for="<?php echo $this->get_field_id( 'themelight' ); ?>"><?php _e('Use light theme (default is dark)', 'youtube-channel'); ?></label><br />
|
168 |
<input class="checkbox" type="checkbox" <?php checked( (bool) $controls, true ); ?> id="<?php echo $this->get_field_id( 'controls' ); ?>" name="<?php echo $this->get_field_name( 'controls' ); ?>" /> <label for="<?php echo $this->get_field_id( 'controls' ); ?>"><?php _e('Hide player controls', 'youtube-channel'); ?></label><br />
|
169 |
<input class="checkbox" type="checkbox" <?php checked( (bool) $fixyt, true ); ?> id="<?php echo $this->get_field_id( 'fixyt' ); ?>" name="<?php echo $this->get_field_name( 'fixyt' ); ?>" /> <label for="<?php echo $this->get_field_id( 'fixyt' ); ?>"><?php _e('Fix height taken by controls', 'youtube-channel'); ?></label><br />
|
217 |
$instance['only_pl'] = (isset($new_instance['only_pl'])) ? $new_instance['only_pl'] : false;
|
218 |
$instance['getrnd'] = (isset($new_instance['getrnd'])) ? $new_instance['getrnd'] : false;
|
219 |
$instance['maxrnd'] = $new_instance['maxrnd'];
|
220 |
+
|
221 |
$instance['goto_txt'] = strip_tags($new_instance['goto_txt']);
|
222 |
$instance['showgoto'] = (isset($new_instance['showgoto'])) ? $new_instance['showgoto'] : false;
|
223 |
$instance['popup_goto'] = $new_instance['popup_goto'];
|
224 |
+
|
225 |
$instance['showtitle'] = (isset($new_instance['showtitle'])) ? $new_instance['showtitle'] : false;
|
226 |
$instance['showvidesc'] = (isset($new_instance['showvidesc'])) ? $new_instance['showvidesc'] : false;
|
227 |
$instance['descappend'] = strip_tags($new_instance['descappend']);
|
230 |
$instance['responsive'] = (isset($new_instance['responsive'])) ? $new_instance['responsive'] : '';
|
231 |
|
232 |
$instance['to_show'] = strip_tags($new_instance['to_show']);
|
233 |
+
$instance['no_thumb_title'] = (isset($new_instance['no_thumb_title'])) ? $new_instance['no_thumb_title'] : false;
|
234 |
$instance['autoplay'] = (isset($new_instance['autoplay'])) ? $new_instance['autoplay'] : false;
|
235 |
$instance['autoplay_mute'] = (isset($new_instance['autoplay_mute'])) ? $new_instance['autoplay_mute'] : false;
|
236 |
$instance['norel'] = (isset($new_instance['norel'])) ? $new_instance['norel'] : false;
|
languages/youtube-channel-da_DK.mo
ADDED
Binary file
|
languages/youtube-channel-da_DK.po
ADDED
@@ -0,0 +1,879 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: YouTube Channel 2.4.1.7\n"
|
4 |
+
"POT-Creation-Date: 2015-04-21 18:00+0100\n"
|
5 |
+
"PO-Revision-Date: \n"
|
6 |
+
"Last-Translator: GSAdev v. Georg Adamsen (aka Team Blogos) <i18n@gsadev.dk>\n"
|
7 |
+
"Language-Team: GSAdev (aka TeamBlogos) <i18n@gsadev.dk>\n"
|
8 |
+
"Language: da_DK\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.7.6\n"
|
13 |
+
"X-Poedit-Basepath: d:\\wordpress\\plugins\\youtube-channel\n"
|
14 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
16 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"X-Poedit-SearchPath-0: .\n"
|
18 |
+
"X-Poedit-SearchPath-1: d:\\wordpress\\plugins\\youtube-channel\n"
|
19 |
+
|
20 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:54 inc/config.php:54
|
21 |
+
msgid "General"
|
22 |
+
msgstr "Generelt"
|
23 |
+
|
24 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:60 inc/config.php:60
|
25 |
+
msgid "YouTube Channel ID"
|
26 |
+
msgstr "ID for YouTube-kanal"
|
27 |
+
|
28 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:61 inc/config.php:61
|
29 |
+
msgid "Enter your YouTube channel ID (channel name, not full URL to channel)"
|
30 |
+
msgstr ""
|
31 |
+
"Angiv ID for din YouTube kanal (kanalnavn, ikke hele webadressen for kanal)"
|
32 |
+
|
33 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:67 inc/config.php:67
|
34 |
+
msgid "Default Playlist ID"
|
35 |
+
msgstr "Standard-ID for afspilningsliste"
|
36 |
+
|
37 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:68 inc/config.php:68
|
38 |
+
msgid "Enter default playlist ID (not playlist name)"
|
39 |
+
msgstr "Angiv ID for standardafspilningsliste (ikke navn på afspilningsliste)"
|
40 |
+
|
41 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:74
|
42 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:99 inc/config.php:74
|
43 |
+
#: inc/widget.php:99
|
44 |
+
msgid "Resource to use"
|
45 |
+
msgstr "Ressource, der skal bruges"
|
46 |
+
|
47 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:75 inc/config.php:75
|
48 |
+
msgid "What to use as resource for feeds"
|
49 |
+
msgstr "Hvad skal bruges som ressource for feeds"
|
50 |
+
|
51 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:77
|
52 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:101 inc/config.php:77
|
53 |
+
#: inc/widget.php:101
|
54 |
+
msgid "Channel"
|
55 |
+
msgstr "Kanal"
|
56 |
+
|
57 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:78
|
58 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:102 inc/config.php:78
|
59 |
+
#: inc/widget.php:102
|
60 |
+
msgid "Favorites"
|
61 |
+
msgstr "Favoritter"
|
62 |
+
|
63 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:79
|
64 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:103 inc/config.php:79
|
65 |
+
#: inc/widget.php:103
|
66 |
+
msgid "Playlist"
|
67 |
+
msgstr "Afspilningsliste"
|
68 |
+
|
69 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:86 inc/config.php:86
|
70 |
+
msgid "Embed standard playlist"
|
71 |
+
msgstr "Indlejr standardafspilningsliste"
|
72 |
+
|
73 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:87 inc/config.php:87
|
74 |
+
msgid ""
|
75 |
+
"Enable this option to embed whole playlist instead single video from "
|
76 |
+
"playlist when you chose playlist as resource"
|
77 |
+
msgstr ""
|
78 |
+
"Aktivér denne indstilling for at indlejre hele afspilningslisten i stedet "
|
79 |
+
"for en enkelt video fra afspilningslisten, når du vælger afspilningsliste "
|
80 |
+
"som ressource"
|
81 |
+
|
82 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:93 inc/config.php:93
|
83 |
+
msgid "Cache Timeout"
|
84 |
+
msgstr "Timeout for cache"
|
85 |
+
|
86 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:94 inc/config.php:94
|
87 |
+
msgid "Define caching timeout for YouTube feeds, in seconds"
|
88 |
+
msgstr "Definere cachetimeout for YouTube-feeds, i sekunder"
|
89 |
+
|
90 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:97 inc/config.php:97
|
91 |
+
msgid "Do not chache"
|
92 |
+
msgstr "Cache ikke"
|
93 |
+
|
94 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:98
|
95 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:885
|
96 |
+
#: inc/config.php:98 youtube-channel.php:885
|
97 |
+
msgid "1 minute"
|
98 |
+
msgstr "1 minut"
|
99 |
+
|
100 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:99
|
101 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:886
|
102 |
+
#: inc/config.php:99 youtube-channel.php:886
|
103 |
+
msgid "5 minutes"
|
104 |
+
msgstr "5 minutter"
|
105 |
+
|
106 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:100
|
107 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:887
|
108 |
+
#: inc/config.php:100 youtube-channel.php:887
|
109 |
+
msgid "15 minutes"
|
110 |
+
msgstr "15 minutter"
|
111 |
+
|
112 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:101
|
113 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:888
|
114 |
+
#: inc/config.php:101 youtube-channel.php:888
|
115 |
+
msgid "30 minutes"
|
116 |
+
msgstr "30 minutter"
|
117 |
+
|
118 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:102
|
119 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:891
|
120 |
+
#: inc/config.php:102 youtube-channel.php:891
|
121 |
+
msgid "1 hour"
|
122 |
+
msgstr "1 time"
|
123 |
+
|
124 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:103
|
125 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:892
|
126 |
+
#: inc/config.php:103 youtube-channel.php:892
|
127 |
+
msgid "2 hours"
|
128 |
+
msgstr "2 timer"
|
129 |
+
|
130 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:104
|
131 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:893
|
132 |
+
#: inc/config.php:104 youtube-channel.php:893
|
133 |
+
msgid "5 hours"
|
134 |
+
msgstr "5 timer"
|
135 |
+
|
136 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:105
|
137 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:894
|
138 |
+
#: inc/config.php:105 youtube-channel.php:894
|
139 |
+
msgid "10 hours"
|
140 |
+
msgstr "10 timer"
|
141 |
+
|
142 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:106
|
143 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:895
|
144 |
+
#: inc/config.php:106 youtube-channel.php:895
|
145 |
+
msgid "12 hours"
|
146 |
+
msgstr "12 timer"
|
147 |
+
|
148 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:107
|
149 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:896
|
150 |
+
#: inc/config.php:107 youtube-channel.php:896
|
151 |
+
msgid "18 hours"
|
152 |
+
msgstr "18 timer"
|
153 |
+
|
154 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:108
|
155 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:899
|
156 |
+
#: inc/config.php:108 youtube-channel.php:899
|
157 |
+
msgid "1 day"
|
158 |
+
msgstr "1 dag"
|
159 |
+
|
160 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:109
|
161 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:900
|
162 |
+
#: inc/config.php:109 youtube-channel.php:900
|
163 |
+
msgid "2 days"
|
164 |
+
msgstr "2 dage"
|
165 |
+
|
166 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:110
|
167 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:901
|
168 |
+
#: inc/config.php:110 youtube-channel.php:901
|
169 |
+
msgid "3 days"
|
170 |
+
msgstr "3 dage"
|
171 |
+
|
172 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:111
|
173 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:902
|
174 |
+
#: inc/config.php:111 youtube-channel.php:902
|
175 |
+
msgid "4 days"
|
176 |
+
msgstr "4 dage"
|
177 |
+
|
178 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:112
|
179 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:903
|
180 |
+
#: inc/config.php:112 youtube-channel.php:903
|
181 |
+
msgid "5 days"
|
182 |
+
msgstr "5 dage"
|
183 |
+
|
184 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:113
|
185 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:904
|
186 |
+
#: inc/config.php:113 youtube-channel.php:904
|
187 |
+
msgid "6 days"
|
188 |
+
msgstr "6 dage"
|
189 |
+
|
190 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:114
|
191 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:907
|
192 |
+
#: inc/config.php:114 youtube-channel.php:907
|
193 |
+
msgid "1 week"
|
194 |
+
msgstr "1 uge"
|
195 |
+
|
196 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:115
|
197 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:908
|
198 |
+
#: inc/config.php:115 youtube-channel.php:908
|
199 |
+
msgid "2 weeks"
|
200 |
+
msgstr "2 uger"
|
201 |
+
|
202 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:116
|
203 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:909
|
204 |
+
#: inc/config.php:116 youtube-channel.php:909
|
205 |
+
msgid "3 weeks"
|
206 |
+
msgstr "3 uger"
|
207 |
+
|
208 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:117
|
209 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:910
|
210 |
+
#: inc/config.php:117 youtube-channel.php:910
|
211 |
+
msgid "1 month"
|
212 |
+
msgstr "1 måned"
|
213 |
+
|
214 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:124
|
215 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:132 inc/config.php:124
|
216 |
+
#: inc/widget.php:132
|
217 |
+
msgid "Fetch"
|
218 |
+
msgstr "Hent"
|
219 |
+
|
220 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:125
|
221 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:132 inc/config.php:125
|
222 |
+
#: inc/widget.php:132
|
223 |
+
msgid ""
|
224 |
+
"Number of videos that will be used for random pick (min 2, max 50, default "
|
225 |
+
"25)"
|
226 |
+
msgstr ""
|
227 |
+
"Antallet af videoer, der vælges tilfældigt fra (min. 2, maks. 50, standard "
|
228 |
+
"25)"
|
229 |
+
|
230 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:134
|
231 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:134 inc/config.php:134
|
232 |
+
#: inc/widget.php:134
|
233 |
+
msgid "Show"
|
234 |
+
msgstr "Vis"
|
235 |
+
|
236 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:135
|
237 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:134 inc/config.php:135
|
238 |
+
#: inc/widget.php:134
|
239 |
+
msgid "Number of videos to display"
|
240 |
+
msgstr "Antal videoer at vise"
|
241 |
+
|
242 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:144 inc/config.php:144
|
243 |
+
msgid "Use Enhanced privacy"
|
244 |
+
msgstr "Brug udvidet beskyttelse af personlige oplysninger"
|
245 |
+
|
246 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:145 inc/config.php:145
|
247 |
+
#, php-format
|
248 |
+
msgid ""
|
249 |
+
"Enable this option to protect your visitors <a href=\"%s\" target=\"_blank"
|
250 |
+
"\">privacy</a>."
|
251 |
+
msgstr ""
|
252 |
+
"Aktivér denne indstilling for at beskytte dine besøgendes <a href=\"%s\" "
|
253 |
+
"target=\"_blank\">privatliv</a>."
|
254 |
+
|
255 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:151
|
256 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:139 inc/config.php:151
|
257 |
+
#: inc/widget.php:139
|
258 |
+
msgid "Fix <em>No items</em> error/Respect playlist order"
|
259 |
+
msgstr "Fiks <em>Intet at vise</em>-fejl/Følg afspilningslistens rækkefølge"
|
260 |
+
|
261 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:152
|
262 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:139 inc/config.php:152
|
263 |
+
#: inc/widget.php:139
|
264 |
+
msgid "Enable this option if you get error No Item"
|
265 |
+
msgstr "Aktivere denne indstilling, hvis du får fejlen Intet at se"
|
266 |
+
|
267 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:158
|
268 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:141 inc/config.php:158
|
269 |
+
#: inc/widget.php:141
|
270 |
+
msgid "Show random video"
|
271 |
+
msgstr "Vis tilfældig video"
|
272 |
+
|
273 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:159
|
274 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:141 inc/config.php:159
|
275 |
+
#: inc/widget.php:141
|
276 |
+
msgid "Get random videos of all fetched from channel or playlist"
|
277 |
+
msgstr "Udvælg tilfældige fra alle kanalens eller afspilningslistens videoer"
|
278 |
+
|
279 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:168 inc/config.php:168
|
280 |
+
msgid "Video"
|
281 |
+
msgstr "Video"
|
282 |
+
|
283 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:174 inc/config.php:174
|
284 |
+
msgid "Aspect Ratio"
|
285 |
+
msgstr "billedformat"
|
286 |
+
|
287 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:175 inc/config.php:175
|
288 |
+
msgid "Select aspect ratio for displayed video"
|
289 |
+
msgstr "Vælg skærmformat for viste video"
|
290 |
+
|
291 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:178 inc/config.php:178
|
292 |
+
msgid "16:9"
|
293 |
+
msgstr "16:9"
|
294 |
+
|
295 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:179 inc/config.php:179
|
296 |
+
msgid "16:10"
|
297 |
+
msgstr "16:10"
|
298 |
+
|
299 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:180 inc/config.php:180
|
300 |
+
msgid "4:3"
|
301 |
+
msgstr "4:3"
|
302 |
+
|
303 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:187 inc/config.php:187
|
304 |
+
msgid "Make responsive"
|
305 |
+
msgstr "Gør responsiv"
|
306 |
+
|
307 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:188 inc/config.php:188
|
308 |
+
msgid ""
|
309 |
+
"Enable this option to make all YTC videos responsive. Please note, this "
|
310 |
+
"option will set all videos full width relative to parent container, and "
|
311 |
+
"disable more than one video per row."
|
312 |
+
msgstr ""
|
313 |
+
"Aktivér denne indstilling for at gøre alle YTC-videoer responsive. Bemærk "
|
314 |
+
"venligst, denne indstilling vil sætte alle videoer til fuld bredde i forhold "
|
315 |
+
"til overordnede objektbeholder og deaktivere mere end én video pr. række."
|
316 |
+
|
317 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:194 inc/config.php:194
|
318 |
+
msgid "Video Width"
|
319 |
+
msgstr "Videobredde"
|
320 |
+
|
321 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:195 inc/config.php:195
|
322 |
+
msgid "Set default width for displayed video, in pixels"
|
323 |
+
msgstr "Indstille standardbredde for viste video, i pixels"
|
324 |
+
|
325 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:204
|
326 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:157 inc/config.php:204
|
327 |
+
#: inc/widget.php:157
|
328 |
+
msgid "What to show?"
|
329 |
+
msgstr "Hvad skal vises?"
|
330 |
+
|
331 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:205
|
332 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:346 inc/config.php:205
|
333 |
+
#: inc/config.php:346
|
334 |
+
msgid "Set what will be shown by default"
|
335 |
+
msgstr "Angive, hvad der skal vises som standard"
|
336 |
+
|
337 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:208
|
338 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:159 inc/config.php:208
|
339 |
+
#: inc/widget.php:159
|
340 |
+
msgid "Thumbnail"
|
341 |
+
msgstr "Miniature"
|
342 |
+
|
343 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:209
|
344 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:160 inc/config.php:209
|
345 |
+
#: inc/widget.php:160
|
346 |
+
msgid "Flash (object)"
|
347 |
+
msgstr "Flash (objekt)"
|
348 |
+
|
349 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:210
|
350 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:161 inc/config.php:210
|
351 |
+
#: inc/widget.php:161
|
352 |
+
msgid "HTML5 (iframe)"
|
353 |
+
msgstr "HTML5 (iframe)"
|
354 |
+
|
355 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:211
|
356 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:162 inc/config.php:211
|
357 |
+
#: inc/widget.php:162
|
358 |
+
msgid "HTML5 (iframe) Async"
|
359 |
+
msgstr "HTML5 (iframe) Async"
|
360 |
+
|
361 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:212
|
362 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:163 inc/config.php:212
|
363 |
+
#: inc/widget.php:163
|
364 |
+
msgid "Chromeless"
|
365 |
+
msgstr ""
|
366 |
+
|
367 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:219 inc/config.php:219
|
368 |
+
msgid "Use light theme"
|
369 |
+
msgstr "Brug lyst tema"
|
370 |
+
|
371 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:220 inc/config.php:220
|
372 |
+
msgid ""
|
373 |
+
"Enable this option to use light theme for playback controls instead dark"
|
374 |
+
msgstr ""
|
375 |
+
"Aktivér denne indstilling for at bruge lyst tema for afspilningskontroller i "
|
376 |
+
"stedet for mørkt"
|
377 |
+
|
378 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:226
|
379 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:166 inc/config.php:226
|
380 |
+
#: inc/widget.php:166
|
381 |
+
msgid "Hide player controls"
|
382 |
+
msgstr "Skjul spillerkontroller"
|
383 |
+
|
384 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:227 inc/config.php:227
|
385 |
+
msgid "Enable this option to hide playback controls"
|
386 |
+
msgstr "Aktivér denne indstilling for at skjule afspilningskontroller"
|
387 |
+
|
388 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:233 inc/config.php:233
|
389 |
+
msgid "Fix video height"
|
390 |
+
msgstr "Fiks videohøjde"
|
391 |
+
|
392 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:234 inc/config.php:234
|
393 |
+
msgid ""
|
394 |
+
"Enable this option to fix video height when playback controls are not hidden"
|
395 |
+
msgstr ""
|
396 |
+
"Aktivér denne indstilling for at fikse videohøjden, når "
|
397 |
+
"afspilningskontroller ikke er skjult"
|
398 |
+
|
399 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:240
|
400 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:168 inc/config.php:240
|
401 |
+
#: inc/widget.php:168
|
402 |
+
msgid "Autoplay video or playlist"
|
403 |
+
msgstr "Auto-afspil video eller afspilningsliste"
|
404 |
+
|
405 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:241 inc/config.php:241
|
406 |
+
msgid ""
|
407 |
+
"Enable this option to start video playback right after block is rendered"
|
408 |
+
msgstr ""
|
409 |
+
"Aktivér denne indstilling for at starte videoafspilning, så snart videoen er "
|
410 |
+
"renderet"
|
411 |
+
|
412 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:247
|
413 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:169 inc/config.php:247
|
414 |
+
#: inc/widget.php:169
|
415 |
+
msgid "Mute video on autoplay"
|
416 |
+
msgstr "Slå lyden fra ved autoplay"
|
417 |
+
|
418 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:248 inc/config.php:248
|
419 |
+
msgid "Enable this option to mute video when start autoplay"
|
420 |
+
msgstr "Aktivér denne indstilling for at slå lyden fra, når autoplay starter"
|
421 |
+
|
422 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:254
|
423 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:170 inc/config.php:254
|
424 |
+
#: inc/widget.php:170
|
425 |
+
msgid "Hide related videos"
|
426 |
+
msgstr "Skjul relaterede videoer"
|
427 |
+
|
428 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:255 inc/config.php:255
|
429 |
+
msgid "Enable this option to hide related videos after finished playback"
|
430 |
+
msgstr ""
|
431 |
+
"Aktivér denne indstilling for at skjule relaterede videoer efter afspilning "
|
432 |
+
"af videoen"
|
433 |
+
|
434 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:261 inc/config.php:261
|
435 |
+
msgid "Hide YT Logo"
|
436 |
+
msgstr "Skjul YT-logo"
|
437 |
+
|
438 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:262 inc/config.php:262
|
439 |
+
msgid ""
|
440 |
+
"Enable this option to hide YouTube logo from playback control bar. Does not "
|
441 |
+
"work for all videos."
|
442 |
+
msgstr ""
|
443 |
+
"Aktivér denne indstilling for at skjule YouTube-logo fra "
|
444 |
+
"afspilningskontrolbjælken. Virker ikke for alle videoer."
|
445 |
+
|
446 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:271 inc/config.php:271
|
447 |
+
msgid "Content"
|
448 |
+
msgstr "Indhold"
|
449 |
+
|
450 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:277
|
451 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:176 inc/config.php:277
|
452 |
+
#: inc/widget.php:176
|
453 |
+
msgid "Show video title"
|
454 |
+
msgstr "Vis videotitel"
|
455 |
+
|
456 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:278 inc/config.php:278
|
457 |
+
msgid "Enable this option to display title of video"
|
458 |
+
msgstr "Aktivér denne indstilling for at vise videoens titel"
|
459 |
+
|
460 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:284
|
461 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:177 inc/config.php:284
|
462 |
+
#: inc/widget.php:177
|
463 |
+
msgid "Show video description"
|
464 |
+
msgstr "Vis videobeskrivelse"
|
465 |
+
|
466 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:285 inc/config.php:285
|
467 |
+
msgid "Enable this option to display description for video"
|
468 |
+
msgstr "Aktivér denne indstilling at vise beskrivelse af video"
|
469 |
+
|
470 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:291
|
471 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:178 inc/config.php:291
|
472 |
+
#: inc/widget.php:178
|
473 |
+
msgid "Description length"
|
474 |
+
msgstr "Beskrivelse længde"
|
475 |
+
|
476 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:292 inc/config.php:292
|
477 |
+
msgid "Enter length for video description in characters (0 for full length)"
|
478 |
+
msgstr "Indtast længde for videobeskrivelse i tegn (0 for fuld længde)"
|
479 |
+
|
480 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:301
|
481 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:179 inc/config.php:301
|
482 |
+
#: inc/widget.php:179
|
483 |
+
msgid "Et cetera string"
|
484 |
+
msgstr "Tegn for \"osv.\""
|
485 |
+
|
486 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:302 inc/config.php:302
|
487 |
+
msgid "Indicator for shortened video description (default: …)"
|
488 |
+
msgstr "Indikator for forkortet videobeskrivelse (standard: …)"
|
489 |
+
|
490 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:303 inc/config.php:303
|
491 |
+
msgid "..."
|
492 |
+
msgstr "…"
|
493 |
+
|
494 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:308
|
495 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:180 inc/config.php:308
|
496 |
+
#: inc/widget.php:180
|
497 |
+
msgid "Hide annotations from video"
|
498 |
+
msgstr "Skjul anmærkninger på video"
|
499 |
+
|
500 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:309 inc/config.php:309
|
501 |
+
msgid ""
|
502 |
+
"Enable this option to hide video annotations (custom text set by uploader "
|
503 |
+
"over video during playback)"
|
504 |
+
msgstr ""
|
505 |
+
"Aktivér denne indstilling for at skjule videoanmærkninger (brugerdefineret "
|
506 |
+
"tekst sat af uploader over videoen under afspilning)"
|
507 |
+
|
508 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:315
|
509 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:181 inc/config.php:315
|
510 |
+
#: inc/widget.php:181
|
511 |
+
msgid "Hide video info"
|
512 |
+
msgstr "Skjul videoinfo"
|
513 |
+
|
514 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:316 inc/config.php:316
|
515 |
+
msgid ""
|
516 |
+
"Enable this option to hide informations about video before play start (video "
|
517 |
+
"title and uploader in overlay)"
|
518 |
+
msgstr ""
|
519 |
+
"Aktivér denne indstilling for at skjule informationer om video før start "
|
520 |
+
"(videotitel og uploader i overlay)"
|
521 |
+
|
522 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:325
|
523 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:184 inc/config.php:325
|
524 |
+
#: inc/widget.php:184
|
525 |
+
msgid "Link to Channel"
|
526 |
+
msgstr "Link til kanal"
|
527 |
+
|
528 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:331
|
529 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:186 inc/config.php:331
|
530 |
+
#: inc/widget.php:186
|
531 |
+
msgid "Visit YouTube Channel text"
|
532 |
+
msgstr "Tekst for Besøg YouTube-kanal"
|
533 |
+
|
534 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:332 inc/config.php:332
|
535 |
+
msgid "Use placeholder %channel% to insert channel name"
|
536 |
+
msgstr "Brug pladsholderen %channel% til at indsætte kanalnavn"
|
537 |
+
|
538 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:333 inc/config.php:333
|
539 |
+
msgid "Visit my channel %channel%"
|
540 |
+
msgstr "Besøg min kanal %channel%"
|
541 |
+
|
542 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:338
|
543 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:187 inc/config.php:338
|
544 |
+
#: inc/widget.php:187
|
545 |
+
msgid "Show link to channel"
|
546 |
+
msgstr "Vis link til kanal"
|
547 |
+
|
548 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:339 inc/config.php:339
|
549 |
+
msgid ""
|
550 |
+
"Enable this option to show customized link to channel at the bottom of YTC "
|
551 |
+
"block"
|
552 |
+
msgstr ""
|
553 |
+
"Aktivér denne indstilling for at vise tilpassede link til kanal i bunden af "
|
554 |
+
"YTC-blok"
|
555 |
+
|
556 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:345 inc/config.php:345
|
557 |
+
msgid "Open YouTube channel page"
|
558 |
+
msgstr "Åbn YouTube-kanalside"
|
559 |
+
|
560 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:349
|
561 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:190 inc/config.php:349
|
562 |
+
#: inc/widget.php:190
|
563 |
+
msgid "in same window"
|
564 |
+
msgstr "i samme vindue"
|
565 |
+
|
566 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:350
|
567 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:191 inc/config.php:350
|
568 |
+
#: inc/widget.php:191
|
569 |
+
msgid "in new window (JavaScript)"
|
570 |
+
msgstr "i nyt vindue (JavaScript)"
|
571 |
+
|
572 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:351
|
573 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:192 inc/config.php:351
|
574 |
+
#: inc/widget.php:192
|
575 |
+
msgid "in new window (Target)"
|
576 |
+
msgstr "i nyt vindue (Target)"
|
577 |
+
|
578 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:358
|
579 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:195 inc/config.php:358
|
580 |
+
#: inc/widget.php:195
|
581 |
+
msgid "Link to channel instead to user"
|
582 |
+
msgstr "Link til kanal i stedet for til bruger"
|
583 |
+
|
584 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:359 inc/config.php:359
|
585 |
+
msgid ""
|
586 |
+
"Enable this option if link to your channel have <code>/channel/</code> "
|
587 |
+
"instead <code>/user/</code> part in URL"
|
588 |
+
msgstr ""
|
589 |
+
"Aktivér denne indstilling, hvis link til din kanal har <code>/channel/</"
|
590 |
+
"code> i stedet for <code>/user/</code> som en del af URL"
|
591 |
+
|
592 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:368 inc/config.php:368
|
593 |
+
msgid "Tools"
|
594 |
+
msgstr "Værktøjer"
|
595 |
+
|
596 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:385 inc/config.php:385
|
597 |
+
msgid "Usage"
|
598 |
+
msgstr "Brug"
|
599 |
+
|
600 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:406 inc/config.php:406
|
601 |
+
msgid "Support"
|
602 |
+
msgstr "Support"
|
603 |
+
|
604 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:437 inc/config.php:437
|
605 |
+
msgid " Options"
|
606 |
+
msgstr "Indstillinger"
|
607 |
+
|
608 |
+
#: d:\wordpress\plugins\youtube-channel/inc/config.php:511 inc/config.php:511
|
609 |
+
msgid ""
|
610 |
+
"<p>Easy embed playable videos from YouTube.</p><p>Here you can set default "
|
611 |
+
"options that will be used as defaults for new widgets, and for shortcode.</p>"
|
612 |
+
msgstr ""
|
613 |
+
"<p>Indlejr let afspillelige videoer fra YouTube.</p><p>Her kan du angive "
|
614 |
+
"standardindstillinger, som vil blive brugt som standard for nye widgets og "
|
615 |
+
"for kortkoder.</p>"
|
616 |
+
|
617 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:11 inc/widget.php:11
|
618 |
+
msgid "Youtube Channel"
|
619 |
+
msgstr "Youtube-kanal"
|
620 |
+
|
621 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:12 inc/widget.php:12
|
622 |
+
msgid "Serve YouTube videos from channel or playlist right to widget area"
|
623 |
+
msgstr ""
|
624 |
+
"Vis YouTube-videoer fra kanal eller afspilningsliste til højre for "
|
625 |
+
"widgetområdet"
|
626 |
+
|
627 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:87 inc/widget.php:87
|
628 |
+
msgid "Widget Title"
|
629 |
+
msgstr "Widgettitel"
|
630 |
+
|
631 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:87 inc/widget.php:87
|
632 |
+
msgid "Title for widget"
|
633 |
+
msgstr "Titel for widget"
|
634 |
+
|
635 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:90 inc/widget.php:90
|
636 |
+
msgid "Custom CSS Class"
|
637 |
+
msgstr "Brugerdefineret CSS-klasse"
|
638 |
+
|
639 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:90 inc/widget.php:90
|
640 |
+
msgid "Enter custom class for YTC block, if you wish to target block styling"
|
641 |
+
msgstr ""
|
642 |
+
"Angiv brugerdefineret klasse for YTC-blok, hvis du ønsker at målrette blok-"
|
643 |
+
"styling"
|
644 |
+
|
645 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:93 inc/widget.php:93
|
646 |
+
msgid "Channel ID"
|
647 |
+
msgstr "Kanal-ID"
|
648 |
+
|
649 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:93 inc/widget.php:93
|
650 |
+
msgid "YouTube Channel name (not URL to channel)"
|
651 |
+
msgstr "Navn på YouTube-kanal (ikke URL til kanal)"
|
652 |
+
|
653 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:96 inc/widget.php:96
|
654 |
+
msgid "Playlist ID"
|
655 |
+
msgstr "ID for afspilningsliste"
|
656 |
+
|
657 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:96 inc/widget.php:96
|
658 |
+
msgid "YouTube Playlist ID (not playlist name)"
|
659 |
+
msgstr "ID for YouTube-afspilningsliste (ikke navnet)"
|
660 |
+
|
661 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:106 inc/widget.php:106
|
662 |
+
msgid ""
|
663 |
+
"Enable this option to embed YouTube playlist instead single video from "
|
664 |
+
"playlist."
|
665 |
+
msgstr ""
|
666 |
+
"Aktivér denne indstilling for at indlejre YouTube-afspilningsliste i stedet "
|
667 |
+
"for en enkelt video fra afspilningslisten."
|
668 |
+
|
669 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:106 inc/widget.php:106
|
670 |
+
msgid ""
|
671 |
+
"Embed standard playlist<br /><small>(Please note <em>What to show?</em> have "
|
672 |
+
"no effect for embedded playlist)</small>"
|
673 |
+
msgstr ""
|
674 |
+
"Integrér standardafspilningsliste<br><small>(Bemærk <em>Hvad de skal vise?</"
|
675 |
+
"em> har ingen effekt for indlejrede afspilningslister)</small>"
|
676 |
+
|
677 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:125 inc/widget.php:125
|
678 |
+
msgid "Cache feed"
|
679 |
+
msgstr "Cache feed"
|
680 |
+
|
681 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:127 inc/widget.php:127
|
682 |
+
msgid "Do not cache"
|
683 |
+
msgstr "Cache ikke"
|
684 |
+
|
685 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:132
|
686 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:134 inc/widget.php:132
|
687 |
+
#: inc/widget.php:134
|
688 |
+
msgid "video(s)"
|
689 |
+
msgstr "video(er)"
|
690 |
+
|
691 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:137 inc/widget.php:137
|
692 |
+
msgid "Enable this option to protect your visitors privacy"
|
693 |
+
msgstr "Aktivér denne indstilling for at beskytte dine besøgendes privatliv"
|
694 |
+
|
695 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:137 inc/widget.php:137
|
696 |
+
#, php-format
|
697 |
+
msgid "Use <a href=\"%s\" target=\"_blank\">Enhanced Privacy</a>"
|
698 |
+
msgstr ""
|
699 |
+
"Bruge <a href=\"%s\" target=\"_blank\">udvidet beskyttelse af personlige "
|
700 |
+
"oplysninger</a>"
|
701 |
+
|
702 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:144 inc/widget.php:144
|
703 |
+
msgid "Video Settings"
|
704 |
+
msgstr "Videoindstillinger"
|
705 |
+
|
706 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:145 inc/widget.php:145
|
707 |
+
msgid "Aspect ratio"
|
708 |
+
msgstr "Billedformat"
|
709 |
+
|
710 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:151 inc/widget.php:151
|
711 |
+
msgid "Responsive video (distribute one full width video per row)"
|
712 |
+
msgstr "Responsiv video (der vises en video pr. række i fuld bredde)"
|
713 |
+
|
714 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:154 inc/widget.php:154
|
715 |
+
msgid "Width"
|
716 |
+
msgstr "Bredde"
|
717 |
+
|
718 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:154 inc/widget.php:154
|
719 |
+
msgid "Set video width in pixels"
|
720 |
+
msgstr "Indstille videobredde i pixels"
|
721 |
+
|
722 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:154 inc/widget.php:154
|
723 |
+
msgid "default"
|
724 |
+
msgstr "standard"
|
725 |
+
|
726 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:165 inc/widget.php:165
|
727 |
+
msgid "Use light theme (default is dark)"
|
728 |
+
msgstr "Brug lyst tema (standard er mørkt)"
|
729 |
+
|
730 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:167 inc/widget.php:167
|
731 |
+
msgid "Fix height taken by controls"
|
732 |
+
msgstr "Fiks højde brugt af kontroller"
|
733 |
+
|
734 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:171 inc/widget.php:171
|
735 |
+
msgid "Hide YT Logo (does not work for all videos)"
|
736 |
+
msgstr "Skjul YT-logo (virker ikke for alle videoer)"
|
737 |
+
|
738 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:174 inc/widget.php:174
|
739 |
+
msgid "Content Layout"
|
740 |
+
msgstr "Indholdslayout"
|
741 |
+
|
742 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:178 inc/widget.php:178
|
743 |
+
msgid ""
|
744 |
+
"Set number of characters to cut down video description to (0 means full "
|
745 |
+
"length)"
|
746 |
+
msgstr ""
|
747 |
+
"Angiv antallet af tegn, videobeskrivelsen skal begrænses til (0 betyder fuld "
|
748 |
+
"længde)"
|
749 |
+
|
750 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:179 inc/widget.php:179
|
751 |
+
msgid "Default: &hellip;"
|
752 |
+
msgstr "Standard: &hellip;"
|
753 |
+
|
754 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:186 inc/widget.php:186
|
755 |
+
msgid ""
|
756 |
+
"Default: Visit channel %channel%. Use placeholder %channel% to insert "
|
757 |
+
"channel name."
|
758 |
+
msgstr ""
|
759 |
+
"Standard: Besøg kanal %channel%. Brug pladsholderen %channel% til at "
|
760 |
+
"indsætte kanalnavn."
|
761 |
+
|
762 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:198 inc/widget.php:198
|
763 |
+
msgid "Does not work? Contact support!"
|
764 |
+
msgstr "Virker ikke? Kontakt support!"
|
765 |
+
|
766 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:199 inc/widget.php:199
|
767 |
+
msgid "Get JSON file"
|
768 |
+
msgstr "Hent JSON-fil"
|
769 |
+
|
770 |
+
#: d:\wordpress\plugins\youtube-channel/inc/widget.php:199 inc/widget.php:199
|
771 |
+
#, php-format
|
772 |
+
msgid ""
|
773 |
+
"and send it to %s or to <a href=\"%s\" target=\"_support\">support forum</a>."
|
774 |
+
msgstr ""
|
775 |
+
"og send det til %s eller til <a href=\"%s\" target=\"_support"
|
776 |
+
"\">supportforummet</a>."
|
777 |
+
|
778 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:112
|
779 |
+
#: youtube-channel.php:112
|
780 |
+
#, php-format
|
781 |
+
msgid ""
|
782 |
+
"Please review <a href=\"%s\">global settings</a>, YTC widgets and shortcodes."
|
783 |
+
msgstr ""
|
784 |
+
"Tjek venligst <a href=\"%s\">globale indstillinger</a>, YTC-widgets og -"
|
785 |
+
"kortkoder."
|
786 |
+
|
787 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:115
|
788 |
+
#: youtube-channel.php:115
|
789 |
+
#, php-format
|
790 |
+
msgid ""
|
791 |
+
"If you use caching for any YTC widget or shortcode, please <strong>ReCache</"
|
792 |
+
"strong> feeds in <strong>Tools</strong> section of <a href=\"%s\">plugin "
|
793 |
+
"settings</a> page."
|
794 |
+
msgstr ""
|
795 |
+
"Hvis du bruger cache til YTC-widgets eller -kortkoder, bør du "
|
796 |
+
"<strong>ReCache</strong> feeds i <strong>Værktøjer</strong>-sektionen på "
|
797 |
+
"siden <a href=\"%s\">Indstillinger</a>."
|
798 |
+
|
799 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:119
|
800 |
+
#: youtube-channel.php:119
|
801 |
+
#, php-format
|
802 |
+
msgid ""
|
803 |
+
"We switched to <em>Redux Framework</em> so please review global plugin <a "
|
804 |
+
"href=\"%s\">settings page</a>."
|
805 |
+
msgstr ""
|
806 |
+
"Vi er skiftet til <em>Redux Frameworket</em>, så tjek venligst <a href=\"%s"
|
807 |
+
"\">de globale indstillinger</a>."
|
808 |
+
|
809 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:121
|
810 |
+
#: youtube-channel.php:121
|
811 |
+
msgid ""
|
812 |
+
"We switched to <em>Redux Framework</em> so please install and activate "
|
813 |
+
"dependency and then review global YouTube Channel plugin settings."
|
814 |
+
msgstr ""
|
815 |
+
"Vi er skiftet til <em>Redux Frameworket</em>, så du skal installere og "
|
816 |
+
"aktivere dependens og gennemse derefter de globale indstillinger for YouTube "
|
817 |
+
"Channel-pluginnet."
|
818 |
+
|
819 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:127
|
820 |
+
#: youtube-channel.php:127
|
821 |
+
msgid "updated to version"
|
822 |
+
msgstr "opdateret til version"
|
823 |
+
|
824 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:127
|
825 |
+
#: youtube-channel.php:127
|
826 |
+
msgid "I did this already, dismiss notice!"
|
827 |
+
msgstr "Det har jeg allerede. Skjul besked!"
|
828 |
+
|
829 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:134
|
830 |
+
#: youtube-channel.php:134
|
831 |
+
msgid "I got it! Dismiss this notice."
|
832 |
+
msgstr "OK! Skjul denne besked."
|
833 |
+
|
834 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:140
|
835 |
+
#: youtube-channel.php:140
|
836 |
+
msgid "Dismiss this notice"
|
837 |
+
msgstr "Skjul denne besked"
|
838 |
+
|
839 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:141
|
840 |
+
#: youtube-channel.php:141
|
841 |
+
#, php-format
|
842 |
+
msgid ""
|
843 |
+
"To configure global <strong>%s</strong> options, you need to install and "
|
844 |
+
"activate <strong>%s</strong>."
|
845 |
+
msgstr ""
|
846 |
+
"Hvis du vil bruge globale indstillinger for <strong>%s</strong>, skal du "
|
847 |
+
"installere og aktivere <strong>%s</strong>."
|
848 |
+
|
849 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:146
|
850 |
+
#: youtube-channel.php:146
|
851 |
+
msgid "Settings"
|
852 |
+
msgstr "Indstillinger"
|
853 |
+
|
854 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:524
|
855 |
+
#: youtube-channel.php:524
|
856 |
+
msgid "No items"
|
857 |
+
msgstr "Intet at vise"
|
858 |
+
|
859 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:524
|
860 |
+
#: youtube-channel.php:524
|
861 |
+
msgid "Check here why"
|
862 |
+
msgstr "Tjek her hvorfor"
|
863 |
+
|
864 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:589
|
865 |
+
#: youtube-channel.php:589
|
866 |
+
#, php-format
|
867 |
+
msgid "Visit channel %1$s"
|
868 |
+
msgstr "Besøg %1$s-kanalen"
|
869 |
+
|
870 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:596
|
871 |
+
#: youtube-channel.php:596
|
872 |
+
msgid "in new window/tab"
|
873 |
+
msgstr "i nyt vindue/fane"
|
874 |
+
|
875 |
+
#: d:\wordpress\plugins\youtube-channel/youtube-channel.php:696
|
876 |
+
#: youtube-channel.php:696
|
877 |
+
#, php-format
|
878 |
+
msgid "Watch video %1$s published on %2$s"
|
879 |
+
msgstr "Se video %1$s offentliggjort den %2$s"
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: youtube, channel, playlist, single, widget, widgets, youtube player, flash player, rss, feed, video, thumbnail, embed, sidebar, chromeless, iframe, html5, responsive
|
5 |
Requires at least: 3.9.0
|
6 |
Tested up to: 4.2
|
7 |
-
Stable tag: 2.4.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -19,6 +19,7 @@ Simply insert widget to sidebar, set channel name and if you wish leave all othe
|
|
19 |
If you like this extension and you find it useful, please rate it on the right side.
|
20 |
|
21 |
= Features =
|
|
|
22 |
* Display latest videos from YouTube channel, favorites or playlist
|
23 |
* Option to get random video from resources mentioned above
|
24 |
* Responsive (one full width video per row) or non responsive (video wall)
|
@@ -57,9 +58,8 @@ You can use `style.css` from theme to style `YouTube Video` widget content.
|
|
57 |
* Removing YouTube logo from playback control bar does not work for all videos
|
58 |
* Async HTML5 video does not work for 2nd same video on same page (two YTC blocks set to Async HTML5)
|
59 |
* Chromeless video could not be used as responsive player
|
60 |
-
* Thumbnail and opening video in lightbox does not work with `Responz` theme by `Thenify.me` if you wish to hide related videos, because this theme uses original `Magnific Popup` library that does not support `rel` parameter.
|
61 |
|
62 |
-
If WordFence or other malware scan tool detect YouTube Channel
|
63 |
|
64 |
= Credits =
|
65 |
|
@@ -69,6 +69,7 @@ If WordFence or other malware scan tool detect YouTube Channel fule youtube-chan
|
|
69 |
* [Federico Bozo](http://corchoweb.com/) reminded me to fix z-index problem
|
70 |
* Czech localization by [Ladislav Drábek](http://zholesova.cz)
|
71 |
* Spanish localization by [Diego Riaño](http://Digital03.net)
|
|
|
72 |
|
73 |
= How To Use =
|
74 |
**Add New Widget**
|
@@ -77,6 +78,64 @@ If WordFence or other malware scan tool detect YouTube Channel fule youtube-chan
|
|
77 |
**Use Playlist**
|
78 |
[youtube http://www.youtube.com/watch?v=y9zoi_Pk2kY]
|
79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
== Installation ==
|
81 |
|
82 |
You can use the built in installer and upgrader, or you can install the plugin manually.
|
@@ -132,6 +191,13 @@ Modestbranding option does not work for all videos, so a lot of videos will stil
|
|
132 |
Also, even when hidding logo works for your video, on hover or when video is paused in upper right corner will be displayed YouTube link/logo. [Read more here](https://developers.google.com/youtube/player_parameters#modestbranding)
|
133 |
|
134 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
|
136 |
= 2.4.1.7 (2015-04-20) =
|
137 |
* Quick Fix: strip 1st video from feed that provides notice "YouTube is upgrading to a newer version, which is not supported by this device or app." (more on www.youtube.com/devicesupport) until we finish YouTube Channel 3.0.0 (on the way)
|
@@ -337,3 +403,19 @@ Responsive, bug fixes, support for WordPress 4.1
|
|
337 |
2. YouTube Channel customized widget settings
|
338 |
3. YouTube Channel in WP Customizer
|
339 |
4. YouTube Channel preview
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
Tags: youtube, channel, playlist, single, widget, widgets, youtube player, flash player, rss, feed, video, thumbnail, embed, sidebar, chromeless, iframe, html5, responsive
|
5 |
Requires at least: 3.9.0
|
6 |
Tested up to: 4.2
|
7 |
+
Stable tag: 2.4.2
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
19 |
If you like this extension and you find it useful, please rate it on the right side.
|
20 |
|
21 |
= Features =
|
22 |
+
|
23 |
* Display latest videos from YouTube channel, favorites or playlist
|
24 |
* Option to get random video from resources mentioned above
|
25 |
* Responsive (one full width video per row) or non responsive (video wall)
|
58 |
* Removing YouTube logo from playback control bar does not work for all videos
|
59 |
* Async HTML5 video does not work for 2nd same video on same page (two YTC blocks set to Async HTML5)
|
60 |
* Chromeless video could not be used as responsive player
|
|
|
61 |
|
62 |
+
If WordFence or other malware scan tool detect YouTube Channel file youtube-channel.php as potential risk because `base64_encode()` and `base64_decode()` functions, remember that we use this two functions to store and restore JSON feeds to transient cache, so potential detection is false positive.
|
63 |
|
64 |
= Credits =
|
65 |
|
69 |
* [Federico Bozo](http://corchoweb.com/) reminded me to fix z-index problem
|
70 |
* Czech localization by [Ladislav Drábek](http://zholesova.cz)
|
71 |
* Spanish localization by [Diego Riaño](http://Digital03.net)
|
72 |
+
* Danish localisation by [GSAdev v. Georg Adamsen](http://www.gsadev.dk)
|
73 |
|
74 |
= How To Use =
|
75 |
**Add New Widget**
|
78 |
**Use Playlist**
|
79 |
[youtube http://www.youtube.com/watch?v=y9zoi_Pk2kY]
|
80 |
|
81 |
+
= Shortcode =
|
82 |
+
|
83 |
+
Along to Widget, you can add YouTube Channel block inline by using shortcode `[youtube_channel]`. Default plugin parameters will be used for shortcode, but you can customize all parameters per shortcode.
|
84 |
+
|
85 |
+
**General Settings**
|
86 |
+
|
87 |
+
* `class` (string) Set custom class if you wish to target special styling for specific YTC block
|
88 |
+
* `channel` (string) ID of preferred YouTube channel. Do not set full URL to channel, but just last part from URL - ID (name)
|
89 |
+
* `playlist` (string) ID of preferred YouTube playlist.
|
90 |
+
* `res` (int) Resource to use for feed:
|
91 |
+
* `0` Channel
|
92 |
+
* `1` Favorites (for defined channel)
|
93 |
+
* `2` Playlist
|
94 |
+
* `only_pl` (bool) If you set to use Playlist as resource, you can embed youtube playlist block instead single video from playlist. Simply set this option to true (1 or true)
|
95 |
+
* `cache` (int) Period in seconds for caching feed. You can disable caching by setting this option to 0, but if you have a lot of visits, consider at least short caching (couple minutes).
|
96 |
+
* `fetch` (int) Number of videos that will be used as stack for random pick (min 2, max 50)
|
97 |
+
* `num` (int) Number of videos to display per YTC block.
|
98 |
+
* `fix` (bool) Option to fix No Items error, and also to respect order of videos in feed or playlist.
|
99 |
+
* `random` (bool) Option to randomize videos on every page load.
|
100 |
+
|
101 |
+
**Video Settings**
|
102 |
+
|
103 |
+
* `ratio` (int) Set preferred aspect ratio for thumbnail and video. You can use:
|
104 |
+
* `3` 16:9 (widescreen)
|
105 |
+
* `2` 16:10 (computer screen) **deprecated**
|
106 |
+
* `1` 4:3
|
107 |
+
* `responsive` (bool) Distribute one full width video per row.
|
108 |
+
* `width` (int) Width of thumbnail and video in pixels.
|
109 |
+
* `show` (string) Object that will be used to represent video. We have couple predefined options:
|
110 |
+
* `thumbnail` Thumbnail will be used and video will be loaded in lightbox.
|
111 |
+
* `iframe` HTML5 (iframe)
|
112 |
+
* `iframe2` HTML5 (iframe) with asynchronous loading - recommended
|
113 |
+
* `object` Flash object (not so good for Apple devices) **deprecated**
|
114 |
+
* `chromeless` Chromeless solution (also not good for Apple devices) **deprecated**
|
115 |
+
* `no_thumb_title` (bool) By default YouTube thumbnail will have tooltip with info about video title and date of publishing. By setting this option to 1 or true you can hide tooltip
|
116 |
+
* `themelight` (bool) By default YouTube have dark play controls theme. By setting this option to 1 or true you can get light theme in player (HTML5 and Flash)
|
117 |
+
* `controls` (bool) Set this option to 1 or true to hide playback controls.
|
118 |
+
* `fix_h` (bool) If you did not set to hide player controls, you can set this option to 1 or true to fix video height taken by controls
|
119 |
+
* `autoplay` (bool) Enable autoplay of first video in YTC video stack by setting this option to 1 or true
|
120 |
+
* `mute` (bool) Set this option to 1 or true to mute videos set to autoplay on load
|
121 |
+
* `norel` (bool) Set this option to 1 or true to hire related videos after finished playbak
|
122 |
+
* `nobrand` (bool) Set this option to 1 or true to hire YouTube logo from playback control bar
|
123 |
+
|
124 |
+
**Content Layout**
|
125 |
+
|
126 |
+
* `showtitle` (bool)
|
127 |
+
* `showdesc` (bool)
|
128 |
+
* `desclen` (int)
|
129 |
+
* `noinfo` (bool)
|
130 |
+
* `noanno` (bool)
|
131 |
+
|
132 |
+
**Link to Channel**
|
133 |
+
|
134 |
+
* `goto` (bool)
|
135 |
+
* `goto_txt` (string)
|
136 |
+
* `popup` (int)
|
137 |
+
* `userchan` (bool)
|
138 |
+
|
139 |
== Installation ==
|
140 |
|
141 |
You can use the built in installer and upgrader, or you can install the plugin manually.
|
191 |
Also, even when hidding logo works for your video, on hover or when video is paused in upper right corner will be displayed YouTube link/logo. [Read more here](https://developers.google.com/youtube/player_parameters#modestbranding)
|
192 |
|
193 |
== Changelog ==
|
194 |
+
= 2.4.2 (2015-04-22) =
|
195 |
+
* Fix: Broken layout introduced by missing responsive for embedded playlist, iframe and iframe2
|
196 |
+
* Fix: Replace amp's with HTML entity in thumbnail link
|
197 |
+
* Add: Option to disable thumbnail tooltips (shortcode parameter no_thumb_title)
|
198 |
+
* Add: List of Shortcode attributes to README file
|
199 |
+
* Add: Danis localisation by GSAdev v. Georg Adamsen
|
200 |
+
* Micro optimizations
|
201 |
|
202 |
= 2.4.1.7 (2015-04-20) =
|
203 |
* Quick Fix: strip 1st video from feed that provides notice "YouTube is upgrading to a newer version, which is not supported by this device or app." (more on www.youtube.com/devicesupport) until we finish YouTube Channel 3.0.0 (on the way)
|
403 |
2. YouTube Channel customized widget settings
|
404 |
3. YouTube Channel in WP Customizer
|
405 |
4. YouTube Channel preview
|
406 |
+
|
407 |
+
== Other Notes ==
|
408 |
+
|
409 |
+
Version 2.4.2 is latest feature release that will use YouTube API v2 and Redux Framework. We'll release micro releases only with bugfixes.
|
410 |
+
|
411 |
+
We hope that until end of May 2015 we'll finish version 3.0.0. Please note, you'll need to create your own Google API Key and add it in `wp-config.php` to be able to use YouTube Channel v3.0.0.
|
412 |
+
|
413 |
+
= Main differences we'll introduce in v3.0.0 =
|
414 |
+
|
415 |
+
* Google YouTube API v3
|
416 |
+
* WP Settings API (back to the roots to reduce 3rd party requirements - Redux Framework)
|
417 |
+
* Available types to show: Thumbnail (default), HTML5 (iframe) and HTML5 (iframe) Asynchronous (FLASH and Chromeless object has been deprecated and removed)
|
418 |
+
* Available resources: Channel, Favourites, Liked Videos or Playlist
|
419 |
+
* Available aspect ratios: 16:9 (as default fallback) or 4:3 (16:10 has been deprecated and removed)
|
420 |
+
* Links to channel below video blocks will be: Vanity customized name, Channel ID or Legacy username
|
421 |
+
* No more problems with `No items`
|
youtube-channel.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: YouTube Channel
|
|
4 |
Plugin URI: http://urosevic.net/wordpress/plugins/youtube-channel/
|
5 |
Description: <a href="widgets.php">Widget</a> that display latest video thumbnail, iframe (HTML5 video), object (Flash video) or chromeless video from YouTube Channel or Playlist.
|
6 |
Author: Aleksandar Urošević
|
7 |
-
Version: 2.4.
|
8 |
Author URI: http://urosevic.net/
|
9 |
*/
|
10 |
// @TODO make FitViedo optional
|
@@ -17,7 +17,7 @@ if ( !class_exists('WPAU_YOUTUBE_CHANNEL') )
|
|
17 |
class WPAU_YOUTUBE_CHANNEL
|
18 |
{
|
19 |
|
20 |
-
public $plugin_version = "2.4.
|
21 |
public $plugin_name = "YouTube Channel";
|
22 |
public $plugin_slug = "youtube-channel";
|
23 |
public $plugin_option = "youtube_channel_defaults";
|
@@ -166,6 +166,7 @@ if ( !class_exists('WPAU_YOUTUBE_CHANNEL') )
|
|
166 |
'width' => 306,
|
167 |
'responsive' => true,
|
168 |
'to_show' => 'thumbnail', // thumbnail, iframe, iframe2, chromeless, object
|
|
|
169 |
'themelight' => false,
|
170 |
'controls' => false,
|
171 |
'fixyt' => false,
|
@@ -337,6 +338,7 @@ function ytc_mute(event){
|
|
337 |
'responsive' => (!empty($instance['responsive'])) ? $instance['responsive'] : '0',
|
338 |
|
339 |
'show' => $instance['to_show'],
|
|
|
340 |
|
341 |
'themelight' => $instance['themelight'],
|
342 |
'controls' => $instance['controls'],
|
@@ -358,7 +360,7 @@ function ytc_mute(event){
|
|
358 |
'userchan' => $instance['userchan'],
|
359 |
|
360 |
'class' => (!empty($instance['class'])) ? $instance['class'] : ''
|
361 |
-
|
362 |
$atts
|
363 |
)
|
364 |
);
|
@@ -381,6 +383,7 @@ function ytc_mute(event){
|
|
381 |
$instance['width'] = $width; // 306
|
382 |
$instance['responsive'] = $responsive; // enable responsivenes?
|
383 |
$instance['to_show'] = $show; // thumbnail, iframe, iframe2, object, chromeless
|
|
|
384 |
|
385 |
$instance['themelight'] = $themelight; // use light theme, dark by default
|
386 |
$instance['controls'] = $controls; // hide controls, false by default
|
@@ -407,7 +410,7 @@ function ytc_mute(event){
|
|
407 |
$instance['class'] = $class; // custom additional class for container
|
408 |
|
409 |
return implode(array_values($this->output($instance)));
|
410 |
-
}
|
411 |
|
412 |
// print out widget
|
413 |
public function output($instance)
|
@@ -580,9 +583,9 @@ function ytc_mute(event){
|
|
580 |
// initialize array
|
581 |
$output = array();
|
582 |
// do we need to show goto link?
|
583 |
-
if ( $instance['showgoto'] ) {
|
584 |
$channel = $instance['channel'];
|
585 |
-
if (
|
586 |
$channel = 'urkekg';
|
587 |
$goto_txt = $instance['goto_txt'];
|
588 |
if ( $goto_txt == "" )
|
@@ -618,12 +621,12 @@ function ytc_mute(event){
|
|
618 |
|
619 |
// get hideinfo, autoplay and controls settings
|
620 |
// where this is used?
|
621 |
-
$hideinfo
|
622 |
-
$autoplay
|
623 |
-
$autoplay_mute
|
624 |
-
$controls
|
625 |
-
$norel
|
626 |
-
$class
|
627 |
$modestbranding = $instance['modestbranding'];
|
628 |
|
629 |
// set width and height
|
@@ -678,29 +681,39 @@ function ytc_mute(event){
|
|
678 |
default: $arclass = 'ar16_9';
|
679 |
}
|
680 |
|
681 |
-
|
|
|
682 |
|
683 |
// show video title?
|
684 |
-
if ( $instance['showtitle'] )
|
685 |
-
$output[] =
|
686 |
|
687 |
// define object ID
|
688 |
-
$ytc_vid =
|
689 |
|
690 |
// enhanced privacy
|
691 |
$youtube_domain = $this->youtube_domain($instance);
|
692 |
|
693 |
-
|
694 |
// print out video
|
695 |
if ( $to_show == "thumbnail" ) {
|
696 |
-
|
|
|
|
|
|
|
|
|
697 |
$p = '';
|
698 |
-
if ( $norel ) $p .= '&rel=0';
|
699 |
-
if ( $modestbranding ) $p .= "&modestbranding=1";
|
700 |
-
if ( $controls ) $p .= "&controls=0";
|
701 |
-
|
702 |
-
|
|
|
|
|
|
|
|
|
|
|
703 |
} else if ( $to_show == "chromeless" ) {
|
|
|
704 |
ob_start();
|
705 |
?>
|
706 |
<object type="application/x-shockwave-flash" data="<?php echo $this->plugin_url . 'inc/chromeless.swf'; ?>" width="<?php echo $width; ?>" height="<?php echo $height; ?>" id="<?php echo $ytc_vid; ?>">
|
@@ -724,7 +737,11 @@ function ytc_mute(event){
|
|
724 |
} else if ( $to_show == "iframe" ) {
|
725 |
if ( empty($usepl) ) $yt_url = $yt_id;
|
726 |
|
727 |
-
|
|
|
|
|
|
|
|
|
728 |
if ( $controls ) $output[] = "&controls=0";
|
729 |
if ( $hideinfo ) $output[] = "&showinfo=0";
|
730 |
if ( $autoplay ) $output[] = "&autoplay=1";
|
@@ -734,8 +751,13 @@ function ytc_mute(event){
|
|
734 |
// disable related videos
|
735 |
if ( $norel ) $output[] = "&rel=0";
|
736 |
|
737 |
-
$output[] =
|
|
|
|
|
|
|
|
|
738 |
} else if ( $to_show == "iframe2" ) {
|
|
|
739 |
// youtube API async
|
740 |
if ( empty($usepl) ) $yt_url = $yt_id;
|
741 |
|
@@ -749,7 +771,16 @@ function ytc_mute(event){
|
|
749 |
$js_autoplay_mute = ( $autoplay && $autoplay_mute ) ? "events: {'onReady': ytc_mute}" : '';
|
750 |
$js_player_id = str_replace('-', '_', $yt_url);
|
751 |
|
752 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
753 |
$site_domain = $_SERVER['HTTP_HOST'];
|
754 |
$ytc_html5_js = <<<JS
|
755 |
var ytc_player_$js_player_id;
|
@@ -773,6 +804,8 @@ JS;
|
|
773 |
$_SESSION['ytc_html5_js'] .= $ytc_html5_js;
|
774 |
|
775 |
} else { // default is object
|
|
|
|
|
776 |
$obj_url = '//'.$youtube_domain.'/'.$yt_url.'?version=3';
|
777 |
$obj_url .= ( $controls ) ? '&controls=0' : '';
|
778 |
$obj_url .= ( $hideinfo ) ? '&showinfo=0' : '';
|
@@ -827,13 +860,13 @@ JS;
|
|
827 |
$video_description = $videsc[1];
|
828 |
$etcetera = '';
|
829 |
}
|
830 |
-
if (!empty($video_description))
|
831 |
-
$output[] =
|
832 |
}
|
833 |
$output[] = '</div><!-- .ytc_video_container -->';
|
834 |
|
835 |
return $output;
|
836 |
-
} //
|
837 |
|
838 |
/* function to print standard playlist embed code */
|
839 |
function ytc_only_pl($instance) {
|
@@ -871,9 +904,22 @@ JS;
|
|
871 |
|
872 |
// enhanced privacy
|
873 |
$youtube_domain = $this->youtube_domain($instance);
|
874 |
-
|
875 |
-
|
876 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
877 |
return $output;
|
878 |
} // end function ytc_only_pl
|
879 |
|
4 |
Plugin URI: http://urosevic.net/wordpress/plugins/youtube-channel/
|
5 |
Description: <a href="widgets.php">Widget</a> that display latest video thumbnail, iframe (HTML5 video), object (Flash video) or chromeless video from YouTube Channel or Playlist.
|
6 |
Author: Aleksandar Urošević
|
7 |
+
Version: 2.4.2
|
8 |
Author URI: http://urosevic.net/
|
9 |
*/
|
10 |
// @TODO make FitViedo optional
|
17 |
class WPAU_YOUTUBE_CHANNEL
|
18 |
{
|
19 |
|
20 |
+
public $plugin_version = "2.4.2";
|
21 |
public $plugin_name = "YouTube Channel";
|
22 |
public $plugin_slug = "youtube-channel";
|
23 |
public $plugin_option = "youtube_channel_defaults";
|
166 |
'width' => 306,
|
167 |
'responsive' => true,
|
168 |
'to_show' => 'thumbnail', // thumbnail, iframe, iframe2, chromeless, object
|
169 |
+
'no_thumb_title' => 0, // disable tooltip for thumbnails
|
170 |
'themelight' => false,
|
171 |
'controls' => false,
|
172 |
'fixyt' => false,
|
338 |
'responsive' => (!empty($instance['responsive'])) ? $instance['responsive'] : '0',
|
339 |
|
340 |
'show' => $instance['to_show'],
|
341 |
+
'no_thumb_title' => (!empty($instance['no_thumb_title'])) ? $instance['no_thumb_title'] : '0',
|
342 |
|
343 |
'themelight' => $instance['themelight'],
|
344 |
'controls' => $instance['controls'],
|
360 |
'userchan' => $instance['userchan'],
|
361 |
|
362 |
'class' => (!empty($instance['class'])) ? $instance['class'] : ''
|
363 |
+
),
|
364 |
$atts
|
365 |
)
|
366 |
);
|
383 |
$instance['width'] = $width; // 306
|
384 |
$instance['responsive'] = $responsive; // enable responsivenes?
|
385 |
$instance['to_show'] = $show; // thumbnail, iframe, iframe2, object, chromeless
|
386 |
+
$instance['no_thumb_title'] = $no_thumb_title; // hide thumbnail tooltip
|
387 |
|
388 |
$instance['themelight'] = $themelight; // use light theme, dark by default
|
389 |
$instance['controls'] = $controls; // hide controls, false by default
|
410 |
$instance['class'] = $class; // custom additional class for container
|
411 |
|
412 |
return implode(array_values($this->output($instance)));
|
413 |
+
} // END function shortcode()
|
414 |
|
415 |
// print out widget
|
416 |
public function output($instance)
|
583 |
// initialize array
|
584 |
$output = array();
|
585 |
// do we need to show goto link?
|
586 |
+
if ( ! empty($instance['showgoto']) ) {
|
587 |
$channel = $instance['channel'];
|
588 |
+
if ( ! $channel )
|
589 |
$channel = 'urkekg';
|
590 |
$goto_txt = $instance['goto_txt'];
|
591 |
if ( $goto_txt == "" )
|
621 |
|
622 |
// get hideinfo, autoplay and controls settings
|
623 |
// where this is used?
|
624 |
+
$hideinfo = $instance['hideinfo'];
|
625 |
+
$autoplay = $instance['autoplay'];
|
626 |
+
$autoplay_mute = $instance['autoplay_mute'];
|
627 |
+
$controls = $instance['controls'];
|
628 |
+
$norel = $instance['norel'];
|
629 |
+
$class = $instance['class'];
|
630 |
$modestbranding = $instance['modestbranding'];
|
631 |
|
632 |
// set width and height
|
681 |
default: $arclass = 'ar16_9';
|
682 |
}
|
683 |
|
684 |
+
// open container
|
685 |
+
$output[] = "<div class=\"ytc_video_container ytc_video_${y} ytc_video_${vnumclass} ${arclass}\" style=\"width:${width}px\">";
|
686 |
|
687 |
// show video title?
|
688 |
+
if ( ! empty( $instance['showtitle']) )
|
689 |
+
$output[] = "<h3 class=\"ytc_title\">$yt_title</h3>";
|
690 |
|
691 |
// define object ID
|
692 |
+
$ytc_vid = "ytc_${yt_id}";
|
693 |
|
694 |
// enhanced privacy
|
695 |
$youtube_domain = $this->youtube_domain($instance);
|
696 |
|
|
|
697 |
// print out video
|
698 |
if ( $to_show == "thumbnail" ) {
|
699 |
+
|
700 |
+
// Do we need tooltip for thumbnail?
|
701 |
+
if ( empty($instance['no_thumb_title']) )
|
702 |
+
$title = sprintf( __('Watch video %1$s published on %2$s', 'youtube-channel' ), $yt_title, $yt_date );
|
703 |
+
|
704 |
$p = '';
|
705 |
+
if ( $norel ) $p .= '&rel=0';
|
706 |
+
if ( $modestbranding ) $p .= "&modestbranding=1";
|
707 |
+
if ( $controls ) $p .= "&controls=0";
|
708 |
+
|
709 |
+
// Do we need thumbnail w/ or w/o tooltip
|
710 |
+
if ( empty($instance['no_thumb_title']) ) {
|
711 |
+
$output[] = "<a href=\"${yt_video}${p}\" title=\"$yt_title\" class=\"ytc_thumb ytc-lightbox $arclass\"><span style=\"background-image: url($yt_thumb);\" title=\"$title\" id=\"$ytc_vid\"></span></a>";
|
712 |
+
} else {
|
713 |
+
$output[] = "<a href=\"${yt_video}${p}\" class=\"ytc_thumb ytc-lightbox $arclass\"><span style=\"background-image: url($yt_thumb);\" id=\"$ytc_vid\"></span></a>";
|
714 |
+
}
|
715 |
} else if ( $to_show == "chromeless" ) {
|
716 |
+
// This should be removed
|
717 |
ob_start();
|
718 |
?>
|
719 |
<object type="application/x-shockwave-flash" data="<?php echo $this->plugin_url . 'inc/chromeless.swf'; ?>" width="<?php echo $width; ?>" height="<?php echo $height; ?>" id="<?php echo $ytc_vid; ?>">
|
737 |
} else if ( $to_show == "iframe" ) {
|
738 |
if ( empty($usepl) ) $yt_url = $yt_id;
|
739 |
|
740 |
+
// Start wrapper for responsive item
|
741 |
+
if ( $instance['responsive'] ) $output[] = '<div class="fluid-width-video-wrapper">';
|
742 |
+
|
743 |
+
// Prepare item
|
744 |
+
$output[] = "<iframe title=\"YouTube video player\" width=\"$width\" height=\"$height\" src=\"//${youtube_domain}/embed/${yt_url}?wmode=opaque";
|
745 |
if ( $controls ) $output[] = "&controls=0";
|
746 |
if ( $hideinfo ) $output[] = "&showinfo=0";
|
747 |
if ( $autoplay ) $output[] = "&autoplay=1";
|
751 |
// disable related videos
|
752 |
if ( $norel ) $output[] = "&rel=0";
|
753 |
|
754 |
+
$output[] = "\" style=\"border: 0;\" allowfullscreen id=\"$ytc_vid\"></iframe>";
|
755 |
+
|
756 |
+
// Close wrapper for responsive item
|
757 |
+
if ( $instance['responsive'] ) $output[] = '</div>';
|
758 |
+
|
759 |
} else if ( $to_show == "iframe2" ) {
|
760 |
+
|
761 |
// youtube API async
|
762 |
if ( empty($usepl) ) $yt_url = $yt_id;
|
763 |
|
771 |
$js_autoplay_mute = ( $autoplay && $autoplay_mute ) ? "events: {'onReady': ytc_mute}" : '';
|
772 |
$js_player_id = str_replace('-', '_', $yt_url);
|
773 |
|
774 |
+
// Start wrapper for responsive item
|
775 |
+
if ( $instance['responsive'] ) $output[] = '<div class="fluid-width-video-wrapper">';
|
776 |
+
|
777 |
+
// Start item
|
778 |
+
$output[] = "<div id=\"ytc_player_${js_player_id}\"></div>";
|
779 |
+
|
780 |
+
// Close wrapper for responsive item
|
781 |
+
if ( $instance['responsive'] ) $output[] = '</div>';
|
782 |
+
|
783 |
+
// Prepare JS for async
|
784 |
$site_domain = $_SERVER['HTTP_HOST'];
|
785 |
$ytc_html5_js = <<<JS
|
786 |
var ytc_player_$js_player_id;
|
804 |
$_SESSION['ytc_html5_js'] .= $ytc_html5_js;
|
805 |
|
806 |
} else { // default is object
|
807 |
+
|
808 |
+
// This will be deprecated since next release 3.0.0 and iframe will be default fallback
|
809 |
$obj_url = '//'.$youtube_domain.'/'.$yt_url.'?version=3';
|
810 |
$obj_url .= ( $controls ) ? '&controls=0' : '';
|
811 |
$obj_url .= ( $hideinfo ) ? '&showinfo=0' : '';
|
860 |
$video_description = $videsc[1];
|
861 |
$etcetera = '';
|
862 |
}
|
863 |
+
if ( ! empty($video_description) )
|
864 |
+
$output[] = "<p class=\"ytc_description\">${video_description}${etcetera}</p>";
|
865 |
}
|
866 |
$output[] = '</div><!-- .ytc_video_container -->';
|
867 |
|
868 |
return $output;
|
869 |
+
} // END function ytc_print_video()
|
870 |
|
871 |
/* function to print standard playlist embed code */
|
872 |
function ytc_only_pl($instance) {
|
904 |
|
905 |
// enhanced privacy
|
906 |
$youtube_domain = $this->youtube_domain($instance);
|
907 |
+
|
908 |
+
// Open element
|
909 |
+
$output[] = "<div class=\"ytc_video_container ytc_video_1 ytc_video_single $arclass\">";
|
910 |
+
|
911 |
+
// Start wrapper for responsive item
|
912 |
+
if ( $instance['responsive'] ) $output[] = '<div class="fluid-width-video-wrapper">';
|
913 |
+
|
914 |
+
// Prepare item
|
915 |
+
$output[] = "<iframe src=\"//$youtube_domain/embed/videoseries?list=PL${playlist}${autoplay}${theme}${modestbranding}${rel}${controls}${hideinfo}${hideanno}\" width=\"$width\" height=\"$height\" frameborder=\"0\"></iframe>";
|
916 |
+
|
917 |
+
// Close wrapper for responsive item
|
918 |
+
if ( $instance['responsive'] ) $output[] = '</div>';
|
919 |
+
|
920 |
+
// Close element
|
921 |
+
$output[] = '</div>'; // close .ytc_video_container
|
922 |
+
|
923 |
return $output;
|
924 |
} // end function ytc_only_pl
|
925 |
|