YouTube Channel - Version 3.0.10.5

Version Description

(20170225) = * Remove: FMVD opt-in because of general plugin guideline violation rule #9

Download this release

Release Info

Developer urkekg
Plugin Icon YouTube Channel
Version 3.0.10.5
Comparing to
See all releases

Code changes from version 3.0.10.4 to 3.0.10.5

assets/css/youtube-channel.css CHANGED
@@ -1 +1 @@
1
- .youtube_channel{float:left;clear:both;position:relative;box-sizing:border-box}.youtube_channel .ytc_video_container{float:left;position:relative}.youtube_channel .ytc_video_container iframe{margin-bottom:0}.youtube_channel .ytc_video_container a{border:none}.youtube_channel.responsive{width:100%}.youtube_channel.responsive .ytc_video_container{width:100% !important}.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.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%}.youtube_channel .ytc_thumb{display:block;overflow:hidden;position:relative;height:0;width:100%;top:0;right:0;bottom:0;left:0;cursor:pointer}.youtube_channel .ytc_thumb>span{height:0;width:100%;display:block;-webkit-background-size:cover;background-size:cover;background-position:center center;background-repeat:no-repeat}.youtube_channel .ytc_thumb>span:before{content:" ";display:block;width:84px;height:59px;background-image:url(../img/yt_play.png);background-position:top center;background-repeat:no-repeat;background-color:transparent;opacity:.9;position:absolute;top:50%;left:50%;padding:0 !important;margin-left:-42px;margin-top:-30px;cursor:pointer;transform:scale(.85)}.youtube_channel .ytc_thumb:hover>span:before{background-position:bottom center}.youtube_channel .ytc_thumb.ar16_9,.youtube_channel .ytc_thumb.ar16_9>span{padding-bottom:56.26%}.youtube_channel .ytc_thumb.ar4_3,.youtube_channel .ytc_thumb.ar4_3>span{padding-bottom:75%}.youtube_channel .ytc_link{position:relative;clear:both;float:left;width:100%}.youtube_channel .ytc_link>p{padding:0;margin:0}.youtube_channel .ytc_link>p .fmvd{float:right}.youtube_channel p.ytc_error{color:#d00}.clearfix:after,.widget_youtube-channel:after,.youtube_channel:after{content:" ";visibility:hidden;display:block;height:0;clear:both}/*# sourceMappingURL=youtube-channel.css.map */
1
+ .youtube_channel{float:left;clear:both;position:relative;box-sizing:border-box}.youtube_channel .ytc_video_container{float:left;position:relative}.youtube_channel .ytc_video_container iframe{margin-bottom:0}.youtube_channel .ytc_video_container a{border:none}.youtube_channel.responsive{width:100%}.youtube_channel.responsive .ytc_video_container{width:100% !important}.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.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%}.youtube_channel .ytc_thumb{display:block;overflow:hidden;position:relative;height:0;width:100%;top:0;right:0;bottom:0;left:0;cursor:pointer}.youtube_channel .ytc_thumb>span{height:0;width:100%;display:block;-webkit-background-size:cover;background-size:cover;background-position:center center;background-repeat:no-repeat}.youtube_channel .ytc_thumb>span:before{content:" ";display:block;width:84px;height:59px;background-image:url(../img/yt_play.png);background-position:top center;background-repeat:no-repeat;background-color:transparent;opacity:.9;position:absolute;top:50%;left:50%;padding:0 !important;margin-left:-42px;margin-top:-30px;cursor:pointer;transform:scale(.85)}.youtube_channel .ytc_thumb:hover>span:before{background-position:bottom center}.youtube_channel .ytc_thumb.ar16_9,.youtube_channel .ytc_thumb.ar16_9>span{padding-bottom:56.26%}.youtube_channel .ytc_thumb.ar4_3,.youtube_channel .ytc_thumb.ar4_3>span{padding-bottom:75%}.youtube_channel .ytc_link{position:relative;clear:both;float:left;width:100%}.youtube_channel .ytc_link>p{padding:0;margin:0}.youtube_channel p.ytc_error{color:#d00}.clearfix:after,.widget_youtube-channel:after,.youtube_channel:after{content:" ";visibility:hidden;display:block;height:0;clear:both}/*# sourceMappingURL=youtube-channel.css.map */
assets/css/youtube-channel.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"youtube-channel.css","sources":["youtube-channel.less"],"names":[],"mappings":"AAAA,iBACC,UAAA,CACA,UAAA,CACA,iBAAA,CACA,sBAEA,gBAAE,sBACD,UAAA,CACA,kBAEA,gBAJC,qBAIC,QACD,gBAGD,gBARC,qBAQC,GACD,YAIF,gBAAC,YACA,WACA,gBAFA,WAEE,sBACD,UAAA,YAGA,gBAND,WAEE,qBAIA,OAAQ,4BACR,iBAAA,CACA,qBAAA,CACA,SAED,gBAXD,WAEE,qBASA,MAAO,4BACP,iBAAA,CACA,kBAAA,CACA,SAED,gBAhBD,WAEE,qBAcC,2BAA2B,QAC5B,iBAAA,CACA,KAAA,CACA,MAAA,CACA,UAAA,CACA,YAMH,gBAAE,YACD,aAAA,CACA,eAAA,CACA,iBAAA,CACA,QAAA,CACA,UAAA,CACA,KAAA,CACA,OAAA,CACA,QAAA,CACA,MAAA,CACA,eAEA,gBAZC,WAYA,MACA,QAAA,CACA,UAAA,CACA,aAAA,CACA,6BAAA,CACA,qBAAA,CACA,iCAAA,CACA,4BAEA,gBArBA,WAYA,KASC,QACA,QAAS,GAAT,CACA,aAAA,CAGA,UAAA,CACA,WAAA,CACA,wCAAA,CACA,8BAAA,CACA,2BAAA,CACA,4BAAA,CAEA,UAAA,CAEA,iBAAA,CACA,OAAA,CACA,QAAA,CACA,SAAA,YAGA,iBAAA,CACA,gBAAA,CACA,cAAA,CACA,UAAW,WAIb,gBAhDC,WAgDA,MAAM,KAAK,QAEX,kCAID,gBAtDC,WAsDA,QACD,gBAvDC,WAuDA,OAAO,MAEP,sBAED,gBA3DC,WA2DA,OACD,gBA5DC,WA4DA,MAAM,MAEN,mBAKF,gBAAE,WACD,iBAAA,CACA,UAAA,CACA,UAAA,CACA,WAEA,gBANC,UAMA,GACA,SAAA,CACA,SAFD,gBANC,UAMA,EAIA,OACC,YAMH,gBAAE,EAAC,WACF,WAKF,SAAS,OACT,uBAAuB,OACvB,gBAAgB,OACf,QAAS,GAAT,CACA,iBAAA,CACA,aAAA,CACA,QAAA,CACA","sourceRoot":""}
1
+ {"version":3,"file":"youtube-channel.css","sources":["youtube-channel.less"],"names":[],"mappings":"AAAA,iBACC,UAAA,CACA,UAAA,CACA,iBAAA,CACA,sBAEA,gBAAE,sBACD,UAAA,CACA,kBAEA,gBAJC,qBAIC,QACD,gBAGD,gBARC,qBAQC,GACD,YAIF,gBAAC,YACA,WACA,gBAFA,WAEE,sBACD,UAAA,YAGA,gBAND,WAEE,qBAIA,OAAQ,4BACR,iBAAA,CACA,qBAAA,CACA,SAED,gBAXD,WAEE,qBASA,MAAO,4BACP,iBAAA,CACA,kBAAA,CACA,SAED,gBAhBD,WAEE,qBAcC,2BAA2B,QAC5B,iBAAA,CACA,KAAA,CACA,MAAA,CACA,UAAA,CACA,YAMH,gBAAE,YACD,aAAA,CACA,eAAA,CACA,iBAAA,CACA,QAAA,CACA,UAAA,CACA,KAAA,CACA,OAAA,CACA,QAAA,CACA,MAAA,CACA,eAEA,gBAZC,WAYA,MACA,QAAA,CACA,UAAA,CACA,aAAA,CACA,6BAAA,CACA,qBAAA,CACA,iCAAA,CACA,4BAEA,gBArBA,WAYA,KASC,QACA,QAAS,GAAT,CACA,aAAA,CAGA,UAAA,CACA,WAAA,CACA,wCAAA,CACA,8BAAA,CACA,2BAAA,CACA,4BAAA,CAEA,UAAA,CAEA,iBAAA,CACA,OAAA,CACA,QAAA,CACA,SAAA,YAGA,iBAAA,CACA,gBAAA,CACA,cAAA,CACA,UAAW,WAIb,gBAhDC,WAgDA,MAAM,KAAK,QAEX,kCAID,gBAtDC,WAsDA,QACD,gBAvDC,WAuDA,OAAO,MAEP,sBAED,gBA3DC,WA2DA,OACD,gBA5DC,WA4DA,MAAM,MAEN,mBAKF,gBAAE,WACD,iBAAA,CACA,UAAA,CACA,UAAA,CACA,WAEA,gBANC,UAMA,GACA,SAAA,CACA,SAKF,gBAAE,EAAC,WACF,WAKF,SAAS,OACT,uBAAuB,OACvB,gBAAgB,OACf,QAAS,GAAT,CACA,iBAAA,CACA,aAAA,CACA,QAAA,CACA","sourceRoot":""}
assets/css/youtube-channel.less CHANGED
@@ -120,10 +120,6 @@
120
  &>p {
121
  padding: 0;
122
  margin: 0;
123
-
124
- .fmvd {
125
- float: right;
126
- }
127
  }
128
  }
129
 
120
  &>p {
121
  padding: 0;
122
  margin: 0;
 
 
 
 
123
  }
124
  }
125
 
assets/img/fmvd-icon.png DELETED
Binary file
assets/img/fmvd.png DELETED
Binary file
inc/settings.php CHANGED
@@ -302,25 +302,6 @@ if ( ! class_exists( 'WPAU_YOUTUBE_CHANNEL_SETTINGS' ) ) {
302
  ) // args
303
  );
304
 
305
- // Freemake Video Downloader
306
- add_settings_field(
307
- $this->option_name . 'fmvd', // id
308
- 'Video Download <img src="' . $wpau_youtube_channel->plugin_url . 'assets/img/fmvd.png" class="fmvd-icon">', // Title
309
- array( &$this, 'settings_field_checkbox' ), // Callback
310
- $this->slug . '_general', // Page
311
- 'ytc_general', // section
312
- array(
313
- 'field' => $this->option_name . '[fmvd]',
314
- 'label' => __( 'Show download option under videos', 'youtube-channel' ),
315
- 'description' => sprintf(
316
- __( 'Let your site visitors save YouTube videos for offline watching with #1 YouTube downloader app %s', 'youtube-channel' ),
317
- '<a href="http://www.freemake.com/free_video_downloader/" target="_blank">Freemake Video Downloader</a>'
318
- ),
319
- 'class' => 'checkbox',
320
- 'value' => isset( $this->defaults['fmvd'] ) ? $this->defaults['fmvd'] : '0',
321
- ) // args
322
- );
323
-
324
  // --- Register setting General so $_POST handling is done ---
325
  register_setting(
326
  'ytc_general', // Setting group
@@ -1038,15 +1019,6 @@ if ( ! class_exists( 'WPAU_YOUTUBE_CHANNEL_SETTINGS' ) ) {
1038
  $sanitized['num'] = ( ! empty( $options['num'] ) ) ? intval( $options['num'] ) : $this->defaults['num'];
1039
  $sanitized['privacy'] = ( ! empty( $options['privacy'] ) && $options['privacy'] ) ? 1 : 0;
1040
  $sanitized['tinymce'] = ( ! empty( $options['tinymce'] ) && $options['tinymce'] ) ? 1 : 0;
1041
- // Disable FMVD notice when option is once enabled
1042
- $sanitized['fmvd'] = ! empty( $options['fmvd'] ) ? 1 : 0;
1043
- if ( $sanitized['fmvd'] ) {
1044
- $dismissed_notices = get_option( 'youtube_channel_dismissed_notices' );
1045
- if ( empty( $dismissed_notices['fmvd'] ) ) {
1046
- $dismissed_notices['fmvd'] = 1;
1047
- update_option( 'youtube_channel_dismissed_notices', $dismissed_notices );
1048
- }
1049
- }
1050
  break; // General
1051
 
1052
  // --- Video ---
302
  ) // args
303
  );
304
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
305
  // --- Register setting General so $_POST handling is done ---
306
  register_setting(
307
  'ytc_general', // Setting group
1019
  $sanitized['num'] = ( ! empty( $options['num'] ) ) ? intval( $options['num'] ) : $this->defaults['num'];
1020
  $sanitized['privacy'] = ( ! empty( $options['privacy'] ) && $options['privacy'] ) ? 1 : 0;
1021
  $sanitized['tinymce'] = ( ! empty( $options['tinymce'] ) && $options['tinymce'] ) ? 1 : 0;
 
 
 
 
 
 
 
 
 
1022
  break; // General
1023
 
1024
  // --- Video ---
inc/tinymce/plugin.js CHANGED
@@ -146,13 +146,6 @@
146
  tooltip: 'Show random video from resource (Have no effect if \"Embed as\" has been set to \"Embedded Playlist\")',
147
  checked: false
148
  },
149
- {
150
- type: 'checkbox',
151
- name: 'fmvd',
152
- label: 'Download video',
153
- tooltip: 'Show download option under videos. Let your site visitor save YouTube videos for offline watcing with #1 YouTube downloader app Freemake Video Downloader',
154
- checked: false
155
- },
156
  ]
157
  },
158
 
@@ -368,9 +361,6 @@
368
  // Global
369
  if ( e.data.class ) shortcode += ' class=' + e.data.class + '';
370
 
371
- // FMVD
372
- if ( e.data.fmvd ) shortcode += ' fmvd=1';
373
-
374
  // Close shortcode
375
  shortcode += ']';
376
 
146
  tooltip: 'Show random video from resource (Have no effect if \"Embed as\" has been set to \"Embedded Playlist\")',
147
  checked: false
148
  },
 
 
 
 
 
 
 
149
  ]
150
  },
151
 
361
  // Global
362
  if ( e.data.class ) shortcode += ' class=' + e.data.class + '';
363
 
 
 
 
364
  // Close shortcode
365
  shortcode += ']';
366
 
inc/tinymce/plugin.min.js CHANGED
@@ -1 +1 @@
1
- !function(){tinymce.PluginManager.add("youtube_channel",function(e){e.addButton("youtube_channel_shortcode",{tooltip:"YouTube Channel",icon:"ytc",onclick:function(){e.windowManager.open({title:"YouTube Channel",bodyType:"tabpanel",buttons:[{text:"Insert Shortcode",onclick:"submit",classes:"widget btn primary",minWidth:130},{text:"Cancel",onclick:"close"}],body:[{title:"General Settings",type:"form",items:[{type:"textbox",name:"class",label:"Custom CSS Class",value:"",tooltip:"Enter custom class for YTC block, if you wish to target block styling"},{type:"textbox",name:"vanity",label:"Vanity/Custom ID",value:""},{type:"textbox",name:"channel",label:"YouTube Channel ID",value:""},{type:"textbox",name:"legacy",label:"Legacy Username",value:""},{type:"textbox",name:"playlist",label:"Playlist ID",value:""},{type:"listbox",name:"resource",label:"Resource to use",tooltip:"",values:[{text:"Channel (User Uploads)",value:"0",selected:!0},{text:"Favourited videos",value:"1"},{text:"Liked videos",value:"3"},{text:"Playlist",value:"2"}]},{type:"listbox",name:"cache",label:"Cache feed",tooltip:"",values:[{text:"Do not cache",value:"0"},{text:"1 minute",value:"60"},{text:"5 minutes",value:"300",selected:!0},{text:"15 minutes",value:"900"},{text:"30 minutes",value:"1800"},{text:"1 hour",value:"3600"},{text:"2 hours",value:"7200"},{text:"5 hours",value:"18000"},{text:"10 hours",value:"36000"},{text:"12 hours",value:"43200"},{text:"18 hours",value:"64800"},{text:"1 day",value:"86400"},{text:"2 days",value:"172800"},{text:"3 days",value:"259200"},{text:"4 days",value:"345600"},{text:"5 days",value:"432000"},{text:"6 days",value:"518400"},{text:"1 week",value:"604800"},{text:"2 weeks",value:"1209600"},{text:"3 weeks",value:"1814400"},{text:"1 month",value:"2419200"}]},{type:"textbox",name:"fetch",label:"Fetch",value:"10",tooltip:"Number of videos that will be used for random pick (min 2, max 50, default 25)"},{type:"textbox",name:"num",label:"Show",value:"1",tooltip:"Number of videos to display"},{type:"checkbox",name:"privacy",label:"Use Enhanced Privacy",tooltip:"Enable this option to protect your visitors privacy",checked:!1},{type:"checkbox",name:"random",label:"Random video",tooltip:'Show random video from resource (Have no effect if "Embed as" has been set to "Embedded Playlist")',checked:!1},{type:"checkbox",name:"fmvd",label:"Download video",tooltip:"Show download option under videos. Let your site visitor save YouTube videos for offline watcing with #1 YouTube downloader app Freemake Video Downloader",checked:!1}]},{title:"Video Settings",type:"form",items:[{type:"listbox",name:"ratio",label:"Aspect Ratio",values:[{text:"Widescreen (16:9)",value:"3",selected:!0},{text:"Standard TV (4:3)",value:"1"}]},{type:"checkbox",name:"responsive",label:"Responsive video",tooltip:"Make video responsive (distribute one full width video per row)",checked:!0},{type:"textbox",name:"width",label:"Initial width (px)",value:"306",tooltip:"Set initial width for video or thumbnail (in pixels)"},{type:"listbox",name:"display",label:"Embed as",tooltip:"",values:[{text:"Thumbnail",value:"thumbnail"},{text:"HTML5 (iframe)",value:"iframe"},{text:"HTML5 (iframe) Asynchronous",value:"iframe2"},{text:"Embedded Playlist",value:"playlist"}]},{type:"checkbox",name:"no_thumb_title",label:"Hide thumbnail tooltip",checked:!1},{type:"checkbox",name:"themelight",label:"Use light theme",tooltip:"Default theme is dark",checked:!1},{type:"checkbox",name:"controls",label:"Hide player controls",checked:!1},{type:"checkbox",name:"autoplay",label:"Autoplay video/playlist",checked:!1},{type:"checkbox",name:"mute",label:"Mute video on autoplay",checked:!1},{type:"checkbox",name:"norel",label:"Hide related videos",checked:!0},{type:"checkbox",name:"nobrand",label:"Hide YT Logo",tooltip:"Does not work for all videos",checked:!0}]},{title:"Content Layout",type:"form",items:[{type:"listbox",name:"showtitle",label:"Show video title",tooltip:"",values:[{text:"Hide title",value:"none",selected:!0},{text:"Above video/thumbnail",value:"above"},{text:"Below video/thumbnail",value:"below"}]},{type:"checkbox",name:"showdesc",label:"Show video description",checked:!1},{type:"textbox",name:"desclen",label:"Description length",value:"0",tooltip:"Set number of characters to cut down video description to (0 means full length)"},{type:"checkbox",name:"noanno",label:"Hide annotations",checked:!0},{type:"checkbox",name:"noinfo",label:"Hide video info",checked:!0}]},{title:"Link to Channel",type:"form",items:[{type:"listbox",name:"link_to",label:"Link to",values:[{text:"Hide link",value:"none",selected:!0},{text:"Vanity/Custom URL",value:"vanity"},{text:"Channel page URL",value:"channel"},{text:"Legacy username URL",value:"legacy"}]},{type:"textbox",name:"goto_txt",label:"Title for link",value:"Visit our YouTube channel"}]}],onsubmit:function(t){var a="[youtube_channel";t.data.vanity&&(a+=" vanity="+t.data.vanity),t.data.channel&&(a+=" channel="+t.data.channel),t.data.legacy&&(a+=" legacy="+t.data.legacy),t.data.playlist&&(a+=" playlist="+t.data.playlist),t.data.resource&&(a+=" resource="+t.data.resource),t.data.cache&&(a+=" cache="+t.data.cache),t.data.privacy&&(a+=" privacy=1"),t.data.random&&(a+=" random=1"),t.data.fetch&&(a+=" fetch="+t.data.fetch.replace(/[^0-9.]/g,"")),t.data.num&&(a+=" num="+t.data.num.replace(/[^0-9.]/g,"")),t.data.ratio&&(a+=" ratio="+t.data.ratio),t.data.responsive&&(a+=" responsive=1"),t.data.width&&(a+=" width="+t.data.width.replace(/[^0-9.]/g,"")),t.data.display&&(a+=" display="+t.data.display),t.data.no_thumb_title&&(a+=" no_thumb_title=1"),t.data.themelight&&(a+=" themelight=1"),t.data.controls&&(a+=" controls=1"),t.data.autoplay&&(a+=" autoplay=1"),t.data.mute&&(a+=" mute=1"),t.data.norel&&(a+=" norel=1"),t.data.nobrand&&(a+=" nobrand=1"),t.data.showtitle&&(a+=" showtitle="+t.data.showtitle),t.data.showdesc&&(a+=" showdesc=1"),t.data.desclen&&(a+=" desclen="+t.data.desclen.replace(/[^0-9.]/g,"")),t.data.noanno&&(a+=" noanno=1"),t.data.noinfo&&(a+=" noinfo=1"),t.data.link_to&&(a+=" link_to="+t.data.link_to),t.data.goto_txt&&(a+=' goto_txt="'+t.data.goto_txt+'"'),t.data.class&&(a+=" class="+t.data.class),t.data.fmvd&&(a+=" fmvd=1"),a+="]",e.insertContent(a)}})}})})}();
1
+ !function(){tinymce.PluginManager.add("youtube_channel",function(e){e.addButton("youtube_channel_shortcode",{tooltip:"YouTube Channel",icon:"ytc",onclick:function(){e.windowManager.open({title:"YouTube Channel",bodyType:"tabpanel",buttons:[{text:"Insert Shortcode",onclick:"submit",classes:"widget btn primary",minWidth:130},{text:"Cancel",onclick:"close"}],body:[{title:"General Settings",type:"form",items:[{type:"textbox",name:"class",label:"Custom CSS Class",value:"",tooltip:"Enter custom class for YTC block, if you wish to target block styling"},{type:"textbox",name:"vanity",label:"Vanity/Custom ID",value:""},{type:"textbox",name:"channel",label:"YouTube Channel ID",value:""},{type:"textbox",name:"legacy",label:"Legacy Username",value:""},{type:"textbox",name:"playlist",label:"Playlist ID",value:""},{type:"listbox",name:"resource",label:"Resource to use",tooltip:"",values:[{text:"Channel (User Uploads)",value:"0",selected:!0},{text:"Favourited videos",value:"1"},{text:"Liked videos",value:"3"},{text:"Playlist",value:"2"}]},{type:"listbox",name:"cache",label:"Cache feed",tooltip:"",values:[{text:"Do not cache",value:"0"},{text:"1 minute",value:"60"},{text:"5 minutes",value:"300",selected:!0},{text:"15 minutes",value:"900"},{text:"30 minutes",value:"1800"},{text:"1 hour",value:"3600"},{text:"2 hours",value:"7200"},{text:"5 hours",value:"18000"},{text:"10 hours",value:"36000"},{text:"12 hours",value:"43200"},{text:"18 hours",value:"64800"},{text:"1 day",value:"86400"},{text:"2 days",value:"172800"},{text:"3 days",value:"259200"},{text:"4 days",value:"345600"},{text:"5 days",value:"432000"},{text:"6 days",value:"518400"},{text:"1 week",value:"604800"},{text:"2 weeks",value:"1209600"},{text:"3 weeks",value:"1814400"},{text:"1 month",value:"2419200"}]},{type:"textbox",name:"fetch",label:"Fetch",value:"10",tooltip:"Number of videos that will be used for random pick (min 2, max 50, default 25)"},{type:"textbox",name:"num",label:"Show",value:"1",tooltip:"Number of videos to display"},{type:"checkbox",name:"privacy",label:"Use Enhanced Privacy",tooltip:"Enable this option to protect your visitors privacy",checked:!1},{type:"checkbox",name:"random",label:"Random video",tooltip:'Show random video from resource (Have no effect if "Embed as" has been set to "Embedded Playlist")',checked:!1}]},{title:"Video Settings",type:"form",items:[{type:"listbox",name:"ratio",label:"Aspect Ratio",values:[{text:"Widescreen (16:9)",value:"3",selected:!0},{text:"Standard TV (4:3)",value:"1"}]},{type:"checkbox",name:"responsive",label:"Responsive video",tooltip:"Make video responsive (distribute one full width video per row)",checked:!0},{type:"textbox",name:"width",label:"Initial width (px)",value:"306",tooltip:"Set initial width for video or thumbnail (in pixels)"},{type:"listbox",name:"display",label:"Embed as",tooltip:"",values:[{text:"Thumbnail",value:"thumbnail"},{text:"HTML5 (iframe)",value:"iframe"},{text:"HTML5 (iframe) Asynchronous",value:"iframe2"},{text:"Embedded Playlist",value:"playlist"}]},{type:"checkbox",name:"no_thumb_title",label:"Hide thumbnail tooltip",checked:!1},{type:"checkbox",name:"themelight",label:"Use light theme",tooltip:"Default theme is dark",checked:!1},{type:"checkbox",name:"controls",label:"Hide player controls",checked:!1},{type:"checkbox",name:"autoplay",label:"Autoplay video/playlist",checked:!1},{type:"checkbox",name:"mute",label:"Mute video on autoplay",checked:!1},{type:"checkbox",name:"norel",label:"Hide related videos",checked:!0},{type:"checkbox",name:"nobrand",label:"Hide YT Logo",tooltip:"Does not work for all videos",checked:!0}]},{title:"Content Layout",type:"form",items:[{type:"listbox",name:"showtitle",label:"Show video title",tooltip:"",values:[{text:"Hide title",value:"none",selected:!0},{text:"Above video/thumbnail",value:"above"},{text:"Below video/thumbnail",value:"below"}]},{type:"checkbox",name:"showdesc",label:"Show video description",checked:!1},{type:"textbox",name:"desclen",label:"Description length",value:"0",tooltip:"Set number of characters to cut down video description to (0 means full length)"},{type:"checkbox",name:"noanno",label:"Hide annotations",checked:!0},{type:"checkbox",name:"noinfo",label:"Hide video info",checked:!0}]},{title:"Link to Channel",type:"form",items:[{type:"listbox",name:"link_to",label:"Link to",values:[{text:"Hide link",value:"none",selected:!0},{text:"Vanity/Custom URL",value:"vanity"},{text:"Channel page URL",value:"channel"},{text:"Legacy username URL",value:"legacy"}]},{type:"textbox",name:"goto_txt",label:"Title for link",value:"Visit our YouTube channel"}]}],onsubmit:function(t){var a="[youtube_channel";t.data.vanity&&(a+=" vanity="+t.data.vanity),t.data.channel&&(a+=" channel="+t.data.channel),t.data.legacy&&(a+=" legacy="+t.data.legacy),t.data.playlist&&(a+=" playlist="+t.data.playlist),t.data.resource&&(a+=" resource="+t.data.resource),t.data.cache&&(a+=" cache="+t.data.cache),t.data.privacy&&(a+=" privacy=1"),t.data.random&&(a+=" random=1"),t.data.fetch&&(a+=" fetch="+t.data.fetch.replace(/[^0-9.]/g,"")),t.data.num&&(a+=" num="+t.data.num.replace(/[^0-9.]/g,"")),t.data.ratio&&(a+=" ratio="+t.data.ratio),t.data.responsive&&(a+=" responsive=1"),t.data.width&&(a+=" width="+t.data.width.replace(/[^0-9.]/g,"")),t.data.display&&(a+=" display="+t.data.display),t.data.no_thumb_title&&(a+=" no_thumb_title=1"),t.data.themelight&&(a+=" themelight=1"),t.data.controls&&(a+=" controls=1"),t.data.autoplay&&(a+=" autoplay=1"),t.data.mute&&(a+=" mute=1"),t.data.norel&&(a+=" norel=1"),t.data.nobrand&&(a+=" nobrand=1"),t.data.showtitle&&(a+=" showtitle="+t.data.showtitle),t.data.showdesc&&(a+=" showdesc=1"),t.data.desclen&&(a+=" desclen="+t.data.desclen.replace(/[^0-9.]/g,"")),t.data.noanno&&(a+=" noanno=1"),t.data.noinfo&&(a+=" noinfo=1"),t.data.link_to&&(a+=" link_to="+t.data.link_to),t.data.goto_txt&&(a+=' goto_txt="'+t.data.goto_txt+'"'),t.data.class&&(a+=" class="+t.data.class),a+="]",e.insertContent(a)}})}})})}();
inc/widget.php CHANGED
@@ -96,7 +96,6 @@ class WPAU_YOUTUBE_CHANNEL_Widget extends WP_Widget {
96
  $link_to = ! empty( $instance['link_to'] ) ? esc_attr( $instance['link_to'] ) : 'none';
97
  $goto_txt = ! empty( $instance['goto_txt'] ) ? esc_attr( $instance['goto_txt'] ) : '';
98
  $popup_goto = isset( $instance['popup_goto'] ) ? intval( $instance['popup_goto'] ) : $defaults['popup_goto'];
99
- $fmvd = isset( $instance['fmvd'] ) ? $instance['fmvd'] : false;
100
  ?>
101
 
102
  <p>
@@ -248,11 +247,6 @@ class WPAU_YOUTUBE_CHANNEL_Widget extends WP_Widget {
248
  <option value="2"<?php selected( $popup_goto, 2 ); ?>><?php _e( 'Open link in new window (target="blank")', 'youtube-channel' ); ?></option>
249
  </select>
250
  </p>
251
- <p>
252
- <label for="<?php echo $this->get_field_id( 'fmvd' ); ?>" title="<?php _e( 'Let your site visitors save YouTube videos for offline watching' ); ?>">
253
- <input class="checkbox" type="checkbox" <?php checked( (bool) $fmvd, true ); ?> id="<?php echo $this->get_field_id( 'fmvd' ); ?>" name="<?php echo $this->get_field_name( 'fmvd' ); ?>" /> <?php _e( 'Show download option under videos', 'youtube-channel' ); ?>
254
- </label>
255
- </p>
256
 
257
  <h4><?php _e( 'Does not work?', 'youtube-channel' ); ?></h4>
258
  <p>
@@ -317,7 +311,6 @@ class WPAU_YOUTUBE_CHANNEL_Widget extends WP_Widget {
317
  $instance['hideanno'] = isset( $new_instance['hideanno'] ) ? $new_instance['hideanno'] : '';
318
  $instance['themelight'] = isset( $new_instance['themelight'] ) ? $new_instance['themelight'] : '';
319
  $instance['privacy'] = isset( $new_instance['privacy'] ) ? $new_instance['privacy'] : '';
320
- $instance['fmvd'] = isset( $new_instance['fmvd'] ) ? $new_instance['fmvd'] : false;
321
 
322
  return $instance;
323
 
96
  $link_to = ! empty( $instance['link_to'] ) ? esc_attr( $instance['link_to'] ) : 'none';
97
  $goto_txt = ! empty( $instance['goto_txt'] ) ? esc_attr( $instance['goto_txt'] ) : '';
98
  $popup_goto = isset( $instance['popup_goto'] ) ? intval( $instance['popup_goto'] ) : $defaults['popup_goto'];
 
99
  ?>
100
 
101
  <p>
247
  <option value="2"<?php selected( $popup_goto, 2 ); ?>><?php _e( 'Open link in new window (target="blank")', 'youtube-channel' ); ?></option>
248
  </select>
249
  </p>
 
 
 
 
 
250
 
251
  <h4><?php _e( 'Does not work?', 'youtube-channel' ); ?></h4>
252
  <p>
311
  $instance['hideanno'] = isset( $new_instance['hideanno'] ) ? $new_instance['hideanno'] : '';
312
  $instance['themelight'] = isset( $new_instance['themelight'] ) ? $new_instance['themelight'] : '';
313
  $instance['privacy'] = isset( $new_instance['privacy'] ) ? $new_instance['privacy'] : '';
 
314
 
315
  return $instance;
316
 
languages/youtube-channel-xx_XX.pot CHANGED
@@ -2,14 +2,14 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: YouTube Channel\n"
5
- "POT-Creation-Date: 2015-10-15 21:56+0200\n"
6
  "PO-Revision-Date: 2015-06-19 21:15+0100\n"
7
  "Last-Translator: Aleksandar Urošević <urke.kg@gmail.com>\n"
8
  "Language-Team: Aleksandar Urošević <urke.kg@gmail.com>\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.8.5\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "X-Poedit-WPHeader: youtube-channel.php\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
@@ -19,37 +19,37 @@ msgstr ""
19
  "X-Poedit-SearchPath-0: .\n"
20
  "X-Poedit-SearchPathExcluded-0: *.js\n"
21
 
22
- #: inc/settings-template.php:6
23
  msgid " Settings"
24
  msgstr ""
25
 
26
- #: inc/settings-template.php:12 inc/settings-usage-shortcode.php:104
27
- #: inc/settings.php:38
28
  msgid "General"
29
  msgstr ""
30
 
31
- #: inc/settings-template.php:13 inc/settings-usage-shortcode.php:105
32
  msgid "Video"
33
  msgstr ""
34
 
35
- #: inc/settings-template.php:14 inc/settings-usage-shortcode.php:106
36
  msgid "Content"
37
  msgstr ""
38
 
39
- #: inc/settings-template.php:15 inc/settings-usage-shortcode.php:15
40
- #: inc/settings-usage-shortcode.php:107 inc/settings.php:653 inc/widget.php:217
41
  msgid "Link to Channel"
42
  msgstr ""
43
 
44
- #: inc/settings-template.php:16
45
  msgid "Tools"
46
  msgstr ""
47
 
48
- #: inc/settings-template.php:17
49
  msgid "Help"
50
  msgstr ""
51
 
52
- #: inc/settings-template.php:18 youtube-channel.php:208
53
  msgid "Support"
54
  msgstr ""
55
 
@@ -64,15 +64,15 @@ msgid ""
64
  "if you have set defaults in global plugin settings)."
65
  msgstr ""
66
 
67
- #: inc/settings-usage-shortcode.php:12 youtube-channel.php:327
68
  msgid "General Settings"
69
  msgstr ""
70
 
71
- #: inc/settings-usage-shortcode.php:13 inc/widget.php:163
72
  msgid "Video Settings"
73
  msgstr ""
74
 
75
- #: inc/settings-usage-shortcode.php:14 inc/widget.php:193
76
  msgid "Content Layout"
77
  msgstr ""
78
 
@@ -90,10 +90,10 @@ msgid ""
90
  msgstr ""
91
 
92
  #. Plugin Name of the plugin/theme
93
- #: inc/settings-usage-shortcode.php:115 inc/settings.php:311
94
- #: inc/settings.php:730 inc/settings.php:731 inc/settings.php:758
95
- #: inc/settings.php:772 inc/settings.php:782 inc/settings.php:792
96
- #: inc/widget.php:11
97
  msgid "YouTube Channel"
98
  msgstr ""
99
 
@@ -107,7 +107,7 @@ msgstr ""
107
 
108
  #: inc/settings-usage.php:7
109
  #, php-format
110
- msgid "Add %s to preferred %s, and configure it there."
111
  msgstr ""
112
 
113
  #: inc/settings-usage.php:10
@@ -125,486 +125,429 @@ msgid ""
125
  "settings by shortcode parameters listed in section below."
126
  msgstr ""
127
 
128
- #: inc/settings.php:46 youtube-channel.php:322
129
  msgid "YouTube Data API Key"
130
  msgstr ""
131
 
132
- #: inc/settings.php:54 inc/settings.php:87
133
- msgid "Required"
134
- msgstr ""
135
-
136
- #: inc/settings.php:58
137
  #, php-format
138
  msgid ""
139
  "Your YouTube Data API Key (get it from <a href=\"%1$s\" target=\"_blank\">"
140
  "%2$s</a>)"
141
  msgstr ""
142
 
143
- #: inc/settings.php:69 youtube-channel.php:324
144
  msgid "Google Developers Console"
145
  msgstr ""
146
 
147
- #: inc/settings.php:79
148
  msgid "YouTube Channel ID"
149
  msgstr ""
150
 
151
- #: inc/settings.php:91
152
  #, php-format
153
  msgid ""
154
  "Your YouTube Channel ID (get it from <a href=\"%1$s\" target=\"_blank\">"
155
  "%2$s</a>)"
156
  msgstr ""
157
 
158
- #: inc/settings.php:102 inc/settings.php:136 inc/settings.php:762
159
  msgid "YouTube Account Overview"
160
  msgstr ""
161
 
162
- #: inc/settings.php:112
163
  msgid "YouTube Vanity Name"
164
  msgstr ""
165
 
166
- #: inc/settings.php:120 inc/settings.php:154 inc/settings.php:172
167
- msgid "Optional"
168
- msgstr ""
169
-
170
- #: inc/settings.php:124
171
  #, php-format
172
  msgid ""
173
  "Your YouTube Custom Name (get only part after %1$s instead whole URL from <a "
174
  "href=\"%2$s\" target=\"_blank\">%3$s</a>)"
175
  msgstr ""
176
 
177
- #: inc/settings.php:146
178
  msgid "Legacy YouTube Username"
179
  msgstr ""
180
 
181
- #: inc/settings.php:155
182
  msgid "Your YouTube legacy username"
183
  msgstr ""
184
 
185
- #: inc/settings.php:164
186
  msgid "Default Playlist ID"
187
  msgstr ""
188
 
189
- #: inc/settings.php:173
190
  msgid "Enter default playlist ID (not playlist name)"
191
  msgstr ""
192
 
193
- #: inc/settings.php:182 inc/widget.php:134
194
  msgid "Resource to use"
195
  msgstr ""
196
 
197
- #: inc/settings.php:188
198
  msgid "Resource:"
199
  msgstr ""
200
 
201
- #: inc/settings.php:189
202
  msgid "What to use as resource for feeds"
203
  msgstr ""
204
 
205
- #: inc/settings.php:193
206
  msgid "Channel"
207
  msgstr ""
208
 
209
- #: inc/settings.php:194 inc/widget.php:137
210
  msgid "Favourites"
211
  msgstr ""
212
 
213
- #: inc/settings.php:195
214
  msgid "Liked Video"
215
  msgstr ""
216
 
217
- #: inc/settings.php:196 inc/widget.php:139
218
  msgid "Playlist"
219
  msgstr ""
220
 
221
- #: inc/settings.php:203
222
  msgid "Cache Timeout"
223
  msgstr ""
224
 
225
- #: inc/settings.php:209
226
  msgid "Define caching timeout for YouTube feeds, in seconds"
227
  msgstr ""
228
 
229
- #: inc/settings.php:213
230
- msgid "Do not chache"
231
- msgstr ""
232
-
233
- #: inc/settings.php:214 youtube-channel.php:1271
234
- msgid "1 minute"
235
- msgstr ""
236
-
237
- #: inc/settings.php:215 youtube-channel.php:1272
238
- msgid "5 minutes"
239
- msgstr ""
240
-
241
- #: inc/settings.php:216 youtube-channel.php:1273
242
- msgid "15 minutes"
243
- msgstr ""
244
-
245
- #: inc/settings.php:217 youtube-channel.php:1274
246
- msgid "30 minutes"
247
- msgstr ""
248
-
249
- #: inc/settings.php:218 youtube-channel.php:1277
250
- msgid "1 hour"
251
- msgstr ""
252
-
253
- #: inc/settings.php:219 youtube-channel.php:1278
254
- msgid "2 hours"
255
- msgstr ""
256
-
257
- #: inc/settings.php:220 youtube-channel.php:1279
258
- msgid "5 hours"
259
- msgstr ""
260
-
261
- #: inc/settings.php:221 youtube-channel.php:1280
262
- msgid "10 hours"
263
- msgstr ""
264
-
265
- #: inc/settings.php:222 youtube-channel.php:1281
266
- msgid "12 hours"
267
- msgstr ""
268
-
269
- #: inc/settings.php:223 youtube-channel.php:1282
270
- msgid "18 hours"
271
- msgstr ""
272
-
273
- #: inc/settings.php:224 youtube-channel.php:1285
274
- msgid "1 day"
275
- msgstr ""
276
-
277
- #: inc/settings.php:225 youtube-channel.php:1286
278
- msgid "2 days"
279
- msgstr ""
280
-
281
- #: inc/settings.php:226 youtube-channel.php:1287
282
- msgid "3 days"
283
- msgstr ""
284
-
285
- #: inc/settings.php:227 youtube-channel.php:1288
286
- msgid "4 days"
287
- msgstr ""
288
-
289
- #: inc/settings.php:228 youtube-channel.php:1289
290
- msgid "5 days"
291
- msgstr ""
292
-
293
- #: inc/settings.php:229 youtube-channel.php:1290
294
- msgid "6 days"
295
- msgstr ""
296
-
297
- #: inc/settings.php:230 youtube-channel.php:1293
298
- msgid "1 week"
299
- msgstr ""
300
-
301
- #: inc/settings.php:231 youtube-channel.php:1294
302
- msgid "2 weeks"
303
- msgstr ""
304
-
305
- #: inc/settings.php:232 youtube-channel.php:1295
306
- msgid "3 weeks"
307
- msgstr ""
308
-
309
- #: inc/settings.php:233 youtube-channel.php:1296
310
- msgid "1 month"
311
- msgstr ""
312
-
313
- #: inc/settings.php:240 inc/widget.php:152
314
  msgid "Fetch"
315
  msgstr ""
316
 
317
- #: inc/settings.php:246 inc/widget.php:152
318
  msgid ""
319
- "Number of videos that will be used for random pick (min 2, max 50, default "
320
- "25)"
321
  msgstr ""
322
 
323
- #: inc/settings.php:257 inc/widget.php:155
324
  msgid "Show"
325
  msgstr ""
326
 
327
- #: inc/settings.php:263 inc/widget.php:155
328
  msgid "Number of videos to display"
329
  msgstr ""
330
 
331
- #: inc/settings.php:274
332
- msgid "Use Enhanced privacy"
333
  msgstr ""
334
 
335
- #: inc/settings.php:283
 
 
 
 
 
336
  #, php-format
337
  msgid ""
338
  "Enable this option to protect your visitors privacy. <a href=\"%1$s\" target="
339
  "\"_blank\">%2$s</a>"
340
  msgstr ""
341
 
342
- #: inc/settings.php:294 inc/settings.php:427
343
  msgid "Learn more here"
344
  msgstr ""
345
 
346
- #: inc/settings.php:303
347
- msgid "Enable TinyMCE button"
348
  msgstr ""
349
 
350
- #: inc/settings.php:310
351
  #, php-format
352
  msgid ""
353
  "Disable this option to hide %s button from TinyMCE toolbar on post and page "
354
  "editor."
355
  msgstr ""
356
 
357
- #: inc/settings.php:328
358
  msgid "Video Tweaks"
359
  msgstr ""
360
 
361
- #: inc/settings.php:336
362
  msgid "Initial Width"
363
  msgstr ""
364
 
365
- #: inc/settings.php:342
366
- msgid "Set default width for displayed video, in pixels"
 
 
367
  msgstr ""
368
 
369
- #: inc/settings.php:353 inc/widget.php:164
370
  msgid "Aspect ratio"
371
  msgstr ""
372
 
373
- #: inc/settings.php:359
374
  msgid "Select aspect ratio for displayed video"
375
  msgstr ""
376
 
377
- #: inc/settings.php:371
378
- msgid "What to show?"
379
  msgstr ""
380
 
381
- #: inc/settings.php:377
382
  msgid "Choose how to embed video block"
383
  msgstr ""
384
 
385
- #: inc/settings.php:381 inc/widget.php:179
386
  msgid "Thumbnail"
387
  msgstr ""
388
 
389
- #: inc/settings.php:382 inc/widget.php:180
390
  msgid "HTML5 (iframe)"
391
  msgstr ""
392
 
393
- #: inc/settings.php:383 inc/widget.php:181
394
  msgid "HTML5 (iframe) Asynchronous"
395
  msgstr ""
396
 
397
- #: inc/settings.php:384 inc/widget.php:182
398
  msgid "Embedded Playlist"
399
  msgstr ""
400
 
401
- #: inc/settings.php:392
402
- msgid "Enable Responsive"
403
  msgstr ""
404
 
405
- #: inc/settings.php:398
406
  msgid ""
407
  "Enable this option to make YTC videos and thumbnails responsive by default. "
408
  "Please note, this option will set videos and thumbnail to full width "
409
  "relative to parent container, and disable more than one video per row."
410
  msgstr ""
411
 
412
- #: inc/settings.php:407
413
  msgid "Play inline on iOS"
414
  msgstr ""
415
 
416
- #: inc/settings.php:416
417
  #, php-format
418
  msgid ""
419
  "Enable this option to override fullscreen playback on iOS, and force inline "
420
  "playback on page and in lightbox. <a href=\"%1$s\" target=\"_blank\">%2$s</a>"
421
  msgstr ""
422
 
423
- #: inc/settings.php:436
424
  msgid "Disable Lightbox"
425
  msgstr ""
426
 
427
- #: inc/settings.php:442
428
  msgid ""
429
  "Enable this option to disable built-in lightbox for thumbnails (in case that "
430
  "you have youtube links lightbox trigger in theme or other plugin)."
431
  msgstr ""
432
 
433
- #: inc/settings.php:450
434
- msgid "Enable Full Screen"
435
  msgstr ""
436
 
437
- #: inc/settings.php:456
438
  msgid ""
439
  "Enable this option to make available Full Screen button for embedded "
440
  "playlists."
441
  msgstr ""
442
 
443
- #: inc/settings.php:465
444
  msgid "Light Theme"
445
  msgstr ""
446
 
447
- #: inc/settings.php:471
448
  msgid ""
449
  "Enable this option to use light theme for playback controls instead dark."
450
  msgstr ""
451
 
452
- #: inc/settings.php:479
453
  msgid "Hide Player Controls"
454
  msgstr ""
455
 
456
- #: inc/settings.php:485
457
  msgid "Enable this option to hide playback controls"
458
  msgstr ""
459
 
460
- #: inc/settings.php:494 inc/widget.php:187
461
  msgid "Autoplay video or playlist"
462
  msgstr ""
463
 
464
- #: inc/settings.php:500
465
  msgid ""
466
  "Enable this option to start video playback right after block is rendered"
467
  msgstr ""
468
 
469
- #: inc/settings.php:508 inc/widget.php:188
470
  msgid "Mute video on autoplay"
471
  msgstr ""
472
 
473
- #: inc/settings.php:514
474
  msgid "Enable this option to mute video when start autoplay"
475
  msgstr ""
476
 
477
- #: inc/settings.php:522 inc/widget.php:189
478
- msgid "Hide related videos"
479
  msgstr ""
480
 
481
- #: inc/settings.php:528
482
  msgid "Enable this option to hide related videos after finished playback"
483
  msgstr ""
484
 
485
- #: inc/settings.php:536
486
- msgid "Hide YT logo"
487
  msgstr ""
488
 
489
- #: inc/settings.php:542
490
  msgid ""
491
- "Enable this option to hide YouTube logo from playback control bar. Does not "
492
- "work for all videos."
493
  msgstr ""
494
 
495
- #: inc/settings.php:550
496
- msgid "Hide video annotations"
497
  msgstr ""
498
 
499
- #: inc/settings.php:556
500
  msgid ""
501
- "Enable this option to hide video annotations (custom text set by uploader "
502
- "over video during playback)"
503
  msgstr ""
504
 
505
- #: inc/settings.php:564 inc/widget.php:213
506
- msgid "Hide video info"
507
  msgstr ""
508
 
509
- #: inc/settings.php:570
510
  msgid ""
511
- "Enable this option to hide informations about video before play start (video "
512
- "title and uploader in overlay)"
513
  msgstr ""
514
 
515
- #: inc/settings.php:586
516
  msgid "Content Tweaks"
517
  msgstr ""
518
 
519
- #: inc/settings.php:594 inc/widget.php:196
520
- msgid "Show video title"
521
  msgstr ""
522
 
523
- #: inc/settings.php:600
524
- msgid "Select should we and where display title of video"
525
  msgstr ""
526
 
527
- #: inc/settings.php:604 inc/widget.php:199
528
  msgid "Hide title"
529
  msgstr ""
530
 
531
- #: inc/settings.php:605 inc/widget.php:200
532
  msgid "Above video/thumbnail"
533
  msgstr ""
534
 
535
- #: inc/settings.php:606 inc/widget.php:201
536
  msgid "Below video/thumbnail"
537
  msgstr ""
538
 
539
- #: inc/settings.php:613 inc/widget.php:204
540
- msgid "Show video description"
 
 
 
 
 
 
 
 
541
  msgstr ""
542
 
543
- #: inc/settings.php:619
544
- msgid "Enable this option to display description for video"
545
  msgstr ""
546
 
547
- #: inc/settings.php:627 inc/widget.php:206
548
  msgid "Description length"
549
  msgstr ""
550
 
551
- #: inc/settings.php:633
552
- msgid "Enter length for video description in characters (0 for full length)"
553
  msgstr ""
554
 
555
- #: inc/settings.php:661
556
  msgid "Link to..."
557
  msgstr ""
558
 
559
- #: inc/settings.php:668
560
  msgid "Set where link will lead visitors"
561
  msgstr ""
562
 
563
- #: inc/settings.php:672 inc/widget.php:223
564
  msgid "Hide link"
565
  msgstr ""
566
 
567
- #: inc/settings.php:673
568
  msgid "Vanity custom URL"
569
  msgstr ""
570
 
571
- #: inc/settings.php:674
572
  msgid "Channel page URL"
573
  msgstr ""
574
 
575
- #: inc/settings.php:675
576
  msgid "Legacy username page"
577
  msgstr ""
578
 
579
- #: inc/settings.php:682
580
  msgid "Open link in..."
581
  msgstr ""
582
 
583
- #: inc/settings.php:689
584
- msgid "Set where link will be opened"
585
  msgstr ""
586
 
587
- #: inc/settings.php:693
588
  msgid "same window"
589
  msgstr ""
590
 
591
- #: inc/settings.php:694
592
  msgid "new window (JavaScript)"
593
  msgstr ""
594
 
595
- #: inc/settings.php:695
596
  msgid "new window (target=\"_blank\")"
597
  msgstr ""
598
 
599
- #: inc/settings.php:702
600
  msgid "Text for Visit channel link"
601
  msgstr ""
602
 
603
- #: inc/settings.php:709
604
  msgid "Set default title for link"
605
  msgstr ""
606
 
607
- #: inc/settings.php:748
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
608
  #, php-format
609
  msgid ""
610
  "Configure general defaults for %1$s used as fallback options in widget or "
@@ -612,232 +555,255 @@ msgid ""
612
  "%5$s</a>."
613
  msgstr ""
614
 
615
- #: inc/settings.php:759 inc/widget.php:108 inc/widget.php:119
616
  msgid "Channel ID"
617
  msgstr ""
618
 
619
- #: inc/settings.php:760
620
  msgid "Vanity URL"
621
  msgstr ""
622
 
623
- #: inc/settings.php:771
624
  #, php-format
625
  msgid ""
626
  "Configure video specific defaults for %s used as fallback options in widget "
627
  "or shortcodes."
628
  msgstr ""
629
 
630
- #: inc/settings.php:781
631
  #, php-format
632
  msgid ""
633
  "Configure defaults of content around and over videos for %s used as fallback "
634
  "options in widget or shortcodes."
635
  msgstr ""
636
 
637
- #: inc/settings.php:791
638
  #, php-format
639
  msgid ""
640
  "Configure defaults for link to channel below %s block used as fallback "
641
  "options in widget or shortcodes."
642
  msgstr ""
643
 
644
- #: inc/settings.php:968
645
  msgid "You do not have sufficient permissions to access this page."
646
  msgstr ""
647
 
648
- #: inc/widget.php:14
649
  msgid "Serve YouTube videos from channel or playlist right to widget area"
650
  msgstr ""
651
 
652
- #: inc/widget.php:90
653
  msgid "Widget Title"
654
  msgstr ""
655
 
656
- #: inc/widget.php:91
657
  msgid "Title for widget"
658
  msgstr ""
659
 
660
- #: inc/widget.php:95
661
  msgid "Custom CSS Class"
662
  msgstr ""
663
 
664
- #: inc/widget.php:96
665
  msgid "Enter custom class for YTC block, if you wish to target block styling"
666
  msgstr ""
667
 
668
- #: inc/widget.php:103
669
  #, php-format
670
  msgid ""
671
  "Get your %1$s and %2$s from <a href=\"%3$s\" target=\"_blank\">here</a>."
672
  msgstr ""
673
 
674
- #: inc/widget.php:109
675
  msgid "Custom ID"
676
  msgstr ""
677
 
678
- #: inc/widget.php:114
679
  msgid "Vanity/Custom ID"
680
  msgstr ""
681
 
682
- #: inc/widget.php:115
683
  msgid "YouTube Vanity/Custom ID from URL (part after /c/)"
684
  msgstr ""
685
 
686
- #: inc/widget.php:120
687
  msgid ""
688
  "Find Channel ID behind My Channel menu item in YouTube (ID have UC at the "
689
  "beginning)"
690
  msgstr ""
691
 
692
- #: inc/widget.php:124
693
  msgid "Legacy Username"
694
  msgstr ""
695
 
696
- #: inc/widget.php:125
697
  msgid ""
698
  "Legacy YouTube username located behind /user/ part of channel URL (available "
699
  "only on old YouTube accounts)"
700
  msgstr ""
701
 
702
- #: inc/widget.php:129
703
  msgid "Playlist ID"
704
  msgstr ""
705
 
706
- #: inc/widget.php:130
707
  msgid "Find Playlist ID in your playlists (ID have PL at the beginning)"
708
  msgstr ""
709
 
710
- #: inc/widget.php:136
711
  msgid "Channel (User Uploads)"
712
  msgstr ""
713
 
714
- #: inc/widget.php:138
715
  msgid "Liked Videos"
716
  msgstr ""
717
 
718
- #: inc/widget.php:144
719
  msgid "Cache feed"
720
  msgstr ""
721
 
722
- #: inc/widget.php:146
723
  msgid "Do not cache"
724
  msgstr ""
725
 
726
- #: inc/widget.php:152 inc/widget.php:155
 
 
 
 
 
 
727
  msgid "video(s)"
728
  msgstr ""
729
 
730
- #: inc/widget.php:158
731
  msgid "Enable this option to protect your visitors privacy"
732
  msgstr ""
733
 
734
- #: inc/widget.php:158
735
  #, php-format
736
  msgid "Enable <a href=\"%s\" target=\"_blank\">privacy-enhanced mode</a>"
737
  msgstr ""
738
 
739
- #: inc/widget.php:160
740
  msgid "Get random videos of all fetched from channel or playlist"
741
  msgstr ""
742
 
743
- #: inc/widget.php:160
744
  msgid ""
745
  "Show random video from resource <small>(Have no effect if \"What to show?\" "
746
  "has been set to \"Embedded Playlist\")</small>"
747
  msgstr ""
748
 
749
- #: inc/widget.php:169
750
  msgid ""
751
  "Responsive video <small>(distribute one full width item per row)</small>"
752
  msgstr ""
753
 
754
- #: inc/widget.php:172
755
  msgid "Initial width"
756
  msgstr ""
757
 
758
- #: inc/widget.php:172
759
  msgid "Set video width in pixels"
760
  msgstr ""
761
 
762
- #: inc/widget.php:172
763
  msgid "default"
764
  msgstr ""
765
 
766
- #: inc/widget.php:176
767
  msgid "What to display?"
768
  msgstr ""
769
 
770
- #: inc/widget.php:184
771
  msgid "Hide thumbnail tooltip"
772
  msgstr ""
773
 
774
- #: inc/widget.php:185
775
  msgid "Use light theme (default is dark)"
776
  msgstr ""
777
 
778
- #: inc/widget.php:186
779
  msgid "Hide player controls"
780
  msgstr ""
781
 
782
- #: inc/widget.php:190
 
 
 
 
783
  msgid "Hide YT Logo (does not work for all videos)"
784
  msgstr ""
785
 
786
- #: inc/widget.php:207
 
 
 
 
 
 
 
 
787
  msgid ""
788
  "Set number of characters to cut down video description to (0 means full "
789
  "length)"
790
  msgstr ""
791
 
792
- #: inc/widget.php:210
793
  msgid "Hide annotations from video"
794
  msgstr ""
795
 
796
- #: inc/widget.php:212
797
  msgid ""
798
  "Enabling this option causes the player to not display information like the "
799
  "video title and uploader before the video starts playing."
800
  msgstr ""
801
 
802
- #: inc/widget.php:219
 
 
 
 
 
803
  msgid ""
804
- "Default: Visit our YouTube channel. You can use placeholders %vanity%, "
805
- "%channel% and %username%."
806
  msgstr ""
807
 
808
- #: inc/widget.php:219 youtube-channel.php:1042
809
  msgid "Visit our YouTube channel"
810
  msgstr ""
811
 
812
- #: inc/widget.php:224
813
  msgid "Link to Vanity customized URL"
814
  msgstr ""
815
 
816
- #: inc/widget.php:225
817
  msgid "Link to Channel page URL"
818
  msgstr ""
819
 
820
- #: inc/widget.php:226
821
  msgid "Link to Legacy username page"
822
  msgstr ""
823
 
824
- #: inc/widget.php:231
825
  msgid "Open link in same window"
826
  msgstr ""
827
 
828
- #: inc/widget.php:232
829
  msgid "Open link in new window (JavaScript)"
830
  msgstr ""
831
 
832
- #: inc/widget.php:233
833
  msgid "Open link in new window (target=\"blank\")"
834
  msgstr ""
835
 
836
- #: inc/widget.php:237
837
  msgid "Does not work?"
838
  msgstr ""
839
 
840
- #: inc/widget.php:243
841
  #, php-format
842
  msgid ""
843
  "Carefully read <a href=\"%1$s\" target=\"_faq\">%2$s</a> before you contact "
@@ -847,89 +813,73 @@ msgid ""
847
  "article</a>."
848
  msgstr ""
849
 
850
- #: inc/widget.php:249
851
  msgid "FAQ"
852
  msgstr ""
853
 
854
- #: youtube-channel.php:185
855
  msgid "Settings"
856
  msgstr ""
857
 
858
- #: youtube-channel.php:286
859
  #, php-format
860
  msgid ""
861
- "<p>Your website running on web server with PHP version %s. Please note that "
862
- "<strong>%s</strong> requires PHP at least 5.3 or newer to work properly. <a "
863
- "href=\"%s\" class=\"dismiss\">Dismiss</a></p>"
864
  msgstr ""
865
 
866
- #: youtube-channel.php:299
867
  #, php-format
868
  msgid ""
869
- "<p>Since <strong>%s</strong> v3.0.6 we store <strong>YouTube Data API Key</"
870
- "strong> in plugin settings. So, you can safely remove %s define line from "
871
- "your <strong>wp-config.php</strong> file. <a href=\"%s\" class=\"dismiss"
872
  "\">Dismiss</a></p>"
873
  msgstr ""
874
 
875
- #: youtube-channel.php:311
876
- #, php-format
877
- msgid ""
878
- "<p>Please note, to make <strong>%1$s</strong> plugin v3+ work, generate "
879
- "<strong>%2$s</strong> in <a href=\"%3$s\" target=\"_blank\">%4$s</a>, as "
880
- "explained <a href=\"%5$s\" target=\"_blank\">here</a>, then add it to <a "
881
- "href=\"%6$s\">%7$s</a>.<br><br>If you have any issue with new version of "
882
- "plugin, please ask for help on official <a href=\"%8$s\" target=\"_blank\">"
883
- "%9$s</a>.<br>This notice will disappear when you add missing key as "
884
- "mentioned above!</p>"
885
- msgstr ""
886
-
887
- #: youtube-channel.php:329
888
- msgid "support forum"
889
- msgstr ""
890
-
891
- #: youtube-channel.php:338
892
  #, php-format
893
  msgid ""
894
- "<p><strong>%s</strong> since version 2.4 supports linking to channel through "
895
- "<em>Vanity/Custom</em> URL. Please review <a href=\"%s\">global</a> and <a "
896
- "href=\"%s\">widgets</a> settings. <a href=\"%s\" class=\"dismiss\">Dismiss</"
897
- "a>"
898
  msgstr ""
899
 
900
- #: youtube-channel.php:352
901
  #, php-format
902
  msgid ""
903
- "<p><strong>%s</strong> changed shortcode parameters by removing "
904
  "<code>only_pl</code> and <code>showgoto</code>, and combining with "
905
  "parameters <code>display</code> and <code>link_to</code> respectively. "
906
- "Please check out <a href=\"%s&tab=help\">%s</a> and update your shortcodes. "
907
- "<a href=\"%s\" class=\"dismiss\">Dismiss</a>"
908
  msgstr ""
909
 
910
- #: youtube-channel.php:615
911
  #, php-format
912
  msgid ""
913
- "<strong>%s</strong> version 3+ requires <strong>YouTube DATA API Key</"
914
- "strong> to work. <a href=\"%s\" target=\"_blank\">Learn more here</a>."
915
  msgstr ""
916
 
917
- #: youtube-channel.php:789
918
  #, php-format
919
  msgid ""
920
- "You have set to display videos from %s [resource list ID: %s], but there "
921
  "have no public videos in that resouce."
922
  msgstr ""
923
 
924
- #: youtube-channel.php:792
925
  #, php-format
926
  msgid ""
927
- "We have empty record for this feed. Please read <a href=\"%s\" target="
928
- "\"_blank\">FAQ</a> and if that does not help, contact <a href=\"%s\" target="
929
- "\"_blank\">support</a>."
930
  msgstr ""
931
 
932
- #: youtube-channel.php:834
933
  #, php-format
934
  msgid ""
935
  "Double check <em>YouTube Data API Key</em> on <em>General</em> plugin tab "
@@ -937,35 +887,115 @@ msgid ""
937
  "\">Installation</a> document."
938
  msgstr ""
939
 
940
- #: youtube-channel.php:840
941
  #, php-format
942
  msgid ""
943
  "You have set wrong Channel ID. Fix that in General plugin settings, Widget "
944
  "and/or shortcode. Read <a href=\"%s\" target=\"_blank\">FAQ</a> document."
945
  msgstr ""
946
 
947
- #: youtube-channel.php:843
948
  #, php-format
949
  msgid ""
950
  "You do not have permission to access ressource <strong>%s</strong> (it's "
951
  "maybe set to private or even does not exists!)"
952
  msgstr ""
953
 
954
- #: youtube-channel.php:964
955
  msgid "Oops, something went wrong."
956
  msgstr ""
957
 
958
- #: youtube-channel.php:1045
959
  msgid "in new window/tab"
960
  msgstr ""
961
 
962
- #: youtube-channel.php:1195
963
  #, php-format
964
  msgid "Watch video %1$s published on %2$s"
965
  msgstr ""
966
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
967
  #. Plugin URI of the plugin/theme
968
- msgid "http://urosevic.net/wordpress/plugins/youtube-channel/"
969
  msgstr ""
970
 
971
  #. Description of the plugin/theme
@@ -981,5 +1011,5 @@ msgid "Aleksandar Urošević"
981
  msgstr ""
982
 
983
  #. Author URI of the plugin/theme
984
- msgid "http://urosevic.net/"
985
  msgstr ""
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: YouTube Channel\n"
5
+ "POT-Creation-Date: 2017-02-24 18:40+0100\n"
6
  "PO-Revision-Date: 2015-06-19 21:15+0100\n"
7
  "Last-Translator: Aleksandar Urošević <urke.kg@gmail.com>\n"
8
  "Language-Team: Aleksandar Urošević <urke.kg@gmail.com>\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.8.12\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "X-Poedit-WPHeader: youtube-channel.php\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
19
  "X-Poedit-SearchPath-0: .\n"
20
  "X-Poedit-SearchPathExcluded-0: *.js\n"
21
 
22
+ #: inc/settings-template.php:11
23
  msgid " Settings"
24
  msgstr ""
25
 
26
+ #: inc/settings-template.php:17 inc/settings-usage-shortcode.php:104
27
+ #: inc/settings.php:44
28
  msgid "General"
29
  msgstr ""
30
 
31
+ #: inc/settings-template.php:18 inc/settings-usage-shortcode.php:105
32
  msgid "Video"
33
  msgstr ""
34
 
35
+ #: inc/settings-template.php:19 inc/settings-usage-shortcode.php:106
36
  msgid "Content"
37
  msgstr ""
38
 
39
+ #: inc/settings-template.php:20 inc/settings-usage-shortcode.php:15
40
+ #: inc/settings-usage-shortcode.php:107 inc/settings.php:669 inc/widget.php:231
41
  msgid "Link to Channel"
42
  msgstr ""
43
 
44
+ #: inc/settings-template.php:21
45
  msgid "Tools"
46
  msgstr ""
47
 
48
+ #: inc/settings-template.php:22
49
  msgid "Help"
50
  msgstr ""
51
 
52
+ #: inc/settings-template.php:23 youtube-channel.php:209
53
  msgid "Support"
54
  msgstr ""
55
 
64
  "if you have set defaults in global plugin settings)."
65
  msgstr ""
66
 
67
+ #: inc/settings-usage-shortcode.php:12 youtube-channel.php:329
68
  msgid "General Settings"
69
  msgstr ""
70
 
71
+ #: inc/settings-usage-shortcode.php:13 inc/widget.php:177
72
  msgid "Video Settings"
73
  msgstr ""
74
 
75
+ #: inc/settings-usage-shortcode.php:14 inc/widget.php:207
76
  msgid "Content Layout"
77
  msgstr ""
78
 
90
  msgstr ""
91
 
92
  #. Plugin Name of the plugin/theme
93
+ #: inc/settings-usage-shortcode.php:115 inc/settings.php:298
94
+ #: inc/settings.php:744 inc/settings.php:745 inc/settings.php:793
95
+ #: inc/settings.php:807 inc/settings.php:816 inc/settings.php:825
96
+ #: inc/widget.php:17
97
  msgid "YouTube Channel"
98
  msgstr ""
99
 
107
 
108
  #: inc/settings-usage.php:7
109
  #, php-format
110
+ msgid "Add %1$s to preferred %2$s, and configure it there."
111
  msgstr ""
112
 
113
  #: inc/settings-usage.php:10
125
  "settings by shortcode parameters listed in section below."
126
  msgstr ""
127
 
128
+ #: inc/settings.php:52 youtube-channel.php:324
129
  msgid "YouTube Data API Key"
130
  msgstr ""
131
 
132
+ #: inc/settings.php:65
 
 
 
 
133
  #, php-format
134
  msgid ""
135
  "Your YouTube Data API Key (get it from <a href=\"%1$s\" target=\"_blank\">"
136
  "%2$s</a>)"
137
  msgstr ""
138
 
139
+ #: inc/settings.php:76 youtube-channel.php:326
140
  msgid "Google Developers Console"
141
  msgstr ""
142
 
143
+ #: inc/settings.php:86
144
  msgid "YouTube Channel ID"
145
  msgstr ""
146
 
147
+ #: inc/settings.php:98
148
  #, php-format
149
  msgid ""
150
  "Your YouTube Channel ID (get it from <a href=\"%1$s\" target=\"_blank\">"
151
  "%2$s</a>)"
152
  msgstr ""
153
 
154
+ #: inc/settings.php:109 inc/settings.php:143 inc/settings.php:797
155
  msgid "YouTube Account Overview"
156
  msgstr ""
157
 
158
+ #: inc/settings.php:119
159
  msgid "YouTube Vanity Name"
160
  msgstr ""
161
 
162
+ #: inc/settings.php:131
 
 
 
 
163
  #, php-format
164
  msgid ""
165
  "Your YouTube Custom Name (get only part after %1$s instead whole URL from <a "
166
  "href=\"%2$s\" target=\"_blank\">%3$s</a>)"
167
  msgstr ""
168
 
169
+ #: inc/settings.php:153
170
  msgid "Legacy YouTube Username"
171
  msgstr ""
172
 
173
+ #: inc/settings.php:162
174
  msgid "Your YouTube legacy username"
175
  msgstr ""
176
 
177
+ #: inc/settings.php:171
178
  msgid "Default Playlist ID"
179
  msgstr ""
180
 
181
+ #: inc/settings.php:180
182
  msgid "Enter default playlist ID (not playlist name)"
183
  msgstr ""
184
 
185
+ #: inc/settings.php:189 inc/widget.php:148
186
  msgid "Resource to use"
187
  msgstr ""
188
 
189
+ #: inc/settings.php:195
190
  msgid "Resource:"
191
  msgstr ""
192
 
193
+ #: inc/settings.php:196
194
  msgid "What to use as resource for feeds"
195
  msgstr ""
196
 
197
+ #: inc/settings.php:200
198
  msgid "Channel"
199
  msgstr ""
200
 
201
+ #: inc/settings.php:201 inc/widget.php:151
202
  msgid "Favourites"
203
  msgstr ""
204
 
205
+ #: inc/settings.php:202
206
  msgid "Liked Video"
207
  msgstr ""
208
 
209
+ #: inc/settings.php:203 inc/widget.php:153
210
  msgid "Playlist"
211
  msgstr ""
212
 
213
+ #: inc/settings.php:210
214
  msgid "Cache Timeout"
215
  msgstr ""
216
 
217
+ #: inc/settings.php:216
218
  msgid "Define caching timeout for YouTube feeds, in seconds"
219
  msgstr ""
220
 
221
+ #: inc/settings.php:225 inc/widget.php:166
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
  msgid "Fetch"
223
  msgstr ""
224
 
225
+ #: inc/settings.php:231
226
  msgid ""
227
+ "Number of videos that will be fetched from YouTube and used for random pick "
228
+ "(min 2, max 50, default 25)"
229
  msgstr ""
230
 
231
+ #: inc/settings.php:242 inc/widget.php:169
232
  msgid "Show"
233
  msgstr ""
234
 
235
+ #: inc/settings.php:248 inc/widget.php:169
236
  msgid "Number of videos to display"
237
  msgstr ""
238
 
239
+ #: inc/settings.php:259
240
+ msgid "Enhanced Privacy"
241
  msgstr ""
242
 
243
+ #: inc/settings.php:265 inc/settings.php:295 inc/settings.php:386
244
+ #: inc/settings.php:445
245
+ msgid "Enable"
246
+ msgstr ""
247
+
248
+ #: inc/settings.php:269
249
  #, php-format
250
  msgid ""
251
  "Enable this option to protect your visitors privacy. <a href=\"%1$s\" target="
252
  "\"_blank\">%2$s</a>"
253
  msgstr ""
254
 
255
+ #: inc/settings.php:280 inc/settings.php:416
256
  msgid "Learn more here"
257
  msgstr ""
258
 
259
+ #: inc/settings.php:289
260
+ msgid "TinyMCE button"
261
  msgstr ""
262
 
263
+ #: inc/settings.php:297
264
  #, php-format
265
  msgid ""
266
  "Disable this option to hide %s button from TinyMCE toolbar on post and page "
267
  "editor."
268
  msgstr ""
269
 
270
+ #: inc/settings.php:316
271
  msgid "Video Tweaks"
272
  msgstr ""
273
 
274
+ #: inc/settings.php:324
275
  msgid "Initial Width"
276
  msgstr ""
277
 
278
+ #: inc/settings.php:330
279
+ msgid ""
280
+ "Set default width for displayed video, in pixels. This value have effect "
281
+ "only if Responsive Video option is disabled!"
282
  msgstr ""
283
 
284
+ #: inc/settings.php:341 inc/widget.php:178
285
  msgid "Aspect ratio"
286
  msgstr ""
287
 
288
+ #: inc/settings.php:347
289
  msgid "Select aspect ratio for displayed video"
290
  msgstr ""
291
 
292
+ #: inc/settings.php:359
293
+ msgid "Embed as"
294
  msgstr ""
295
 
296
+ #: inc/settings.php:365
297
  msgid "Choose how to embed video block"
298
  msgstr ""
299
 
300
+ #: inc/settings.php:369 inc/widget.php:193
301
  msgid "Thumbnail"
302
  msgstr ""
303
 
304
+ #: inc/settings.php:370 inc/widget.php:194
305
  msgid "HTML5 (iframe)"
306
  msgstr ""
307
 
308
+ #: inc/settings.php:371 inc/widget.php:195
309
  msgid "HTML5 (iframe) Asynchronous"
310
  msgstr ""
311
 
312
+ #: inc/settings.php:372 inc/widget.php:196
313
  msgid "Embedded Playlist"
314
  msgstr ""
315
 
316
+ #: inc/settings.php:380
317
+ msgid "Responsive Video"
318
  msgstr ""
319
 
320
+ #: inc/settings.php:387
321
  msgid ""
322
  "Enable this option to make YTC videos and thumbnails responsive by default. "
323
  "Please note, this option will set videos and thumbnail to full width "
324
  "relative to parent container, and disable more than one video per row."
325
  msgstr ""
326
 
327
+ #: inc/settings.php:396
328
  msgid "Play inline on iOS"
329
  msgstr ""
330
 
331
+ #: inc/settings.php:405
332
  #, php-format
333
  msgid ""
334
  "Enable this option to override fullscreen playback on iOS, and force inline "
335
  "playback on page and in lightbox. <a href=\"%1$s\" target=\"_blank\">%2$s</a>"
336
  msgstr ""
337
 
338
+ #: inc/settings.php:425
339
  msgid "Disable Lightbox"
340
  msgstr ""
341
 
342
+ #: inc/settings.php:431
343
  msgid ""
344
  "Enable this option to disable built-in lightbox for thumbnails (in case that "
345
  "you have youtube links lightbox trigger in theme or other plugin)."
346
  msgstr ""
347
 
348
+ #: inc/settings.php:439
349
+ msgid "Full Screen"
350
  msgstr ""
351
 
352
+ #: inc/settings.php:446
353
  msgid ""
354
  "Enable this option to make available Full Screen button for embedded "
355
  "playlists."
356
  msgstr ""
357
 
358
+ #: inc/settings.php:455
359
  msgid "Light Theme"
360
  msgstr ""
361
 
362
+ #: inc/settings.php:461
363
  msgid ""
364
  "Enable this option to use light theme for playback controls instead dark."
365
  msgstr ""
366
 
367
+ #: inc/settings.php:469
368
  msgid "Hide Player Controls"
369
  msgstr ""
370
 
371
+ #: inc/settings.php:475
372
  msgid "Enable this option to hide playback controls"
373
  msgstr ""
374
 
375
+ #: inc/settings.php:484 inc/widget.php:201
376
  msgid "Autoplay video or playlist"
377
  msgstr ""
378
 
379
+ #: inc/settings.php:490
380
  msgid ""
381
  "Enable this option to start video playback right after block is rendered"
382
  msgstr ""
383
 
384
+ #: inc/settings.php:498 inc/widget.php:202
385
  msgid "Mute video on autoplay"
386
  msgstr ""
387
 
388
+ #: inc/settings.php:504
389
  msgid "Enable this option to mute video when start autoplay"
390
  msgstr ""
391
 
392
+ #: inc/settings.php:512
393
+ msgid "No related videos"
394
  msgstr ""
395
 
396
+ #: inc/settings.php:518
397
  msgid "Enable this option to hide related videos after finished playback"
398
  msgstr ""
399
 
400
+ #: inc/settings.php:526
401
+ msgid "No video annotations"
402
  msgstr ""
403
 
404
+ #: inc/settings.php:532
405
  msgid ""
406
+ "Enable this option to hide video annotations (custom text set by uploader "
407
+ "over video during playback)"
408
  msgstr ""
409
 
410
+ #: inc/settings.php:540
411
+ msgid "No video info"
412
  msgstr ""
413
 
414
+ #: inc/settings.php:546
415
  msgid ""
416
+ "Enable this option to hide informations about video before play start (video "
417
+ "title and uploader in overlay)"
418
  msgstr ""
419
 
420
+ #: inc/settings.php:554
421
+ msgid "No YouTube logo"
422
  msgstr ""
423
 
424
+ #: inc/settings.php:560
425
  msgid ""
426
+ "Enable this option to hide YouTube logo from playback control bar. Does not "
427
+ "work for all videos."
428
  msgstr ""
429
 
430
+ #: inc/settings.php:577
431
  msgid "Content Tweaks"
432
  msgstr ""
433
 
434
+ #: inc/settings.php:585
435
+ msgid "Video title"
436
  msgstr ""
437
 
438
+ #: inc/settings.php:591
439
+ msgid "Select should we and where to display title of video."
440
  msgstr ""
441
 
442
+ #: inc/settings.php:595 inc/widget.php:213
443
  msgid "Hide title"
444
  msgstr ""
445
 
446
+ #: inc/settings.php:596 inc/widget.php:214
447
  msgid "Above video/thumbnail"
448
  msgstr ""
449
 
450
+ #: inc/settings.php:597 inc/widget.php:215
451
  msgid "Below video/thumbnail"
452
  msgstr ""
453
 
454
+ #: inc/settings.php:604
455
+ msgid "Title HTML tag"
456
+ msgstr ""
457
+
458
+ #: inc/settings.php:613
459
+ msgid "Select which HTML tag to use for title wrapper."
460
+ msgstr ""
461
+
462
+ #: inc/settings.php:629
463
+ msgid "Video description"
464
  msgstr ""
465
 
466
+ #: inc/settings.php:635
467
+ msgid "Enable this option to show video description."
468
  msgstr ""
469
 
470
+ #: inc/settings.php:643 inc/widget.php:220
471
  msgid "Description length"
472
  msgstr ""
473
 
474
+ #: inc/settings.php:649
475
+ msgid "Enter length for video description in characters (0 for full length)."
476
  msgstr ""
477
 
478
+ #: inc/settings.php:677
479
  msgid "Link to..."
480
  msgstr ""
481
 
482
+ #: inc/settings.php:683
483
  msgid "Set where link will lead visitors"
484
  msgstr ""
485
 
486
+ #: inc/settings.php:687 inc/widget.php:237
487
  msgid "Hide link"
488
  msgstr ""
489
 
490
+ #: inc/settings.php:688
491
  msgid "Vanity custom URL"
492
  msgstr ""
493
 
494
+ #: inc/settings.php:689
495
  msgid "Channel page URL"
496
  msgstr ""
497
 
498
+ #: inc/settings.php:690
499
  msgid "Legacy username page"
500
  msgstr ""
501
 
502
+ #: inc/settings.php:697
503
  msgid "Open link in..."
504
  msgstr ""
505
 
506
+ #: inc/settings.php:703
507
+ msgid "Set how link will be opened"
508
  msgstr ""
509
 
510
+ #: inc/settings.php:707
511
  msgid "same window"
512
  msgstr ""
513
 
514
+ #: inc/settings.php:708
515
  msgid "new window (JavaScript)"
516
  msgstr ""
517
 
518
+ #: inc/settings.php:709
519
  msgid "new window (target=\"_blank\")"
520
  msgstr ""
521
 
522
+ #: inc/settings.php:716
523
  msgid "Text for Visit channel link"
524
  msgstr ""
525
 
526
+ #: inc/settings.php:723
527
  msgid "Set default title for link"
528
  msgstr ""
529
 
530
+ #: inc/settings.php:758
531
+ msgid "Required"
532
+ msgstr ""
533
+
534
+ #: inc/settings.php:764
535
+ msgid "This option is global only and can`t be changed per widget/shortcode"
536
+ msgstr ""
537
+
538
+ #: inc/settings.php:765
539
+ msgid "Global"
540
+ msgstr ""
541
+
542
+ #: inc/settings.php:771
543
+ msgid "You can leave this option empty and set it per widget/shortcode."
544
+ msgstr ""
545
+
546
+ #: inc/settings.php:772
547
+ msgid "Optional"
548
+ msgstr ""
549
+
550
+ #: inc/settings.php:783
551
  #, php-format
552
  msgid ""
553
  "Configure general defaults for %1$s used as fallback options in widget or "
555
  "%5$s</a>."
556
  msgstr ""
557
 
558
+ #: inc/settings.php:794 inc/widget.php:121 inc/widget.php:133
559
  msgid "Channel ID"
560
  msgstr ""
561
 
562
+ #: inc/settings.php:795
563
  msgid "Vanity URL"
564
  msgstr ""
565
 
566
+ #: inc/settings.php:806
567
  #, php-format
568
  msgid ""
569
  "Configure video specific defaults for %s used as fallback options in widget "
570
  "or shortcodes."
571
  msgstr ""
572
 
573
+ #: inc/settings.php:815
574
  #, php-format
575
  msgid ""
576
  "Configure defaults of content around and over videos for %s used as fallback "
577
  "options in widget or shortcodes."
578
  msgstr ""
579
 
580
+ #: inc/settings.php:824
581
  #, php-format
582
  msgid ""
583
  "Configure defaults for link to channel below %s block used as fallback "
584
  "options in widget or shortcodes."
585
  msgstr ""
586
 
587
+ #: inc/settings.php:990
588
  msgid "You do not have sufficient permissions to access this page."
589
  msgstr ""
590
 
591
+ #: inc/widget.php:20
592
  msgid "Serve YouTube videos from channel or playlist right to widget area"
593
  msgstr ""
594
 
595
+ #: inc/widget.php:102
596
  msgid "Widget Title"
597
  msgstr ""
598
 
599
+ #: inc/widget.php:103
600
  msgid "Title for widget"
601
  msgstr ""
602
 
603
+ #: inc/widget.php:107
604
  msgid "Custom CSS Class"
605
  msgstr ""
606
 
607
+ #: inc/widget.php:108
608
  msgid "Enter custom class for YTC block, if you wish to target block styling"
609
  msgstr ""
610
 
611
+ #: inc/widget.php:116
612
  #, php-format
613
  msgid ""
614
  "Get your %1$s and %2$s from <a href=\"%3$s\" target=\"_blank\">here</a>."
615
  msgstr ""
616
 
617
+ #: inc/widget.php:122
618
  msgid "Custom ID"
619
  msgstr ""
620
 
621
+ #: inc/widget.php:128
622
  msgid "Vanity/Custom ID"
623
  msgstr ""
624
 
625
+ #: inc/widget.php:129
626
  msgid "YouTube Vanity/Custom ID from URL (part after /c/)"
627
  msgstr ""
628
 
629
+ #: inc/widget.php:134
630
  msgid ""
631
  "Find Channel ID behind My Channel menu item in YouTube (ID have UC at the "
632
  "beginning)"
633
  msgstr ""
634
 
635
+ #: inc/widget.php:138
636
  msgid "Legacy Username"
637
  msgstr ""
638
 
639
+ #: inc/widget.php:139
640
  msgid ""
641
  "Legacy YouTube username located behind /user/ part of channel URL (available "
642
  "only on old YouTube accounts)"
643
  msgstr ""
644
 
645
+ #: inc/widget.php:143
646
  msgid "Playlist ID"
647
  msgstr ""
648
 
649
+ #: inc/widget.php:144
650
  msgid "Find Playlist ID in your playlists (ID have PL at the beginning)"
651
  msgstr ""
652
 
653
+ #: inc/widget.php:150
654
  msgid "Channel (User Uploads)"
655
  msgstr ""
656
 
657
+ #: inc/widget.php:152
658
  msgid "Liked Videos"
659
  msgstr ""
660
 
661
+ #: inc/widget.php:158
662
  msgid "Cache feed"
663
  msgstr ""
664
 
665
+ #: inc/widget.php:160 youtube-channel.php:1309
666
  msgid "Do not cache"
667
  msgstr ""
668
 
669
+ #: inc/widget.php:166
670
+ msgid ""
671
+ "Number of videos that will be used for random pick (min 2, max 50, default "
672
+ "25)"
673
+ msgstr ""
674
+
675
+ #: inc/widget.php:166 inc/widget.php:169
676
  msgid "video(s)"
677
  msgstr ""
678
 
679
+ #: inc/widget.php:172
680
  msgid "Enable this option to protect your visitors privacy"
681
  msgstr ""
682
 
683
+ #: inc/widget.php:172
684
  #, php-format
685
  msgid "Enable <a href=\"%s\" target=\"_blank\">privacy-enhanced mode</a>"
686
  msgstr ""
687
 
688
+ #: inc/widget.php:174
689
  msgid "Get random videos of all fetched from channel or playlist"
690
  msgstr ""
691
 
692
+ #: inc/widget.php:174
693
  msgid ""
694
  "Show random video from resource <small>(Have no effect if \"What to show?\" "
695
  "has been set to \"Embedded Playlist\")</small>"
696
  msgstr ""
697
 
698
+ #: inc/widget.php:183
699
  msgid ""
700
  "Responsive video <small>(distribute one full width item per row)</small>"
701
  msgstr ""
702
 
703
+ #: inc/widget.php:186
704
  msgid "Initial width"
705
  msgstr ""
706
 
707
+ #: inc/widget.php:186
708
  msgid "Set video width in pixels"
709
  msgstr ""
710
 
711
+ #: inc/widget.php:186
712
  msgid "default"
713
  msgstr ""
714
 
715
+ #: inc/widget.php:190
716
  msgid "What to display?"
717
  msgstr ""
718
 
719
+ #: inc/widget.php:198
720
  msgid "Hide thumbnail tooltip"
721
  msgstr ""
722
 
723
+ #: inc/widget.php:199
724
  msgid "Use light theme (default is dark)"
725
  msgstr ""
726
 
727
+ #: inc/widget.php:200
728
  msgid "Hide player controls"
729
  msgstr ""
730
 
731
+ #: inc/widget.php:203
732
+ msgid "Hide related videos"
733
+ msgstr ""
734
+
735
+ #: inc/widget.php:204
736
  msgid "Hide YT Logo (does not work for all videos)"
737
  msgstr ""
738
 
739
+ #: inc/widget.php:210
740
+ msgid "Show video title"
741
+ msgstr ""
742
+
743
+ #: inc/widget.php:218
744
+ msgid "Show video description"
745
+ msgstr ""
746
+
747
+ #: inc/widget.php:221
748
  msgid ""
749
  "Set number of characters to cut down video description to (0 means full "
750
  "length)"
751
  msgstr ""
752
 
753
+ #: inc/widget.php:224
754
  msgid "Hide annotations from video"
755
  msgstr ""
756
 
757
+ #: inc/widget.php:226
758
  msgid ""
759
  "Enabling this option causes the player to not display information like the "
760
  "video title and uploader before the video starts playing."
761
  msgstr ""
762
 
763
+ #: inc/widget.php:227
764
+ msgid "Hide video info"
765
+ msgstr ""
766
+
767
+ #: inc/widget.php:233
768
+ #, php-format
769
  msgid ""
770
+ "Default: Visit our YouTube channel. You can use placeholders %1$s, %2$s and "
771
+ "%3$s."
772
  msgstr ""
773
 
774
+ #: inc/widget.php:233 youtube-channel.php:1058
775
  msgid "Visit our YouTube channel"
776
  msgstr ""
777
 
778
+ #: inc/widget.php:238
779
  msgid "Link to Vanity customized URL"
780
  msgstr ""
781
 
782
+ #: inc/widget.php:239
783
  msgid "Link to Channel page URL"
784
  msgstr ""
785
 
786
+ #: inc/widget.php:240
787
  msgid "Link to Legacy username page"
788
  msgstr ""
789
 
790
+ #: inc/widget.php:245
791
  msgid "Open link in same window"
792
  msgstr ""
793
 
794
+ #: inc/widget.php:246
795
  msgid "Open link in new window (JavaScript)"
796
  msgstr ""
797
 
798
+ #: inc/widget.php:247
799
  msgid "Open link in new window (target=\"blank\")"
800
  msgstr ""
801
 
802
+ #: inc/widget.php:251
803
  msgid "Does not work?"
804
  msgstr ""
805
 
806
+ #: inc/widget.php:258
807
  #, php-format
808
  msgid ""
809
  "Carefully read <a href=\"%1$s\" target=\"_faq\">%2$s</a> before you contact "
813
  "article</a>."
814
  msgstr ""
815
 
816
+ #: inc/widget.php:264
817
  msgid "FAQ"
818
  msgstr ""
819
 
820
+ #: youtube-channel.php:186
821
  msgid "Settings"
822
  msgstr ""
823
 
824
+ #: youtube-channel.php:288
825
  #, php-format
826
  msgid ""
827
+ "<p>Your website running on web server with PHP version %1$s. Please note "
828
+ "that <strong>%2$s</strong> requires PHP at least 5.3 or newer to work "
829
+ "properly. <a href=\"%3$s\" class=\"dismiss\">Dismiss</a></p>"
830
  msgstr ""
831
 
832
+ #: youtube-channel.php:301
833
  #, php-format
834
  msgid ""
835
+ "<p>Since <strong>%1$s</strong> v3.0.6 we store <strong>YouTube Data API Key</"
836
+ "strong> in plugin settings. So, you can safely remove %2$s define line from "
837
+ "your <strong>wp-config.php</strong> file. <a href=\"%3$s\" class=\"dismiss"
838
  "\">Dismiss</a></p>"
839
  msgstr ""
840
 
841
+ #: youtube-channel.php:313
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
842
  #, php-format
843
  msgid ""
844
+ "<p><strong>%1$s v3</strong> require <strong>%2$s</strong> set on plugin <a "
845
+ "href=\"%6$s\">%7$s</a>. You can generate your own key on <a href=\"%3$s\" "
846
+ "target=\"_blank\">%4$s</a> by following <a href=\"%5$s\" target=\"_blank"
847
+ "\">this tutorial</a>.</p>"
848
  msgstr ""
849
 
850
+ #: youtube-channel.php:336
851
  #, php-format
852
  msgid ""
853
+ "<p><strong>%1$s</strong> changed shortcode parameters by removing "
854
  "<code>only_pl</code> and <code>showgoto</code>, and combining with "
855
  "parameters <code>display</code> and <code>link_to</code> respectively. "
856
+ "Please check out <a href=\"%2$s&tab=help\">%3$s</a> and update your "
857
+ "shortcodes. <a href=\"%4$s\" class=\"dismiss\">Dismiss</a>"
858
  msgstr ""
859
 
860
+ #: youtube-channel.php:596
861
  #, php-format
862
  msgid ""
863
+ "<strong>%1$s v3</strong> requires <strong>YouTube DATA API Key</strong> to "
864
+ "work. <a href=\"%2$s\" target=\"_blank\">Learn more here</a>."
865
  msgstr ""
866
 
867
+ #: youtube-channel.php:773
868
  #, php-format
869
  msgid ""
870
+ "You have set to display videos from %1$s [resource list ID: %2$s], but there "
871
  "have no public videos in that resouce."
872
  msgstr ""
873
 
874
+ #: youtube-channel.php:776
875
  #, php-format
876
  msgid ""
877
+ "We have empty record for this feed. Please read <a href=\"%1$s\" target="
878
+ "\"_blank\">FAQ</a> and if that does not help, contact <a href=\"%2$s\" "
879
+ "target=\"_blank\">support</a>."
880
  msgstr ""
881
 
882
+ #: youtube-channel.php:818
883
  #, php-format
884
  msgid ""
885
  "Double check <em>YouTube Data API Key</em> on <em>General</em> plugin tab "
887
  "\">Installation</a> document."
888
  msgstr ""
889
 
890
+ #: youtube-channel.php:824
891
  #, php-format
892
  msgid ""
893
  "You have set wrong Channel ID. Fix that in General plugin settings, Widget "
894
  "and/or shortcode. Read <a href=\"%s\" target=\"_blank\">FAQ</a> document."
895
  msgstr ""
896
 
897
+ #: youtube-channel.php:827
898
  #, php-format
899
  msgid ""
900
  "You do not have permission to access ressource <strong>%s</strong> (it's "
901
  "maybe set to private or even does not exists!)"
902
  msgstr ""
903
 
904
+ #: youtube-channel.php:946
905
  msgid "Oops, something went wrong."
906
  msgstr ""
907
 
908
+ #: youtube-channel.php:1061
909
  msgid "in new window/tab"
910
  msgstr ""
911
 
912
+ #: youtube-channel.php:1213
913
  #, php-format
914
  msgid "Watch video %1$s published on %2$s"
915
  msgstr ""
916
 
917
+ #: youtube-channel.php:1310
918
+ msgid "1 minute"
919
+ msgstr ""
920
+
921
+ #: youtube-channel.php:1311
922
+ msgid "5 minutes"
923
+ msgstr ""
924
+
925
+ #: youtube-channel.php:1312
926
+ msgid "15 minutes"
927
+ msgstr ""
928
+
929
+ #: youtube-channel.php:1313
930
+ msgid "30 minutes"
931
+ msgstr ""
932
+
933
+ #: youtube-channel.php:1314
934
+ msgid "1 hour"
935
+ msgstr ""
936
+
937
+ #: youtube-channel.php:1315
938
+ msgid "2 hours"
939
+ msgstr ""
940
+
941
+ #: youtube-channel.php:1316
942
+ msgid "5 hours"
943
+ msgstr ""
944
+
945
+ #: youtube-channel.php:1317
946
+ msgid "10 hours"
947
+ msgstr ""
948
+
949
+ #: youtube-channel.php:1318
950
+ msgid "12 hours"
951
+ msgstr ""
952
+
953
+ #: youtube-channel.php:1319
954
+ msgid "18 hours"
955
+ msgstr ""
956
+
957
+ #: youtube-channel.php:1320
958
+ msgid "1 day"
959
+ msgstr ""
960
+
961
+ #: youtube-channel.php:1321
962
+ msgid "2 days"
963
+ msgstr ""
964
+
965
+ #: youtube-channel.php:1322
966
+ msgid "3 days"
967
+ msgstr ""
968
+
969
+ #: youtube-channel.php:1323
970
+ msgid "4 days"
971
+ msgstr ""
972
+
973
+ #: youtube-channel.php:1324
974
+ msgid "5 days"
975
+ msgstr ""
976
+
977
+ #: youtube-channel.php:1325
978
+ msgid "6 days"
979
+ msgstr ""
980
+
981
+ #: youtube-channel.php:1326
982
+ msgid "1 week"
983
+ msgstr ""
984
+
985
+ #: youtube-channel.php:1327
986
+ msgid "2 weeks"
987
+ msgstr ""
988
+
989
+ #: youtube-channel.php:1328
990
+ msgid "3 weeks"
991
+ msgstr ""
992
+
993
+ #: youtube-channel.php:1329
994
+ msgid "1 month"
995
+ msgstr ""
996
+
997
  #. Plugin URI of the plugin/theme
998
+ msgid "https://urosevic.net/wordpress/plugins/youtube-channel/"
999
  msgstr ""
1000
 
1001
  #. Description of the plugin/theme
1011
  msgstr ""
1012
 
1013
  #. Author URI of the plugin/theme
1014
+ msgid "https://urosevic.net/"
1015
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://urosevic.net/wordpress/donate/?donate_for=youtube-channel
4
  Tags: youtube, channel, playlist, single, widget, widgets, youtube player, feed, video, thumbnail, embed, sidebar, iframe, html5, responsive
5
  Requires at least: 4.0
6
  Tested up to: 4.7.2
7
- Stable tag: 3.0.10.4
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -357,6 +357,9 @@ If you really need that missing feature ASAP, feel free to [contact me](urosevic
357
  If you don't wish to pay for enhancements (then you don't care would that be implemented in a week, month, year or so), then send new [Support topic](https://wordpress.org/support/plugin/youtube-channel) with *Topic title* in format **[Feature Request] ...**
358
 
359
  == Changelog ==
 
 
 
360
  = 3.0.10.4 (20170123) =
361
  * Fix: once enabled FMVD notice has not auto dismissed.
362
  * Change: input type for YouTube Data API Key from password to text so key is visible by webmaster and prevent messing with autofill browser extensions
4
  Tags: youtube, channel, playlist, single, widget, widgets, youtube player, feed, video, thumbnail, embed, sidebar, iframe, html5, responsive
5
  Requires at least: 4.0
6
  Tested up to: 4.7.2
7
+ Stable tag: 3.0.10.5
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
357
  If you don't wish to pay for enhancements (then you don't care would that be implemented in a week, month, year or so), then send new [Support topic](https://wordpress.org/support/plugin/youtube-channel) with *Topic title* in format **[Feature Request] ...**
358
 
359
  == Changelog ==
360
+ = 3.0.10.5 (20170225) =
361
+ * Remove: FMVD opt-in because of general plugin guideline violation rule #9
362
+
363
  = 3.0.10.4 (20170123) =
364
  * Fix: once enabled FMVD notice has not auto dismissed.
365
  * Change: input type for YouTube Data API Key from password to text so key is visible by webmaster and prevent messing with autofill browser extensions
update.php CHANGED
@@ -440,3 +440,19 @@ function au_youtube_channel_update_routine_16() {
440
  }
441
 
442
  } // END function au_youtube_channel_update_routine_16()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
440
  }
441
 
442
  } // END function au_youtube_channel_update_routine_16()
443
+
444
+ /**
445
+ * Remove fmvd option
446
+ */
447
+ function au_youtube_channel_update_routine_17() {
448
+
449
+ // Get array of dismissed notices
450
+ $dismissed_notices = get_option( 'youtube_channel_dismissed_notices' );
451
+
452
+ if ( ! empty( $dismissed_notices['fmvd'] ) ) {
453
+ unset( $dismissed_notices['fmvd'] );
454
+ update_option( 'youtube_channel_dismissed_notices', $dismissed_notices );
455
+ }
456
+
457
+ } // END function au_youtube_channel_update_routine_16()
458
+
youtube-channel.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: YouTube Channel
4
  Plugin URI: https://urosevic.net/wordpress/plugins/youtube-channel/
5
  Description: Quick and easy embed latest or random videos from YouTube channel (user uploads, liked or favourited videos) or playlist. Use <a href="widgets.php">widget</a> for sidebar or shortcode for content. Works with <em>YouTube Data API v3</em>.
6
- Version: 3.0.10.4
7
  Author: Aleksandar Urošević
8
  Author URI: https://urosevic.net/
9
  Text Domain: youtube-channel
@@ -17,14 +17,13 @@ if ( ! defined( 'ABSPATH' ) ) {
17
  if ( ! class_exists( 'WPAU_YOUTUBE_CHANNEL' ) ) {
18
  class WPAU_YOUTUBE_CHANNEL {
19
 
20
- const DB_VER = 16;
21
- const VER = '3.0.10.4';
22
 
23
  public $plugin_name = 'YouTube Channel';
24
  public $plugin_slug = 'youtube-channel';
25
  public $plugin_option = 'youtube_channel_defaults';
26
  public $plugin_url;
27
-
28
  public $ytc_html5_js = '';
29
 
30
  /**
@@ -268,10 +267,6 @@ if ( ! class_exists( 'WPAU_YOUTUBE_CHANNEL' ) ) {
268
  $dismissed_notices['changed_shortcode_308'] = 1;
269
  update_option( 'youtube_channel_dismissed_notices', $dismissed_notices );
270
  }
271
- if ( ! empty( $_GET['ytc_dismiss_notice_fmvd'] ) ) {
272
- $dismissed_notices['fmvd'] = 1;
273
- update_option( 'youtube_channel_dismissed_notices', $dismissed_notices );
274
- }
275
 
276
  // Prepare vars for notices
277
  $settings_page = 'options-general.php?page=youtube-channel';
@@ -356,17 +351,6 @@ if ( ! class_exists( 'WPAU_YOUTUBE_CHANNEL' ) ) {
356
  }
357
  }
358
 
359
- // FMVD
360
- if ( ! empty( $dismissed_notices ) && self::DB_VER > 15 && empty( $dismissed_notices['fmvd'] ) ) {
361
- printf(
362
- __( '<div id="ytc_fmvd" class="notice notice-success is-dismissible"><p><strong>Attention!</strong><br /><br />%3$sTurn on Video Download option in %1$s <a href="%2$s">settings</a>.</p></div>', 'youtube-channel' ),
363
- $this->plugin_name,
364
- $settings_page,
365
- '<img src="'.$this->plugin_url.'assets/img/fmvd-icon.png" style="margin-bottom:-0.4em" /> '
366
- );
367
- echo '<script>jQuery(\'#ytc_fmvd.notice.is-dismissible\').on(\'click\', \'.notice-dismiss\',function(event){window.location.search += (window.location.search ? "&" : "?") + \'ytc_dismiss_notice_fmvd=1\'; });</script>';
368
- }
369
-
370
  } // END function admin_notices()
371
 
372
  /**
@@ -539,7 +523,6 @@ if ( ! class_exists( 'WPAU_YOUTUBE_CHANNEL' ) ) {
539
  'link_to' => $instance['link_to'], // none, vanity, channel, legacy
540
 
541
  'class' => ! empty( $instance['class'] ) ? $instance['class'] : '',
542
- 'fmvd' => ! empty( $instance['fmvd'] ) ? $instance['fmvd'] : '',
543
  ),
544
  $atts
545
  );
@@ -598,7 +581,6 @@ if ( ! class_exists( 'WPAU_YOUTUBE_CHANNEL' ) ) {
598
 
599
  // Customization
600
  $instance['class'] = $atts['class']; // custom additional class for container
601
- $instance['fmvd'] = $atts['fmvd']; // fmvd toggler
602
 
603
  // return implode( array_values( $this->output( $instance ) ) );
604
  return $this->output( $instance );
@@ -1005,17 +987,6 @@ if ( ! class_exists( 'WPAU_YOUTUBE_CHANNEL' ) ) {
1005
  // Get link to channel part
1006
  $output .= $this->ytc_channel_link( $instance );
1007
 
1008
- // Get FMVD part
1009
- // override item defined fmvd and also look for global
1010
- if ( ! empty( $instance['fmvd'] ) || ! empty( $this->defaults['fmvd'] ) ) {
1011
- $output .= sprintf(
1012
- '<a href="%1$s" target="_blank" title="%2$s" class="fmvd">%3$s</a>',
1013
- 'http://www.freemake.com/free_video_downloader/',
1014
- __( 'Get #1 YouTube downloader app Freemake Video Downloader and download any YouTube content free to watch online', 'youtube-channel' ),
1015
- __( 'Download YouTube Video', 'youtube-channel' )
1016
- );
1017
- }
1018
-
1019
  // Wrap content, if we have it
1020
  if ( ! empty( $output ) ) {
1021
  $output = $this->clearfix() . '<div class="ytc_link"><p>' . $output . '</p></div>';
3
  Plugin Name: YouTube Channel
4
  Plugin URI: https://urosevic.net/wordpress/plugins/youtube-channel/
5
  Description: Quick and easy embed latest or random videos from YouTube channel (user uploads, liked or favourited videos) or playlist. Use <a href="widgets.php">widget</a> for sidebar or shortcode for content. Works with <em>YouTube Data API v3</em>.
6
+ Version: 3.0.10.5
7
  Author: Aleksandar Urošević
8
  Author URI: https://urosevic.net/
9
  Text Domain: youtube-channel
17
  if ( ! class_exists( 'WPAU_YOUTUBE_CHANNEL' ) ) {
18
  class WPAU_YOUTUBE_CHANNEL {
19
 
20
+ const DB_VER = 17;
21
+ const VER = '3.0.10.5';
22
 
23
  public $plugin_name = 'YouTube Channel';
24
  public $plugin_slug = 'youtube-channel';
25
  public $plugin_option = 'youtube_channel_defaults';
26
  public $plugin_url;
 
27
  public $ytc_html5_js = '';
28
 
29
  /**
267
  $dismissed_notices['changed_shortcode_308'] = 1;
268
  update_option( 'youtube_channel_dismissed_notices', $dismissed_notices );
269
  }
 
 
 
 
270
 
271
  // Prepare vars for notices
272
  $settings_page = 'options-general.php?page=youtube-channel';
351
  }
352
  }
353
 
 
 
 
 
 
 
 
 
 
 
 
354
  } // END function admin_notices()
355
 
356
  /**
523
  'link_to' => $instance['link_to'], // none, vanity, channel, legacy
524
 
525
  'class' => ! empty( $instance['class'] ) ? $instance['class'] : '',
 
526
  ),
527
  $atts
528
  );
581
 
582
  // Customization
583
  $instance['class'] = $atts['class']; // custom additional class for container
 
584
 
585
  // return implode( array_values( $this->output( $instance ) ) );
586
  return $this->output( $instance );
987
  // Get link to channel part
988
  $output .= $this->ytc_channel_link( $instance );
989
 
 
 
 
 
 
 
 
 
 
 
 
990
  // Wrap content, if we have it
991
  if ( ! empty( $output ) ) {
992
  $output = $this->clearfix() . '<div class="ytc_link"><p>' . $output . '</p></div>';