Version Description
- new: support for Gutenberg blocks with embedded YouTube (tested with Gutenberg plugin version 2.3.0)
- updated admin screen
- misc bugfixes (see GitHub commit log for details)
- confirmed working with WordPress 4.9.4
Download this release
Release Info
Developer | futtta |
Plugin | WP YouTube Lyte |
Version | 1.6.8 |
Comparing to | |
See all releases |
Code changes from version 1.6.7 to 1.6.8
- external/jquery.zrssfeed.css +0 -53
- external/jquery.zrssfeed.min.js +0 -5
- external/unslider-dots.css +33 -0
- external/unslider-min.js +1 -0
- external/unslider.css +1 -0
- languages/wp-youtube-lyte-fr_BE.mo +0 -0
- languages/wp-youtube-lyte-fr_BE.po +0 -450
- languages/wp-youtube-lyte-fr_FR.mo +0 -0
- languages/wp-youtube-lyte-fr_FR.po +0 -450
- languages/wp-youtube-lyte-nl_BE.mo +0 -0
- languages/wp-youtube-lyte-nl_BE.po +0 -454
- languages/wp-youtube-lyte-nl_NL.mo +0 -0
- languages/wp-youtube-lyte-nl_NL.po +0 -454
- lytePartners.php +122 -0
- options.php +222 -61
- readme.txt +25 -16
- widget.php +21 -16
- wp-youtube-lyte.php +93 -34
external/jquery.zrssfeed.css
DELETED
@@ -1,53 +0,0 @@
|
|
1 |
-
@charset "UTF-8";
|
2 |
-
/*
|
3 |
-
* Example of zRSSFeed Styling
|
4 |
-
*
|
5 |
-
* Version: 1.1.5
|
6 |
-
* (c) Copyright 2011, Zazar Ltd
|
7 |
-
*
|
8 |
-
*/
|
9 |
-
|
10 |
-
/* body {
|
11 |
-
margin: 1em 3em;
|
12 |
-
font-family: Tahoma, Genevam, sans-serif;
|
13 |
-
} */
|
14 |
-
|
15 |
-
.rssFeed {
|
16 |
-
font-family: Arial, Helvetica, sans-serif;
|
17 |
-
font-size: 90%;
|
18 |
-
/* margin: 2em 3em; */
|
19 |
-
|
20 |
-
}
|
21 |
-
.rssFeed a {
|
22 |
-
color: #444;
|
23 |
-
text-decoration: none;
|
24 |
-
}
|
25 |
-
.rssFeed a:hover {
|
26 |
-
color: #000;
|
27 |
-
text-decoration: underline;
|
28 |
-
}
|
29 |
-
|
30 |
-
.rssHeader { padding: 0.2em 0; }
|
31 |
-
|
32 |
-
.rssBody { border: 1px solid #999; }
|
33 |
-
.rssBody ul { list-style: none; }
|
34 |
-
.rssBody ul, .rssRow, .rssRow h4, .rssRow p {
|
35 |
-
margin: 0;
|
36 |
-
padding: 0;
|
37 |
-
}
|
38 |
-
|
39 |
-
.rssRow { padding: 0.8em; }
|
40 |
-
.rssRow h4 { font-size: 1.1em; }
|
41 |
-
.rssRow div {
|
42 |
-
font-size: 90%;
|
43 |
-
color: #666;
|
44 |
-
margin: 0.2em 0 0.4em 0;
|
45 |
-
}
|
46 |
-
|
47 |
-
.odd { background-color: #e8e8fc; }
|
48 |
-
.even { background-color: #d4d4e8; }
|
49 |
-
|
50 |
-
.rssRow .rssMedia {
|
51 |
-
padding: 0.5em;
|
52 |
-
font-size: 1em;
|
53 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
external/jquery.zrssfeed.min.js
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
(function(h){h.fn.rssfeed=function(q,f,r){f=h.extend({limit:10,header:!0,titletag:"h4",date:!0,content:!0,snippet:!0,media:!0,showerror:!0,errormsg:"",key:null,ssl:!1,linktarget:"_self"},f);return this.each(function(s,l){var p=h(l),d="";f.ssl&&(d="s");p.hasClass("rssFeed")||p.addClass("rssFeed");if(null==q)return!1;d="http"+d+"://ajax.googleapis.com/ajax/services/feed/load?v=1.0&callback=?&q="+encodeURIComponent(q);null!=f.limit&&(d+="&num="+f.limit);null!=f.key&&(d+="&key="+f.key);h.getJSON(d+"&output=json_xml",
|
2 |
-
function(b){if(200==b.responseStatus){var e=b.responseData,b=f,g=e.feed;if(g){var a="",d="odd";if(b.media){var j=e.xmlString;"Microsoft Internet Explorer"==navigator.appName?(e=new ActiveXObject("Microsoft.XMLDOM"),e.async="false",e.loadXML(j)):e=(new DOMParser).parseFromString(j,"text/xml");j=e.getElementsByTagName("item")}b.header&&(a+='<div class="rssHeader"><a href="'+g.link+'" title="'+g.description+'">'+g.title+"</a></div>");a+='<div class="rssBody"><ul>';for(e=0;e<g.entries.length;e++){var c=
|
3 |
-
g.entries[e],i;c.publishedDate&&(i=new Date(c.publishedDate),i=i.toLocaleDateString()+" "+i.toLocaleTimeString());a+='<li class="rssRow '+d+'"><'+b.titletag+'><a href="'+c.link+'" title="View this feed at '+g.title+'">'+c.title+"</a></"+b.titletag+">";b.date&&i&&(a+="<div>"+i+"</div>");b.content&&(a+="<p>"+(b.snippet&&""!=c.contentSnippet?c.contentSnippet:c.content)+"</p>");if(b.media&&0<j.length){c=j[e].getElementsByTagName("enclosure");if(0<c.length){for(var a=a+'<div class="rssMedia"><div>Media files</div><ul>',
|
4 |
-
k=0;k<c.length;k++)var m=c[k].getAttribute("url"),n=c[k].getAttribute("type"),o=c[k].getAttribute("length"),m='<li><a href="'+m+'" title="Download this media">'+m.split("/").pop()+"</a> ("+n+", ",n=Math.floor(Math.log(o)/Math.log(1024)),o=(o/Math.pow(1024,Math.floor(n))).toFixed(2)+" "+"bytes,kb,MB,GB,TB,PB".split(",")[n],a=a+(m+o+")</li>");a+="</ul></div>"}a+="</li>"}d="odd"==d?"even":"odd"}h(l).html(a+"</ul></div>");h("a",l).attr("target",b.linktarget)}h.isFunction(r)&&r.call(this,p)}else f.showerror&&
|
5 |
-
(g=""!=f.errormsg?f.errormsg:b.responseDetails),h(l).html('<div class="rssError"><p>'+g+"</p></div>")})})}})(jQuery);
|
|
|
|
|
|
|
|
|
|
external/unslider-dots.css
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Here's where everything gets included. You don't need
|
3 |
+
* to change anything here, and doing so might break
|
4 |
+
* stuff. Here be dragons and all that.
|
5 |
+
*/
|
6 |
+
/**
|
7 |
+
* Default variables
|
8 |
+
*
|
9 |
+
* While these can be set with JavaScript, it's probably
|
10 |
+
* better and faster to just set them here, compile to
|
11 |
+
* CSS and include that instead to use some of that
|
12 |
+
* hardware-accelerated goodness.
|
13 |
+
*/
|
14 |
+
.unslider-nav ol {
|
15 |
+
list-style: none;
|
16 |
+
text-align: center;
|
17 |
+
}
|
18 |
+
.unslider-nav ol li {
|
19 |
+
display: inline-block;
|
20 |
+
width: 6px;
|
21 |
+
height: 6px;
|
22 |
+
margin: 0 4px;
|
23 |
+
background: transparent;
|
24 |
+
border-radius: 5px;
|
25 |
+
overflow: hidden;
|
26 |
+
text-indent: -999em;
|
27 |
+
border: 2px solid #fff;
|
28 |
+
cursor: pointer;
|
29 |
+
}
|
30 |
+
.unslider-nav ol li.unslider-active {
|
31 |
+
background: #fff;
|
32 |
+
cursor: default;
|
33 |
+
}
|
external/unslider-min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function($){return $?($.Unslider=function(t,n){var e=this;return e._="unslider",e.defaults={autoplay:!1,delay:3e3,speed:750,easing:"swing",keys:{prev:37,next:39},nav:!0,arrows:{prev:'<a class="'+e._+'-arrow prev">Prev</a>',next:'<a class="'+e._+'-arrow next">Next</a>'},animation:"horizontal",selectors:{container:"ul:first",slides:"li"},animateHeight:!1,activeClass:e._+"-active",swipe:!0,swipeThreshold:.2},e.$context=t,e.options={},e.$parent=null,e.$container=null,e.$slides=null,e.$nav=null,e.$arrows=[],e.total=0,e.current=0,e.prefix=e._+"-",e.eventSuffix="."+e.prefix+~~(2e3*Math.random()),e.interval=null,e.init=function(t){return e.options=$.extend({},e.defaults,t),e.$container=e.$context.find(e.options.selectors.container).addClass(e.prefix+"wrap"),e.$slides=e.$container.children(e.options.selectors.slides),e.setup(),$.each(["nav","arrows","keys","infinite"],function(t,n){e.options[n]&&e["init"+$._ucfirst(n)]()}),jQuery.event.special.swipe&&e.options.swipe&&e.initSwipe(),e.options.autoplay&&e.start(),e.calculateSlides(),e.$context.trigger(e._+".ready"),e.animate(e.options.index||e.current,"init")},e.setup=function(){e.$context.addClass(e.prefix+e.options.animation).wrap('<div class="'+e._+'" />'),e.$parent=e.$context.parent("."+e._);var t=e.$context.css("position");"static"===t&&e.$context.css("position","relative"),e.$context.css("overflow","hidden")},e.calculateSlides=function(){if(e.total=e.$slides.length,"fade"!==e.options.animation){var t="width";"vertical"===e.options.animation&&(t="height"),e.$container.css(t,100*e.total+"%").addClass(e.prefix+"carousel"),e.$slides.css(t,100/e.total+"%")}},e.start=function(){return e.interval=setTimeout(function(){e.next()},e.options.delay),e},e.stop=function(){return clearTimeout(e.interval),e},e.initNav=function(){var t=$('<nav class="'+e.prefix+'nav"><ol /></nav>');e.$slides.each(function(n){var i=this.getAttribute("data-nav")||n+1;$.isFunction(e.options.nav)&&(i=e.options.nav.call(e.$slides.eq(n),n,i)),t.children("ol").append('<li data-slide="'+n+'">'+i+"</li>")}),e.$nav=t.insertAfter(e.$context),e.$nav.find("li").on("click"+e.eventSuffix,function(){var t=$(this).addClass(e.options.activeClass);t.siblings().removeClass(e.options.activeClass),e.animate(t.attr("data-slide"))})},e.initArrows=function(){e.options.arrows===!0&&(e.options.arrows=e.defaults.arrows),$.each(e.options.arrows,function(t,n){e.$arrows.push($(n).insertAfter(e.$context).on("click"+e.eventSuffix,e[t]))})},e.initKeys=function(){e.options.keys===!0&&(e.options.keys=e.defaults.keys),$(document).on("keyup"+e.eventSuffix,function(t){$.each(e.options.keys,function(n,i){t.which===i&&$.isFunction(e[n])&&e[n].call(e)})})},e.initSwipe=function(){var t=e.$slides.width();"fade"!==e.options.animation&&e.$container.on({movestart:function(t){return t.distX>t.distY&&t.distX<-t.distY||t.distX<t.distY&&t.distX>-t.distY?!!t.preventDefault():void e.$container.css("position","relative")},move:function(n){e.$container.css("left",-(100*e.current)+100*n.distX/t+"%")},moveend:function(n){Math.abs(n.distX)/t>e.options.swipeThreshold?e[n.distX<0?"next":"prev"]():e.$container.animate({left:-(100*e.current)+"%"},e.options.speed/2)}})},e.initInfinite=function(){var t=["first","last"];$.each(t,function(n,i){e.$slides.push.apply(e.$slides,e.$slides.filter(':not(".'+e._+'-clone")')[i]().clone().addClass(e._+"-clone")["insert"+(0===n?"After":"Before")](e.$slides[t[~~!n]]()))})},e.destroyArrows=function(){$.each(e.$arrows,function(t,n){n.remove()})},e.destroySwipe=function(){e.$container.off("movestart move moveend")},e.destroyKeys=function(){$(document).off("keyup"+e.eventSuffix)},e.setIndex=function(t){return 0>t&&(t=e.total-1),e.current=Math.min(Math.max(0,t),e.total-1),e.options.nav&&e.$nav.find('[data-slide="'+e.current+'"]')._active(e.options.activeClass),e.$slides.eq(e.current)._active(e.options.activeClass),e},e.animate=function(t,n){if("first"===t&&(t=0),"last"===t&&(t=e.total),isNaN(t))return e;e.options.autoplay&&e.stop().start(),e.setIndex(t),e.$context.trigger(e._+".change",[t,e.$slides.eq(t)]);var i="animate"+$._ucfirst(e.options.animation);return $.isFunction(e[i])&&e[i](e.current,n),e},e.next=function(){var t=e.current+1;return t>=e.total&&(t=0),e.animate(t,"next")},e.prev=function(){return e.animate(e.current-1,"prev")},e.animateHorizontal=function(t){var n="left";return"rtl"===e.$context.attr("dir")&&(n="right"),e.options.infinite&&e.$container.css("margin-"+n,"-100%"),e.slide(n,t)},e.animateVertical=function(t){return e.options.animateHeight=!0,e.options.infinite&&e.$container.css("margin-top",-e.$slides.outerHeight()),e.slide("top",t)},e.slide=function(t,n){if(e.options.animateHeight&&e._move(e.$context,{height:e.$slides.eq(n).outerHeight()},!1),e.options.infinite){var i;n===e.total-1&&(i=e.total-3,n=-1),n===e.total-2&&(i=0,n=e.total-2),"number"==typeof i&&(e.setIndex(i),e.$context.on(e._+".moved",function(){e.current===i&&e.$container.css(t,-(100*i)+"%").off(e._+".moved")}))}var o={};return o[t]=-(100*n)+"%",e._move(e.$container,o)},e.animateFade=function(t){var n=e.$slides.eq(t).addClass(e.options.activeClass);e._move(n.siblings().removeClass(e.options.activeClass),{opacity:0}),e._move(n,{opacity:1},!1)},e._move=function(t,n,i,o){return i!==!1&&(i=function(){e.$context.trigger(e._+".moved")}),t._move(n,o||e.options.speed,e.options.easing,i)},e.init(n)},$.fn._active=function(t){return this.addClass(t).siblings().removeClass(t)},$._ucfirst=function(t){return(t+"").toLowerCase().replace(/^./,function(t){return t.toUpperCase()})},$.fn._move=function(){return this.stop(!0,!0),$.fn[$.fn.velocity?"velocity":"animate"].apply(this,arguments)},void($.fn.unslider=function(t){return this.each(function(){var n=$(this);if("string"==typeof t&&n.data("unslider")){t=t.split(":");var e=n.data("unslider")[t[0]];if($.isFunction(e))return e.apply(n,t[1]?t[1].split(","):null)}return n.data("unslider",new $.Unslider(n,t))})})):console.warn("Unslider needs jQuery")}(window.jQuery);
|
external/unslider.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.unslider{overflow:auto;margin:0;padding:0}.unslider-wrap{position:relative}.unslider-wrap.unslider-carousel>li{float:left}.unslider-vertical>ul{height:100%}.unslider-vertical li{float:none;width:100%}.unslider-fade{position:relative}.unslider-fade .unslider-wrap li{position:absolute;left:0;top:0;right:0;z-index:8}.unslider-fade .unslider-wrap li.unslider-active{z-index:10}.unslider li,.unslider ol,.unslider ul{list-style:none;margin:0;padding:0;border:none}.unslider-arrow{position:absolute;left:20px;z-index:2;cursor:pointer}.unslider-arrow.next{left:auto;right:20px}
|
languages/wp-youtube-lyte-fr_BE.mo
DELETED
Binary file
|
languages/wp-youtube-lyte-fr_BE.po
DELETED
@@ -1,450 +0,0 @@
|
|
1 |
-
# Copyright (C) 2014 WP YouTube Lyte
|
2 |
-
# This file is distributed under the same license as the WP YouTube Lyte package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"Project-Id-Version: WP YouTube Lyte 1.4.2\n"
|
6 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wp-youtube-lyte\n"
|
7 |
-
"POT-Creation-Date: 2015-03-06 17:49:26+00:00\n"
|
8 |
-
"PO-Revision-Date: 2015-04-14 13:59+0100\n"
|
9 |
-
"Last-Translator: Serge Bibauw <sbibauw@gmail.com>\n"
|
10 |
-
"Language-Team: Serge Bibauw <sbibauw@gmail.com>\n"
|
11 |
-
"Language: fr\n"
|
12 |
-
"MIME-Version: 1.0\n"
|
13 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
-
"Content-Transfer-Encoding: 8bit\n"
|
15 |
-
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
16 |
-
"X-Generator: Poedit 1.7.5\n"
|
17 |
-
|
18 |
-
#: options.php:21
|
19 |
-
msgid "Your WP YouTube Lyte cache has been succesfully cleared."
|
20 |
-
msgstr "Le cache de WP YouTube Lyte a été correctement effacé."
|
21 |
-
|
22 |
-
#: options.php:27
|
23 |
-
msgid "There was a problem, the WP YouTube Lyte cache could not be cleared."
|
24 |
-
msgstr ""
|
25 |
-
"Il y a eu un problème : le cache de WP YouTube Lyte n'a pas pu être effacé."
|
26 |
-
|
27 |
-
#: options.php:61
|
28 |
-
msgid ""
|
29 |
-
"For WP YouTube Lyte to function optimally, you should enter an YouTube API key "
|
30 |
-
msgstr ""
|
31 |
-
"Pour que WP YouTube Lyte fonctionne de manière optimale, vous devez entrer une "
|
32 |
-
"clé API YouTube"
|
33 |
-
|
34 |
-
#: options.php:63
|
35 |
-
msgid "in the settings screen."
|
36 |
-
msgstr "dans l'écran de configuration."
|
37 |
-
|
38 |
-
#: options.php:76
|
39 |
-
msgid "WP YouTube Lyte got the following error back from the YouTube API: "
|
40 |
-
msgstr "WP YouTube Lyte a reçu cette erreur de l'API YouTube:"
|
41 |
-
|
42 |
-
#: options.php:91
|
43 |
-
msgid "WP YouTube Lyte Settings"
|
44 |
-
msgstr "Paramètres de WP YouTube Lyte"
|
45 |
-
|
46 |
-
#: options.php:98
|
47 |
-
msgid "Your YouTube API key."
|
48 |
-
msgstr "Votre clé API YouTube."
|
49 |
-
|
50 |
-
#: options.php:104
|
51 |
-
msgid "Please enter your YouTube API key."
|
52 |
-
msgstr "Veuillez entrer votre clé API YouTube."
|
53 |
-
|
54 |
-
#: options.php:105
|
55 |
-
msgid "API key"
|
56 |
-
msgstr "clé API"
|
57 |
-
|
58 |
-
#: options.php:105
|
59 |
-
msgid "Test Key"
|
60 |
-
msgstr "Tester la clé API."
|
61 |
-
|
62 |
-
#: options.php:107
|
63 |
-
msgid ""
|
64 |
-
"WP YouTube Lyte uses YouTube's API to fetch information on each video. For "
|
65 |
-
"your site to use that API, you will have to <a href=\"https://console."
|
66 |
-
"developers.google.com/project/\" target=\"_blank\">register your site as a new "
|
67 |
-
"application</a>, enable the YouTube API for it and get a server key and fill "
|
68 |
-
"it out here."
|
69 |
-
msgstr ""
|
70 |
-
"WP YouTube Lyte utilise l'API YouTube pour chercher de l'information sur "
|
71 |
-
"chaque vidéo. Pour que votre site puisse utiliser cette API, vous devez <a "
|
72 |
-
"href=\"https://console.developers.google.com/project/\" target=\"_blank"
|
73 |
-
"\">enregistrer votre site comme nouvelle application</a>, activer l'API "
|
74 |
-
"YouTube, générer une clé API et la remplir ici."
|
75 |
-
|
76 |
-
#: options.php:110
|
77 |
-
msgid "Great, your YouTube API key has been taken care of!"
|
78 |
-
msgstr "Fantastique : votre clé API YouTube est prise en compte."
|
79 |
-
|
80 |
-
#: options.php:115 options.php:117
|
81 |
-
msgid "Player size"
|
82 |
-
msgstr "Taille du lecteur"
|
83 |
-
|
84 |
-
#: options.php:136
|
85 |
-
msgid "Add links below the embedded videos?"
|
86 |
-
msgstr "Ajouter des liens sous les vidéos incrustées ?"
|
87 |
-
|
88 |
-
#: options.php:139
|
89 |
-
msgid "Show links?"
|
90 |
-
msgstr "Afficher les liens ?"
|
91 |
-
|
92 |
-
#: options.php:140
|
93 |
-
msgid "Show YouTube-link"
|
94 |
-
msgstr "Afficher le lien YouTube."
|
95 |
-
|
96 |
-
#: options.php:140
|
97 |
-
msgid " Add YouTube-link."
|
98 |
-
msgstr " Ajouter le lien YouTube."
|
99 |
-
|
100 |
-
#: options.php:141
|
101 |
-
msgid "Show YouTube and Ease YouTube link"
|
102 |
-
msgstr "Afficher les liens YouTube et Easy YouTube"
|
103 |
-
|
104 |
-
#: options.php:141
|
105 |
-
msgid ""
|
106 |
-
" Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/"
|
107 |
-
"index.html\" target=\"_blank\">Easy YouTube</a>-link."
|
108 |
-
msgstr ""
|
109 |
-
" Ajouter un lien YouTube et un lien <a href=\"http://icant.co.uk/easy-youtube/"
|
110 |
-
"docs/index.html\" target=\"_blank\">Easy YouTube</a>."
|
111 |
-
|
112 |
-
#: options.php:142
|
113 |
-
msgid "Don't include links."
|
114 |
-
msgstr "N'ajouter aucun lien."
|
115 |
-
|
116 |
-
#: options.php:142
|
117 |
-
msgid " Don't add any links."
|
118 |
-
msgstr "N'ajouter aucun lien."
|
119 |
-
|
120 |
-
#: options.php:147
|
121 |
-
msgid "Player position:"
|
122 |
-
msgstr "Position du lecteur :"
|
123 |
-
|
124 |
-
#: options.php:150
|
125 |
-
msgid "Left, center or right?"
|
126 |
-
msgstr "À gauche, centré ou à droite ?"
|
127 |
-
|
128 |
-
#: options.php:151
|
129 |
-
msgid "Left"
|
130 |
-
msgstr "Gauche"
|
131 |
-
|
132 |
-
#: options.php:152
|
133 |
-
msgid "Center"
|
134 |
-
msgstr "Centré"
|
135 |
-
|
136 |
-
#: options.php:157
|
137 |
-
msgid "Try to force HD (experimental)?"
|
138 |
-
msgstr "Essayer de forcer la HD (expérimental) ?"
|
139 |
-
|
140 |
-
#: options.php:160
|
141 |
-
msgid "HD or not?"
|
142 |
-
msgstr "HD ou pas ?"
|
143 |
-
|
144 |
-
#: options.php:161
|
145 |
-
msgid "Enable HD?"
|
146 |
-
msgstr "Activer la HD ?"
|
147 |
-
|
148 |
-
#: options.php:161
|
149 |
-
msgid "Enable HD"
|
150 |
-
msgstr "Activer la HD"
|
151 |
-
|
152 |
-
#: options.php:162
|
153 |
-
msgid "Don't enable HD playback"
|
154 |
-
msgstr "Ne pas activer les vidéos HD."
|
155 |
-
|
156 |
-
#: options.php:162
|
157 |
-
msgid "No HD (default)"
|
158 |
-
msgstr "Pas de HD (par défaut)"
|
159 |
-
|
160 |
-
#: options.php:167
|
161 |
-
msgid "Add microdata?"
|
162 |
-
msgstr "Ajouter des micro-données ?"
|
163 |
-
|
164 |
-
#: options.php:170
|
165 |
-
msgid "Add video microdata to the HTML?"
|
166 |
-
msgstr "Ajouter des micro-données au code HTML ? "
|
167 |
-
|
168 |
-
#: options.php:171
|
169 |
-
msgid "Sure, add microdata!"
|
170 |
-
msgstr "Oui, ajouter des micro-données !"
|
171 |
-
|
172 |
-
#: options.php:171 options.php:181
|
173 |
-
msgid "Yes (default)"
|
174 |
-
msgstr "Oui (par défaut)"
|
175 |
-
|
176 |
-
#: options.php:172
|
177 |
-
msgid "No microdata in my HTML please."
|
178 |
-
msgstr "Non, pas de micro-données dans mon HTML."
|
179 |
-
|
180 |
-
#: options.php:172
|
181 |
-
msgid "No microdata, thanks."
|
182 |
-
msgstr "Non, pas de micro-données."
|
183 |
-
|
184 |
-
#: options.php:177 options.php:180
|
185 |
-
msgid "Also act on normal YouTube links?"
|
186 |
-
msgstr "Agir aussi sur les liens YouTube normaux ?"
|
187 |
-
|
188 |
-
#: options.php:181
|
189 |
-
msgid "That would be great!"
|
190 |
-
msgstr "Ce serait magnifique !"
|
191 |
-
|
192 |
-
#: options.php:182
|
193 |
-
msgid "No, I'll stick to httpv or shortcodes."
|
194 |
-
msgstr "Non, je préfère les liens httpv ou les \"shortcodes\"."
|
195 |
-
|
196 |
-
#: options.php:182
|
197 |
-
msgid "No thanks."
|
198 |
-
msgstr "Non merci."
|
199 |
-
|
200 |
-
#: options.php:187
|
201 |
-
msgid "Empty WP YouTube Lyte's cache"
|
202 |
-
msgstr "Vider le cache de WP YouTube Lyte"
|
203 |
-
|
204 |
-
#: options.php:198
|
205 |
-
msgid "Save Changes"
|
206 |
-
msgstr "Enregistrer les modifications"
|
207 |
-
|
208 |
-
#: options.php:206
|
209 |
-
msgid "futtta about"
|
210 |
-
msgstr "À propos de futtta"
|
211 |
-
|
212 |
-
#. Plugin Name of the plugin/theme
|
213 |
-
#: options.php:208
|
214 |
-
msgid "WP YouTube Lyte"
|
215 |
-
msgstr "WP YouTube Lyte"
|
216 |
-
|
217 |
-
#: options.php:209
|
218 |
-
msgid "WordPress"
|
219 |
-
msgstr "WordPress"
|
220 |
-
|
221 |
-
#: options.php:210
|
222 |
-
msgid "Web Technology"
|
223 |
-
msgstr "Technologie web"
|
224 |
-
|
225 |
-
#: options.php:214
|
226 |
-
msgid "Do not donate for this plugin!"
|
227 |
-
msgstr "Ne pas donner pour ce plugin !"
|
228 |
-
|
229 |
-
#: options.php:228
|
230 |
-
msgid "Checking your key ..."
|
231 |
-
msgstr "Vérification de votre clé..."
|
232 |
-
|
233 |
-
#: options.php:242
|
234 |
-
msgid "That does not seem to be a correct API key!"
|
235 |
-
msgstr "Ça ne semble pas être une clé API correcte !"
|
236 |
-
|
237 |
-
#: options.php:283
|
238 |
-
msgid "API seems OK, you can Save Changes below now."
|
239 |
-
msgstr "La clé API semble OK, vous pouvez enregistrer ci-dessous."
|
240 |
-
|
241 |
-
#: options.php:285
|
242 |
-
msgid "API key not OK, your key seems to "
|
243 |
-
msgstr "La clé API n'est pas en ordre : elle semble"
|
244 |
-
|
245 |
-
#: options.php:288
|
246 |
-
msgid "be invalid."
|
247 |
-
msgstr "être invalide."
|
248 |
-
|
249 |
-
#: options.php:291
|
250 |
-
msgid "be valid, but restricted to an IP-address which is not your server's."
|
251 |
-
msgstr "être valide, mais n'est pas activée pour l'adresse IP de votre serveur."
|
252 |
-
|
253 |
-
#: options.php:292
|
254 |
-
msgid "Try changing the allowed IP for your API key to include this one: "
|
255 |
-
msgstr ""
|
256 |
-
"Essayer de changer les adresses IP autorisées pour votre clé API, en ajoutant "
|
257 |
-
"celle-ci :"
|
258 |
-
|
259 |
-
#: options.php:296
|
260 |
-
msgid "have expired, please check in the Google Developer Console."
|
261 |
-
msgstr "avoir expiré ; veuillez vérifier dans la Console Google Developer."
|
262 |
-
|
263 |
-
#: options.php:302
|
264 |
-
msgid ""
|
265 |
-
"be correct, but seems to have exceeded the number of requests that can be made "
|
266 |
-
"with it."
|
267 |
-
msgstr "être correcte, mais a dépassé la limite du nombre de requêtes permises."
|
268 |
-
|
269 |
-
#: options.php:305
|
270 |
-
msgid "probably work, but as the video with id "
|
271 |
-
msgstr "fonctionne probablement, mais la vidéo avec l'ID "
|
272 |
-
|
273 |
-
#: options.php:307
|
274 |
-
msgid " was not found we cannot be sure, please try again."
|
275 |
-
msgstr "n'a pas été trouvée. Veuillez essayer à nouveau."
|
276 |
-
|
277 |
-
#: options.php:310
|
278 |
-
msgid "be faulty, with YouTube API returning reason: "
|
279 |
-
msgstr "être invalide. L'API YouTube renvoie le message suivant :"
|
280 |
-
|
281 |
-
#: options.php:315
|
282 |
-
msgid ""
|
283 |
-
"Something went wrong, WP YouTube Lyte might not have been able to retrieve "
|
284 |
-
"information from the YouTube API, got error: "
|
285 |
-
msgstr ""
|
286 |
-
"Il y a eu un problème. WP YouTube Lyte n'a probablement pas pu retrouver "
|
287 |
-
"l'information de l'API YouTube avec l'erreur suivante :"
|
288 |
-
|
289 |
-
#: player_sizes.inc.php:11
|
290 |
-
msgid "Mini 16:9 player"
|
291 |
-
msgstr "Mini lecteur 16:9"
|
292 |
-
|
293 |
-
#: player_sizes.inc.php:17
|
294 |
-
msgid "Smaller 4:3 player"
|
295 |
-
msgstr "Petit lecteur 4:3"
|
296 |
-
|
297 |
-
#: player_sizes.inc.php:23
|
298 |
-
msgid "Smaller 16:9 player"
|
299 |
-
msgstr "Petit lecteur 16:9"
|
300 |
-
|
301 |
-
#: player_sizes.inc.php:29
|
302 |
-
msgid "Standard value, YouTube default for 4:3-ratio video"
|
303 |
-
msgstr "Valeur standard, configuration par défaut de YouTube pour les vidéos 4:3"
|
304 |
-
|
305 |
-
#: player_sizes.inc.php:35
|
306 |
-
msgid "YouTube default for 16:9-ratio video"
|
307 |
-
msgstr "Configuration par défaut de YouTube pour les vidéos 16:9"
|
308 |
-
|
309 |
-
#: player_sizes.inc.php:41
|
310 |
-
msgid "Larger 4:3 player"
|
311 |
-
msgstr "Grand lecteur 4:3"
|
312 |
-
|
313 |
-
#: player_sizes.inc.php:47
|
314 |
-
msgid "Larger 16:9 player"
|
315 |
-
msgstr "Grand lecteur 16:9"
|
316 |
-
|
317 |
-
#: player_sizes.inc.php:53
|
318 |
-
msgid "Maxi 4:3 player"
|
319 |
-
msgstr "Maxi lecteur 4:3"
|
320 |
-
|
321 |
-
#: player_sizes.inc.php:59
|
322 |
-
msgid "Maxi 16:9 player"
|
323 |
-
msgstr "Maxi lecteur 16:9"
|
324 |
-
|
325 |
-
#: widget.php:130
|
326 |
-
msgid "Title:"
|
327 |
-
msgstr "Titre :"
|
328 |
-
|
329 |
-
#: widget.php:131
|
330 |
-
msgid "Size:"
|
331 |
-
msgstr "Taille :"
|
332 |
-
|
333 |
-
#: widget.php:150
|
334 |
-
msgid "Type:"
|
335 |
-
msgstr "Type :"
|
336 |
-
|
337 |
-
#: widget.php:158
|
338 |
-
msgid "audio"
|
339 |
-
msgstr "audio"
|
340 |
-
|
341 |
-
#: widget.php:159
|
342 |
-
msgid "video"
|
343 |
-
msgstr "vidéo"
|
344 |
-
|
345 |
-
#: widget.php:163
|
346 |
-
msgid "Youtube-URL:"
|
347 |
-
msgstr "URL YouTube :"
|
348 |
-
|
349 |
-
#: widget.php:164
|
350 |
-
msgid "Text:"
|
351 |
-
msgstr "Texte :"
|
352 |
-
|
353 |
-
#: wp-youtube-lyte.php:186
|
354 |
-
msgid "Watch this playlist on YouTube"
|
355 |
-
msgstr "Lire cette liste de lecture sur YouTube"
|
356 |
-
|
357 |
-
#: wp-youtube-lyte.php:192
|
358 |
-
msgid "Watch this playlist"
|
359 |
-
msgstr "Lire cette liste de lecture"
|
360 |
-
|
361 |
-
#: wp-youtube-lyte.php:192 wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
|
362 |
-
msgid "on YouTube"
|
363 |
-
msgstr "sur YouTube"
|
364 |
-
|
365 |
-
#: wp-youtube-lyte.php:199
|
366 |
-
msgid "Watch this video on YouTube"
|
367 |
-
msgstr "Lire cette vidéo sur YouTube"
|
368 |
-
|
369 |
-
#: wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
|
370 |
-
msgid "Watch this video"
|
371 |
-
msgstr "Lire cette vidéo"
|
372 |
-
|
373 |
-
#: wp-youtube-lyte.php:204
|
374 |
-
msgid "or on"
|
375 |
-
msgstr "ou sur"
|
376 |
-
|
377 |
-
#: wp-youtube-lyte.php:586
|
378 |
-
msgid "Settings"
|
379 |
-
msgstr "Configuration"
|
380 |
-
|
381 |
-
#. Plugin URI of the plugin/theme
|
382 |
-
msgid "http://blog.futtta.be/wp-youtube-lyte/"
|
383 |
-
msgstr "http://blog.futtta.be/wp-youtube-lyte/"
|
384 |
-
|
385 |
-
#. Description of the plugin/theme
|
386 |
-
msgid "Lite and accessible YouTube audio and video embedding."
|
387 |
-
msgstr "Incrustation audio et vidéo YouTube légère et accessible."
|
388 |
-
|
389 |
-
#. Author of the plugin/theme
|
390 |
-
msgid "Frank Goossens (futtta)"
|
391 |
-
msgstr "Frank Goossens (futtta)"
|
392 |
-
|
393 |
-
#. Author URI of the plugin/theme
|
394 |
-
msgid "http://blog.futtta.be/"
|
395 |
-
msgstr "http://blog.futtta.be/"
|
396 |
-
|
397 |
-
#~ msgid ""
|
398 |
-
#~ "WP YouTube Lyte inserts \"Lite YouTube Embeds\" in your blog. These look "
|
399 |
-
#~ "and feel like normal embedded YouTube, but don't use Flash unless clicked "
|
400 |
-
#~ "on, thereby <a href=\"http://blog.futtta.be/2012/04/03/speed-matters-re-"
|
401 |
-
#~ "evaluating-wp-youtube-lytes-performance/\" target=\"_blank\">reducing "
|
402 |
-
#~ "download size & rendering time substantially</a>. When a video is played, "
|
403 |
-
#~ "WP-YouTube-Lyte can either activate <a href=\"http://apiblog.youtube."
|
404 |
-
#~ "com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank"
|
405 |
-
#~ "\">YouTube's embedded html5-player</a> or the older Flash-version, "
|
406 |
-
#~ "depending on the settings below."
|
407 |
-
#~ msgstr ""
|
408 |
-
#~ "WP YouTube Lyte insère des \"Incrustations Lite YouTube© dans votre blog. "
|
409 |
-
#~ "Ceux-ci ont l'apparence d'incrustrations (<em>embed</em>) YouTube normales, "
|
410 |
-
#~ "mais ne lancent Flash qu'une fois cliquées, ce qui permet de <a href="
|
411 |
-
#~ "\"http://blog.futtta.be/2012/04/03/speed-matters-re-evaluating-wp-youtube-"
|
412 |
-
#~ "lytes-performance/\" target=\"_blank\">réduire le volume de téléchargement "
|
413 |
-
#~ "et le temps de chargement de manière importante</a>. Quand une vidéo est "
|
414 |
-
#~ "jouée, WP-YouTube-Lyte peut soit activer le <a href=\"http://apiblog."
|
415 |
-
#~ "youtube.com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank"
|
416 |
-
#~ "\">lecteur intégré HTML5 de YouTube</a> ou l'ancienne version Flash, en "
|
417 |
-
#~ "fonction des paramètres ci-dessous."
|
418 |
-
|
419 |
-
#~ msgid ""
|
420 |
-
#~ "You can place video and audio in your posts and pages by adding one or more "
|
421 |
-
#~ "http<strong>v</strong> or http<strong>a</strong> YouTube-links to your "
|
422 |
-
#~ "post. These will automatically be replaced by WP YouTube Lyte with the "
|
423 |
-
#~ "correct (flash-less) code. To add a video for example, you type a URL like "
|
424 |
-
#~ "<em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> or "
|
425 |
-
#~ "<em>http<strong>v</strong>://www.youtube.com/playlist?"
|
426 |
-
#~ "list=PLA486E741B25F8E00</em> for a playlist. If you want an audio-only "
|
427 |
-
#~ "player, you enter <em>http<strong>a</strong>://www.youtube.com/watch?"
|
428 |
-
#~ "v=BIQIGR-kWtc</em>. There's more info on the <a href=\"http://wordpress.org/"
|
429 |
-
#~ "extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">wordpress.org WP "
|
430 |
-
#~ "YouTube Lyte FAQ page</a>."
|
431 |
-
#~ msgstr ""
|
432 |
-
#~ "Vous pouvez placer de la vidéo et de l'audio dans vos messages et pages en "
|
433 |
-
#~ "ajoutant un ou plusieurs liens YouTube http<strong>v</strong> ou "
|
434 |
-
#~ "http<strong>a</strong> à votre texte. Ils seront automatiquement remplacés "
|
435 |
-
#~ "par WP YouTube Lyte avec le code correct (sans Flash). Pour ajouter une "
|
436 |
-
#~ "vidéo par exemple, écrivez une URL comme <em>http<strong>v</strong>://www."
|
437 |
-
#~ "youtube.com/watch?v=QQPSMRQnNlU</em> ou <em>http<strong>v</strong>://www."
|
438 |
-
#~ "youtube.com/playlist?list=PLA486E741B25F8E00</em> pour une liste de "
|
439 |
-
#~ "lecture. Si vous voulez un lecteur audio uniquement, écrivez "
|
440 |
-
#~ "<em>http<strong>a</strong>://www.youtube.com/watch?v=BIQIGR-kWtc</em>. Vous "
|
441 |
-
#~ "trouverez plus d'informations sur la <a href=\"http://wordpress.org/extend/"
|
442 |
-
#~ "plugins/wp-youtube-lyte/faq/\" target=\"_blank\">FAQ wordpress.org de WP "
|
443 |
-
#~ "YouTube Lyte</a>."
|
444 |
-
|
445 |
-
#~ msgid ""
|
446 |
-
#~ "You can modify WP-YouTube-Lyte's behaviour by changing the following "
|
447 |
-
#~ "settings:"
|
448 |
-
#~ msgstr ""
|
449 |
-
#~ "Vous pouvez modifier le comportement de WP-YouTube-Lyte en changeant les "
|
450 |
-
#~ "paramètres suivants :"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/wp-youtube-lyte-fr_FR.mo
DELETED
Binary file
|
languages/wp-youtube-lyte-fr_FR.po
DELETED
@@ -1,450 +0,0 @@
|
|
1 |
-
# Copyright (C) 2014 WP YouTube Lyte
|
2 |
-
# This file is distributed under the same license as the WP YouTube Lyte package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"Project-Id-Version: WP YouTube Lyte 1.4.2\n"
|
6 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wp-youtube-lyte\n"
|
7 |
-
"POT-Creation-Date: 2015-03-06 17:49:26+00:00\n"
|
8 |
-
"PO-Revision-Date: 2015-04-14 13:59+0100\n"
|
9 |
-
"Last-Translator: Serge Bibauw <sbibauw@gmail.com>\n"
|
10 |
-
"Language-Team: Serge Bibauw <sbibauw@gmail.com>\n"
|
11 |
-
"Language: fr\n"
|
12 |
-
"MIME-Version: 1.0\n"
|
13 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
-
"Content-Transfer-Encoding: 8bit\n"
|
15 |
-
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
16 |
-
"X-Generator: Poedit 1.7.5\n"
|
17 |
-
|
18 |
-
#: options.php:21
|
19 |
-
msgid "Your WP YouTube Lyte cache has been succesfully cleared."
|
20 |
-
msgstr "Le cache de WP YouTube Lyte a été correctement effacé."
|
21 |
-
|
22 |
-
#: options.php:27
|
23 |
-
msgid "There was a problem, the WP YouTube Lyte cache could not be cleared."
|
24 |
-
msgstr ""
|
25 |
-
"Il y a eu un problème : le cache de WP YouTube Lyte n'a pas pu être effacé."
|
26 |
-
|
27 |
-
#: options.php:61
|
28 |
-
msgid ""
|
29 |
-
"For WP YouTube Lyte to function optimally, you should enter an YouTube API key "
|
30 |
-
msgstr ""
|
31 |
-
"Pour que WP YouTube Lyte fonctionne de manière optimale, vous devez entrer une "
|
32 |
-
"clé API YouTube"
|
33 |
-
|
34 |
-
#: options.php:63
|
35 |
-
msgid "in the settings screen."
|
36 |
-
msgstr "dans l'écran de configuration."
|
37 |
-
|
38 |
-
#: options.php:76
|
39 |
-
msgid "WP YouTube Lyte got the following error back from the YouTube API: "
|
40 |
-
msgstr "WP YouTube Lyte a reçu cette erreur de l'API YouTube:"
|
41 |
-
|
42 |
-
#: options.php:91
|
43 |
-
msgid "WP YouTube Lyte Settings"
|
44 |
-
msgstr "Paramètres de WP YouTube Lyte"
|
45 |
-
|
46 |
-
#: options.php:98
|
47 |
-
msgid "Your YouTube API key."
|
48 |
-
msgstr "Votre clé API YouTube."
|
49 |
-
|
50 |
-
#: options.php:104
|
51 |
-
msgid "Please enter your YouTube API key."
|
52 |
-
msgstr "Veuillez entrer votre clé API YouTube."
|
53 |
-
|
54 |
-
#: options.php:105
|
55 |
-
msgid "API key"
|
56 |
-
msgstr "clé API"
|
57 |
-
|
58 |
-
#: options.php:105
|
59 |
-
msgid "Test Key"
|
60 |
-
msgstr "Tester la clé API."
|
61 |
-
|
62 |
-
#: options.php:107
|
63 |
-
msgid ""
|
64 |
-
"WP YouTube Lyte uses YouTube's API to fetch information on each video. For "
|
65 |
-
"your site to use that API, you will have to <a href=\"https://console."
|
66 |
-
"developers.google.com/project/\" target=\"_blank\">register your site as a new "
|
67 |
-
"application</a>, enable the YouTube API for it and get a server key and fill "
|
68 |
-
"it out here."
|
69 |
-
msgstr ""
|
70 |
-
"WP YouTube Lyte utilise l'API YouTube pour chercher de l'information sur "
|
71 |
-
"chaque vidéo. Pour que votre site puisse utiliser cette API, vous devez <a "
|
72 |
-
"href=\"https://console.developers.google.com/project/\" target=\"_blank"
|
73 |
-
"\">enregistrer votre site comme nouvelle application</a>, activer l'API "
|
74 |
-
"YouTube, générer une clé API et la remplir ici."
|
75 |
-
|
76 |
-
#: options.php:110
|
77 |
-
msgid "Great, your YouTube API key has been taken care of!"
|
78 |
-
msgstr "Fantastique : votre clé API YouTube est prise en compte."
|
79 |
-
|
80 |
-
#: options.php:115 options.php:117
|
81 |
-
msgid "Player size"
|
82 |
-
msgstr "Taille du lecteur"
|
83 |
-
|
84 |
-
#: options.php:136
|
85 |
-
msgid "Add links below the embedded videos?"
|
86 |
-
msgstr "Ajouter des liens sous les vidéos incrustées ?"
|
87 |
-
|
88 |
-
#: options.php:139
|
89 |
-
msgid "Show links?"
|
90 |
-
msgstr "Afficher les liens ?"
|
91 |
-
|
92 |
-
#: options.php:140
|
93 |
-
msgid "Show YouTube-link"
|
94 |
-
msgstr "Afficher le lien YouTube."
|
95 |
-
|
96 |
-
#: options.php:140
|
97 |
-
msgid " Add YouTube-link."
|
98 |
-
msgstr " Ajouter le lien YouTube."
|
99 |
-
|
100 |
-
#: options.php:141
|
101 |
-
msgid "Show YouTube and Ease YouTube link"
|
102 |
-
msgstr "Afficher les liens YouTube et Easy YouTube"
|
103 |
-
|
104 |
-
#: options.php:141
|
105 |
-
msgid ""
|
106 |
-
" Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/"
|
107 |
-
"index.html\" target=\"_blank\">Easy YouTube</a>-link."
|
108 |
-
msgstr ""
|
109 |
-
" Ajouter un lien YouTube et un lien <a href=\"http://icant.co.uk/easy-youtube/"
|
110 |
-
"docs/index.html\" target=\"_blank\">Easy YouTube</a>."
|
111 |
-
|
112 |
-
#: options.php:142
|
113 |
-
msgid "Don't include links."
|
114 |
-
msgstr "N'ajouter aucun lien."
|
115 |
-
|
116 |
-
#: options.php:142
|
117 |
-
msgid " Don't add any links."
|
118 |
-
msgstr "N'ajouter aucun lien."
|
119 |
-
|
120 |
-
#: options.php:147
|
121 |
-
msgid "Player position:"
|
122 |
-
msgstr "Position du lecteur :"
|
123 |
-
|
124 |
-
#: options.php:150
|
125 |
-
msgid "Left, center or right?"
|
126 |
-
msgstr "À gauche, centré ou à droite ?"
|
127 |
-
|
128 |
-
#: options.php:151
|
129 |
-
msgid "Left"
|
130 |
-
msgstr "Gauche"
|
131 |
-
|
132 |
-
#: options.php:152
|
133 |
-
msgid "Center"
|
134 |
-
msgstr "Centré"
|
135 |
-
|
136 |
-
#: options.php:157
|
137 |
-
msgid "Try to force HD (experimental)?"
|
138 |
-
msgstr "Essayer de forcer la HD (expérimental) ?"
|
139 |
-
|
140 |
-
#: options.php:160
|
141 |
-
msgid "HD or not?"
|
142 |
-
msgstr "HD ou pas ?"
|
143 |
-
|
144 |
-
#: options.php:161
|
145 |
-
msgid "Enable HD?"
|
146 |
-
msgstr "Activer la HD ?"
|
147 |
-
|
148 |
-
#: options.php:161
|
149 |
-
msgid "Enable HD"
|
150 |
-
msgstr "Activer la HD"
|
151 |
-
|
152 |
-
#: options.php:162
|
153 |
-
msgid "Don't enable HD playback"
|
154 |
-
msgstr "Ne pas activer les vidéos HD."
|
155 |
-
|
156 |
-
#: options.php:162
|
157 |
-
msgid "No HD (default)"
|
158 |
-
msgstr "Pas de HD (par défaut)"
|
159 |
-
|
160 |
-
#: options.php:167
|
161 |
-
msgid "Add microdata?"
|
162 |
-
msgstr "Ajouter des micro-données ?"
|
163 |
-
|
164 |
-
#: options.php:170
|
165 |
-
msgid "Add video microdata to the HTML?"
|
166 |
-
msgstr "Ajouter des micro-données au code HTML ? "
|
167 |
-
|
168 |
-
#: options.php:171
|
169 |
-
msgid "Sure, add microdata!"
|
170 |
-
msgstr "Oui, ajouter des micro-données !"
|
171 |
-
|
172 |
-
#: options.php:171 options.php:181
|
173 |
-
msgid "Yes (default)"
|
174 |
-
msgstr "Oui (par défaut)"
|
175 |
-
|
176 |
-
#: options.php:172
|
177 |
-
msgid "No microdata in my HTML please."
|
178 |
-
msgstr "Non, pas de micro-données dans mon HTML."
|
179 |
-
|
180 |
-
#: options.php:172
|
181 |
-
msgid "No microdata, thanks."
|
182 |
-
msgstr "Non, pas de micro-données."
|
183 |
-
|
184 |
-
#: options.php:177 options.php:180
|
185 |
-
msgid "Also act on normal YouTube links?"
|
186 |
-
msgstr "Agir aussi sur les liens YouTube normaux ?"
|
187 |
-
|
188 |
-
#: options.php:181
|
189 |
-
msgid "That would be great!"
|
190 |
-
msgstr "Ce serait magnifique !"
|
191 |
-
|
192 |
-
#: options.php:182
|
193 |
-
msgid "No, I'll stick to httpv or shortcodes."
|
194 |
-
msgstr "Non, je préfère les liens httpv ou les \"shortcodes\"."
|
195 |
-
|
196 |
-
#: options.php:182
|
197 |
-
msgid "No thanks."
|
198 |
-
msgstr "Non merci."
|
199 |
-
|
200 |
-
#: options.php:187
|
201 |
-
msgid "Empty WP YouTube Lyte's cache"
|
202 |
-
msgstr "Vider le cache de WP YouTube Lyte"
|
203 |
-
|
204 |
-
#: options.php:198
|
205 |
-
msgid "Save Changes"
|
206 |
-
msgstr "Enregistrer les modifications"
|
207 |
-
|
208 |
-
#: options.php:206
|
209 |
-
msgid "futtta about"
|
210 |
-
msgstr "À propos de futtta"
|
211 |
-
|
212 |
-
#. Plugin Name of the plugin/theme
|
213 |
-
#: options.php:208
|
214 |
-
msgid "WP YouTube Lyte"
|
215 |
-
msgstr "WP YouTube Lyte"
|
216 |
-
|
217 |
-
#: options.php:209
|
218 |
-
msgid "WordPress"
|
219 |
-
msgstr "WordPress"
|
220 |
-
|
221 |
-
#: options.php:210
|
222 |
-
msgid "Web Technology"
|
223 |
-
msgstr "Technologie web"
|
224 |
-
|
225 |
-
#: options.php:214
|
226 |
-
msgid "Do not donate for this plugin!"
|
227 |
-
msgstr "Ne pas donner pour ce plugin !"
|
228 |
-
|
229 |
-
#: options.php:228
|
230 |
-
msgid "Checking your key ..."
|
231 |
-
msgstr "Vérification de votre clé..."
|
232 |
-
|
233 |
-
#: options.php:242
|
234 |
-
msgid "That does not seem to be a correct API key!"
|
235 |
-
msgstr "Ça ne semble pas être une clé API correcte !"
|
236 |
-
|
237 |
-
#: options.php:283
|
238 |
-
msgid "API seems OK, you can Save Changes below now."
|
239 |
-
msgstr "La clé API semble OK, vous pouvez enregistrer ci-dessous."
|
240 |
-
|
241 |
-
#: options.php:285
|
242 |
-
msgid "API key not OK, your key seems to "
|
243 |
-
msgstr "La clé API n'est pas en ordre : elle semble"
|
244 |
-
|
245 |
-
#: options.php:288
|
246 |
-
msgid "be invalid."
|
247 |
-
msgstr "être invalide."
|
248 |
-
|
249 |
-
#: options.php:291
|
250 |
-
msgid "be valid, but restricted to an IP-address which is not your server's."
|
251 |
-
msgstr "être valide, mais n'est pas activée pour l'adresse IP de votre serveur."
|
252 |
-
|
253 |
-
#: options.php:292
|
254 |
-
msgid "Try changing the allowed IP for your API key to include this one: "
|
255 |
-
msgstr ""
|
256 |
-
"Essayer de changer les adresses IP autorisées pour votre clé API, en ajoutant "
|
257 |
-
"celle-ci :"
|
258 |
-
|
259 |
-
#: options.php:296
|
260 |
-
msgid "have expired, please check in the Google Developer Console."
|
261 |
-
msgstr "avoir expiré ; veuillez vérifier dans la Console Google Developer."
|
262 |
-
|
263 |
-
#: options.php:302
|
264 |
-
msgid ""
|
265 |
-
"be correct, but seems to have exceeded the number of requests that can be made "
|
266 |
-
"with it."
|
267 |
-
msgstr "être correcte, mais a dépassé la limite du nombre de requêtes permises."
|
268 |
-
|
269 |
-
#: options.php:305
|
270 |
-
msgid "probably work, but as the video with id "
|
271 |
-
msgstr "fonctionne probablement, mais la vidéo avec l'ID "
|
272 |
-
|
273 |
-
#: options.php:307
|
274 |
-
msgid " was not found we cannot be sure, please try again."
|
275 |
-
msgstr "n'a pas été trouvée. Veuillez essayer à nouveau."
|
276 |
-
|
277 |
-
#: options.php:310
|
278 |
-
msgid "be faulty, with YouTube API returning reason: "
|
279 |
-
msgstr "être invalide. L'API YouTube renvoie le message suivant :"
|
280 |
-
|
281 |
-
#: options.php:315
|
282 |
-
msgid ""
|
283 |
-
"Something went wrong, WP YouTube Lyte might not have been able to retrieve "
|
284 |
-
"information from the YouTube API, got error: "
|
285 |
-
msgstr ""
|
286 |
-
"Il y a eu un problème. WP YouTube Lyte n'a probablement pas pu retrouver "
|
287 |
-
"l'information de l'API YouTube avec l'erreur suivante :"
|
288 |
-
|
289 |
-
#: player_sizes.inc.php:11
|
290 |
-
msgid "Mini 16:9 player"
|
291 |
-
msgstr "Mini lecteur 16:9"
|
292 |
-
|
293 |
-
#: player_sizes.inc.php:17
|
294 |
-
msgid "Smaller 4:3 player"
|
295 |
-
msgstr "Petit lecteur 4:3"
|
296 |
-
|
297 |
-
#: player_sizes.inc.php:23
|
298 |
-
msgid "Smaller 16:9 player"
|
299 |
-
msgstr "Petit lecteur 16:9"
|
300 |
-
|
301 |
-
#: player_sizes.inc.php:29
|
302 |
-
msgid "Standard value, YouTube default for 4:3-ratio video"
|
303 |
-
msgstr "Valeur standard, configuration par défaut de YouTube pour les vidéos 4:3"
|
304 |
-
|
305 |
-
#: player_sizes.inc.php:35
|
306 |
-
msgid "YouTube default for 16:9-ratio video"
|
307 |
-
msgstr "Configuration par défaut de YouTube pour les vidéos 16:9"
|
308 |
-
|
309 |
-
#: player_sizes.inc.php:41
|
310 |
-
msgid "Larger 4:3 player"
|
311 |
-
msgstr "Grand lecteur 4:3"
|
312 |
-
|
313 |
-
#: player_sizes.inc.php:47
|
314 |
-
msgid "Larger 16:9 player"
|
315 |
-
msgstr "Grand lecteur 16:9"
|
316 |
-
|
317 |
-
#: player_sizes.inc.php:53
|
318 |
-
msgid "Maxi 4:3 player"
|
319 |
-
msgstr "Maxi lecteur 4:3"
|
320 |
-
|
321 |
-
#: player_sizes.inc.php:59
|
322 |
-
msgid "Maxi 16:9 player"
|
323 |
-
msgstr "Maxi lecteur 16:9"
|
324 |
-
|
325 |
-
#: widget.php:130
|
326 |
-
msgid "Title:"
|
327 |
-
msgstr "Titre :"
|
328 |
-
|
329 |
-
#: widget.php:131
|
330 |
-
msgid "Size:"
|
331 |
-
msgstr "Taille :"
|
332 |
-
|
333 |
-
#: widget.php:150
|
334 |
-
msgid "Type:"
|
335 |
-
msgstr "Type :"
|
336 |
-
|
337 |
-
#: widget.php:158
|
338 |
-
msgid "audio"
|
339 |
-
msgstr "audio"
|
340 |
-
|
341 |
-
#: widget.php:159
|
342 |
-
msgid "video"
|
343 |
-
msgstr "vidéo"
|
344 |
-
|
345 |
-
#: widget.php:163
|
346 |
-
msgid "Youtube-URL:"
|
347 |
-
msgstr "URL YouTube :"
|
348 |
-
|
349 |
-
#: widget.php:164
|
350 |
-
msgid "Text:"
|
351 |
-
msgstr "Texte :"
|
352 |
-
|
353 |
-
#: wp-youtube-lyte.php:186
|
354 |
-
msgid "Watch this playlist on YouTube"
|
355 |
-
msgstr "Lire cette liste de lecture sur YouTube"
|
356 |
-
|
357 |
-
#: wp-youtube-lyte.php:192
|
358 |
-
msgid "Watch this playlist"
|
359 |
-
msgstr "Lire cette liste de lecture"
|
360 |
-
|
361 |
-
#: wp-youtube-lyte.php:192 wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
|
362 |
-
msgid "on YouTube"
|
363 |
-
msgstr "sur YouTube"
|
364 |
-
|
365 |
-
#: wp-youtube-lyte.php:199
|
366 |
-
msgid "Watch this video on YouTube"
|
367 |
-
msgstr "Lire cette vidéo sur YouTube"
|
368 |
-
|
369 |
-
#: wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
|
370 |
-
msgid "Watch this video"
|
371 |
-
msgstr "Lire cette vidéo"
|
372 |
-
|
373 |
-
#: wp-youtube-lyte.php:204
|
374 |
-
msgid "or on"
|
375 |
-
msgstr "ou sur"
|
376 |
-
|
377 |
-
#: wp-youtube-lyte.php:586
|
378 |
-
msgid "Settings"
|
379 |
-
msgstr "Configuration"
|
380 |
-
|
381 |
-
#. Plugin URI of the plugin/theme
|
382 |
-
msgid "http://blog.futtta.be/wp-youtube-lyte/"
|
383 |
-
msgstr "http://blog.futtta.be/wp-youtube-lyte/"
|
384 |
-
|
385 |
-
#. Description of the plugin/theme
|
386 |
-
msgid "Lite and accessible YouTube audio and video embedding."
|
387 |
-
msgstr "Incrustation audio et vidéo YouTube légère et accessible."
|
388 |
-
|
389 |
-
#. Author of the plugin/theme
|
390 |
-
msgid "Frank Goossens (futtta)"
|
391 |
-
msgstr "Frank Goossens (futtta)"
|
392 |
-
|
393 |
-
#. Author URI of the plugin/theme
|
394 |
-
msgid "http://blog.futtta.be/"
|
395 |
-
msgstr "http://blog.futtta.be/"
|
396 |
-
|
397 |
-
#~ msgid ""
|
398 |
-
#~ "WP YouTube Lyte inserts \"Lite YouTube Embeds\" in your blog. These look "
|
399 |
-
#~ "and feel like normal embedded YouTube, but don't use Flash unless clicked "
|
400 |
-
#~ "on, thereby <a href=\"http://blog.futtta.be/2012/04/03/speed-matters-re-"
|
401 |
-
#~ "evaluating-wp-youtube-lytes-performance/\" target=\"_blank\">reducing "
|
402 |
-
#~ "download size & rendering time substantially</a>. When a video is played, "
|
403 |
-
#~ "WP-YouTube-Lyte can either activate <a href=\"http://apiblog.youtube."
|
404 |
-
#~ "com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank"
|
405 |
-
#~ "\">YouTube's embedded html5-player</a> or the older Flash-version, "
|
406 |
-
#~ "depending on the settings below."
|
407 |
-
#~ msgstr ""
|
408 |
-
#~ "WP YouTube Lyte insère des \"Incrustations Lite YouTube© dans votre blog. "
|
409 |
-
#~ "Ceux-ci ont l'apparence d'incrustrations (<em>embed</em>) YouTube normales, "
|
410 |
-
#~ "mais ne lancent Flash qu'une fois cliquées, ce qui permet de <a href="
|
411 |
-
#~ "\"http://blog.futtta.be/2012/04/03/speed-matters-re-evaluating-wp-youtube-"
|
412 |
-
#~ "lytes-performance/\" target=\"_blank\">réduire le volume de téléchargement "
|
413 |
-
#~ "et le temps de chargement de manière importante</a>. Quand une vidéo est "
|
414 |
-
#~ "jouée, WP-YouTube-Lyte peut soit activer le <a href=\"http://apiblog."
|
415 |
-
#~ "youtube.com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank"
|
416 |
-
#~ "\">lecteur intégré HTML5 de YouTube</a> ou l'ancienne version Flash, en "
|
417 |
-
#~ "fonction des paramètres ci-dessous."
|
418 |
-
|
419 |
-
#~ msgid ""
|
420 |
-
#~ "You can place video and audio in your posts and pages by adding one or more "
|
421 |
-
#~ "http<strong>v</strong> or http<strong>a</strong> YouTube-links to your "
|
422 |
-
#~ "post. These will automatically be replaced by WP YouTube Lyte with the "
|
423 |
-
#~ "correct (flash-less) code. To add a video for example, you type a URL like "
|
424 |
-
#~ "<em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> or "
|
425 |
-
#~ "<em>http<strong>v</strong>://www.youtube.com/playlist?"
|
426 |
-
#~ "list=PLA486E741B25F8E00</em> for a playlist. If you want an audio-only "
|
427 |
-
#~ "player, you enter <em>http<strong>a</strong>://www.youtube.com/watch?"
|
428 |
-
#~ "v=BIQIGR-kWtc</em>. There's more info on the <a href=\"http://wordpress.org/"
|
429 |
-
#~ "extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">wordpress.org WP "
|
430 |
-
#~ "YouTube Lyte FAQ page</a>."
|
431 |
-
#~ msgstr ""
|
432 |
-
#~ "Vous pouvez placer de la vidéo et de l'audio dans vos messages et pages en "
|
433 |
-
#~ "ajoutant un ou plusieurs liens YouTube http<strong>v</strong> ou "
|
434 |
-
#~ "http<strong>a</strong> à votre texte. Ils seront automatiquement remplacés "
|
435 |
-
#~ "par WP YouTube Lyte avec le code correct (sans Flash). Pour ajouter une "
|
436 |
-
#~ "vidéo par exemple, écrivez une URL comme <em>http<strong>v</strong>://www."
|
437 |
-
#~ "youtube.com/watch?v=QQPSMRQnNlU</em> ou <em>http<strong>v</strong>://www."
|
438 |
-
#~ "youtube.com/playlist?list=PLA486E741B25F8E00</em> pour une liste de "
|
439 |
-
#~ "lecture. Si vous voulez un lecteur audio uniquement, écrivez "
|
440 |
-
#~ "<em>http<strong>a</strong>://www.youtube.com/watch?v=BIQIGR-kWtc</em>. Vous "
|
441 |
-
#~ "trouverez plus d'informations sur la <a href=\"http://wordpress.org/extend/"
|
442 |
-
#~ "plugins/wp-youtube-lyte/faq/\" target=\"_blank\">FAQ wordpress.org de WP "
|
443 |
-
#~ "YouTube Lyte</a>."
|
444 |
-
|
445 |
-
#~ msgid ""
|
446 |
-
#~ "You can modify WP-YouTube-Lyte's behaviour by changing the following "
|
447 |
-
#~ "settings:"
|
448 |
-
#~ msgstr ""
|
449 |
-
#~ "Vous pouvez modifier le comportement de WP-YouTube-Lyte en changeant les "
|
450 |
-
#~ "paramètres suivants :"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/wp-youtube-lyte-nl_BE.mo
DELETED
Binary file
|
languages/wp-youtube-lyte-nl_BE.po
DELETED
@@ -1,454 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: WP YouTube Lyte\n"
|
4 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wp-youtube-lyte\n"
|
5 |
-
"POT-Creation-Date: 2015-03-06 17:49:26+00:00\n"
|
6 |
-
"PO-Revision-Date: 2015-03-27 07:17+0100\n"
|
7 |
-
"Last-Translator: frank goossens (futtta) <futtta@gmail.com>\n"
|
8 |
-
"Language-Team: frank goossens ('futtta') <futtta@gmail.com>\n"
|
9 |
-
"Language: nl\n"
|
10 |
-
"MIME-Version: 1.0\n"
|
11 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
-
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Generator: Poedit 1.5.4\n"
|
14 |
-
|
15 |
-
#: options.php:21
|
16 |
-
msgid "Your WP YouTube Lyte cache has been succesfully cleared."
|
17 |
-
msgstr "De WP YouTube Lyte is leeggemaakt."
|
18 |
-
|
19 |
-
#: options.php:27
|
20 |
-
msgid "There was a problem, the WP YouTube Lyte cache could not be cleared."
|
21 |
-
msgstr "Er was een probleem, de cache kon niet worden leeggemaakt."
|
22 |
-
|
23 |
-
#: options.php:61
|
24 |
-
msgid ""
|
25 |
-
"For WP YouTube Lyte to function optimally, you should enter an YouTube API "
|
26 |
-
"key "
|
27 |
-
msgstr ""
|
28 |
-
"Om WP YouTube Lyte optimaal te laten functioneren, zou je een YouTube API "
|
29 |
-
"key invoeren"
|
30 |
-
|
31 |
-
#: options.php:63
|
32 |
-
msgid "in the settings screen."
|
33 |
-
msgstr "in het instellingen-scherm."
|
34 |
-
|
35 |
-
#: options.php:76
|
36 |
-
msgid "WP YouTube Lyte got the following error back from the YouTube API: "
|
37 |
-
msgstr "WP YouTube Lyte kreeg deze foutmelding van de YouTube API:"
|
38 |
-
|
39 |
-
#: options.php:91
|
40 |
-
msgid "WP YouTube Lyte Settings"
|
41 |
-
msgstr "WP YouTube Lyte instellingen"
|
42 |
-
|
43 |
-
#: options.php:98
|
44 |
-
msgid "Your YouTube API key."
|
45 |
-
msgstr "Uw YouTube API key."
|
46 |
-
|
47 |
-
#: options.php:104
|
48 |
-
msgid "Please enter your YouTube API key."
|
49 |
-
msgstr "Vul je YouTube API key in."
|
50 |
-
|
51 |
-
#: options.php:105
|
52 |
-
msgid "API key"
|
53 |
-
msgstr "API key"
|
54 |
-
|
55 |
-
#: options.php:105
|
56 |
-
msgid "Test Key"
|
57 |
-
msgstr "Test API Key"
|
58 |
-
|
59 |
-
#: options.php:107
|
60 |
-
msgid ""
|
61 |
-
"WP YouTube Lyte uses YouTube's API to fetch information on each video. For "
|
62 |
-
"your site to use that API, you will have to <a href=\"https://console."
|
63 |
-
"developers.google.com/project/\" target=\"_blank\">register your site as a "
|
64 |
-
"new application</a>, enable the YouTube API for it and get a server key and "
|
65 |
-
"fill it out here."
|
66 |
-
msgstr ""
|
67 |
-
"WP YouTube Lyte gebruikt YouTube's API om informatie over iedere video te "
|
68 |
-
"verkrijgen. Om uw site die API te laten gebruiken, zul je je <a href="
|
69 |
-
"\"https://console.developers.google.com/project/\" target=\"_blank\">site "
|
70 |
-
"moeten registreren als een nieuwe applicatie</a>, de YouTube API ervoor "
|
71 |
-
"activeren en een server key genereren die je hier moet invoeren."
|
72 |
-
|
73 |
-
#: options.php:110
|
74 |
-
msgid "Great, your YouTube API key has been taken care of!"
|
75 |
-
msgstr "Tof, er is voor je YouTube API key gezorgd!"
|
76 |
-
|
77 |
-
#: options.php:115 options.php:117
|
78 |
-
msgid "Player size"
|
79 |
-
msgstr "Afmetingen van de player"
|
80 |
-
|
81 |
-
#: options.php:136
|
82 |
-
msgid "Add links below the embedded videos?"
|
83 |
-
msgstr "Voeg links to onder de video?"
|
84 |
-
|
85 |
-
#: options.php:139
|
86 |
-
msgid "Show links?"
|
87 |
-
msgstr "Toon links?"
|
88 |
-
|
89 |
-
#: options.php:140
|
90 |
-
msgid "Show YouTube-link"
|
91 |
-
msgstr "Voeg YouTube-link toe"
|
92 |
-
|
93 |
-
#: options.php:140
|
94 |
-
msgid " Add YouTube-link."
|
95 |
-
msgstr "Voeg YouTube-link toe"
|
96 |
-
|
97 |
-
#: options.php:141
|
98 |
-
msgid "Show YouTube and Ease YouTube link"
|
99 |
-
msgstr "Toon de Youtube and Easy YouTube link"
|
100 |
-
|
101 |
-
#: options.php:141
|
102 |
-
msgid ""
|
103 |
-
" Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/"
|
104 |
-
"index.html\" target=\"_blank\">Easy YouTube</a>-link."
|
105 |
-
msgstr ""
|
106 |
-
"Voeg zowel een YouTube als een <a href=\"http://icant.co.uk/easy-youtube/"
|
107 |
-
"docs/index.html\" target=\"_blank\">Easy YouTube</a>-link toe."
|
108 |
-
|
109 |
-
#: options.php:142
|
110 |
-
msgid "Don't include links."
|
111 |
-
msgstr "Voeg geen links toe"
|
112 |
-
|
113 |
-
#: options.php:142
|
114 |
-
msgid " Don't add any links."
|
115 |
-
msgstr "Voeg geen links toe"
|
116 |
-
|
117 |
-
#: options.php:147
|
118 |
-
msgid "Player position:"
|
119 |
-
msgstr "Positie van de player:"
|
120 |
-
|
121 |
-
#: options.php:150
|
122 |
-
msgid "Left, center or right?"
|
123 |
-
msgstr "Links, gecentreerd of rechts?"
|
124 |
-
|
125 |
-
#: options.php:151
|
126 |
-
msgid "Left"
|
127 |
-
msgstr "Links"
|
128 |
-
|
129 |
-
#: options.php:152
|
130 |
-
msgid "Center"
|
131 |
-
msgstr "Gecentreerd"
|
132 |
-
|
133 |
-
#: options.php:157
|
134 |
-
msgid "Try to force HD (experimental)?"
|
135 |
-
msgstr "Forceer HD video?"
|
136 |
-
|
137 |
-
#: options.php:160
|
138 |
-
msgid "HD or not?"
|
139 |
-
msgstr "HD of geen HD?"
|
140 |
-
|
141 |
-
#: options.php:161
|
142 |
-
msgid "Enable HD?"
|
143 |
-
msgstr "Ja, HD graag!"
|
144 |
-
|
145 |
-
#: options.php:161
|
146 |
-
msgid "Enable HD"
|
147 |
-
msgstr "Ja, HD graag!"
|
148 |
-
|
149 |
-
#: options.php:162
|
150 |
-
msgid "Don't enable HD playback"
|
151 |
-
msgstr "Geen HD video"
|
152 |
-
|
153 |
-
#: options.php:162
|
154 |
-
msgid "No HD (default)"
|
155 |
-
msgstr "Geen HD (standaard)"
|
156 |
-
|
157 |
-
#: options.php:167
|
158 |
-
msgid "Add microdata?"
|
159 |
-
msgstr "Microdata toevoegen?"
|
160 |
-
|
161 |
-
#: options.php:170
|
162 |
-
msgid "Add video microdata to the HTML?"
|
163 |
-
msgstr "Microdata over de video toevoegen aan de HTML?"
|
164 |
-
|
165 |
-
#: options.php:171
|
166 |
-
msgid "Sure, add microdata!"
|
167 |
-
msgstr "Microdata toevoegen?"
|
168 |
-
|
169 |
-
#: options.php:171 options.php:181
|
170 |
-
msgid "Yes (default)"
|
171 |
-
msgstr "Ja (standaard)"
|
172 |
-
|
173 |
-
#: options.php:172
|
174 |
-
msgid "No microdata in my HTML please."
|
175 |
-
msgstr "Geen microdata voor mij."
|
176 |
-
|
177 |
-
#: options.php:172
|
178 |
-
msgid "No microdata, thanks."
|
179 |
-
msgstr "Geen microdata voor mij."
|
180 |
-
|
181 |
-
#: options.php:177 options.php:180
|
182 |
-
msgid "Also act on normal YouTube links?"
|
183 |
-
msgstr "Ook normale YouTube-links omzetten?"
|
184 |
-
|
185 |
-
#: options.php:181
|
186 |
-
msgid "That would be great!"
|
187 |
-
msgstr "Dat zou tof zijn."
|
188 |
-
|
189 |
-
#: options.php:182
|
190 |
-
msgid "No, I'll stick to httpv or shortcodes."
|
191 |
-
msgstr "Nee, ik hou het bij httpv-links of shortcodes"
|
192 |
-
|
193 |
-
#: options.php:182
|
194 |
-
msgid "No thanks."
|
195 |
-
msgstr "Nee, liever niet."
|
196 |
-
|
197 |
-
#: options.php:187
|
198 |
-
msgid "Empty WP YouTube Lyte's cache"
|
199 |
-
msgstr "WP YouTube Lyte's cache leegmaken."
|
200 |
-
|
201 |
-
#: options.php:198
|
202 |
-
msgid "Save Changes"
|
203 |
-
msgstr "Bewaar"
|
204 |
-
|
205 |
-
#: options.php:206
|
206 |
-
msgid "futtta about"
|
207 |
-
msgstr "futtta over"
|
208 |
-
|
209 |
-
#. #-#-#-#-# plugin.pot (WP YouTube Lyte 1.5.0) #-#-#-#-#
|
210 |
-
#. Plugin Name of the plugin/theme
|
211 |
-
#: options.php:208
|
212 |
-
msgid "WP YouTube Lyte"
|
213 |
-
msgstr "WP YouTube Lyte"
|
214 |
-
|
215 |
-
#: options.php:209
|
216 |
-
msgid "WordPress"
|
217 |
-
msgstr "WordPress"
|
218 |
-
|
219 |
-
#: options.php:210
|
220 |
-
msgid "Web Technology"
|
221 |
-
msgstr "Web Technologie"
|
222 |
-
|
223 |
-
#: options.php:214
|
224 |
-
msgid "Do not donate for this plugin!"
|
225 |
-
msgstr "Draag niet bij aan deze plugin!"
|
226 |
-
|
227 |
-
#: options.php:228
|
228 |
-
msgid "Checking your key ..."
|
229 |
-
msgstr "Je API key aan het controleren ..."
|
230 |
-
|
231 |
-
#: options.php:242
|
232 |
-
msgid "That does not seem to be a correct API key!"
|
233 |
-
msgstr "Dat lijkt geen correcte API key!"
|
234 |
-
|
235 |
-
#: options.php:283
|
236 |
-
msgid "API seems OK, you can Save Changes below now."
|
237 |
-
msgstr "API key lijkt OK, je kunt onderaan op \"Bewaar\" klikken."
|
238 |
-
|
239 |
-
#: options.php:285
|
240 |
-
msgid "API key not OK, your key seems to "
|
241 |
-
msgstr "API key is niet OK, want lijkt"
|
242 |
-
|
243 |
-
#: options.php:288
|
244 |
-
msgid "be invalid."
|
245 |
-
msgstr "ongeldig."
|
246 |
-
|
247 |
-
#: options.php:291
|
248 |
-
msgid "be valid, but restricted to an IP-address which is not your server's."
|
249 |
-
msgstr "geldig, maar beperkt tot een IP-adres dat niet dat van je server is."
|
250 |
-
|
251 |
-
#: options.php:292
|
252 |
-
msgid "Try changing the allowed IP for your API key to include this one: "
|
253 |
-
msgstr "Probeer het toegestane IP voor je API key te wijzigen naar:"
|
254 |
-
|
255 |
-
#: options.php:296
|
256 |
-
msgid "have expired, please check in the Google Developer Console."
|
257 |
-
msgstr "vervallen, controleer in de Google Developer Console"
|
258 |
-
|
259 |
-
#: options.php:302
|
260 |
-
msgid ""
|
261 |
-
"be correct, but seems to have exceeded the number of requests that can be "
|
262 |
-
"made with it."
|
263 |
-
msgstr "juist te zijn, maar het maximaal aantal requests lijkt overschreden."
|
264 |
-
|
265 |
-
#: options.php:305
|
266 |
-
msgid "probably work, but as the video with id "
|
267 |
-
msgstr "te werken, maar aangezien video met ID"
|
268 |
-
|
269 |
-
#: options.php:307
|
270 |
-
msgid " was not found we cannot be sure, please try again."
|
271 |
-
msgstr "niet gevonden is, kunnen we niet zeker zijn, probeer dus opnieuw."
|
272 |
-
|
273 |
-
#: options.php:310
|
274 |
-
msgid "be faulty, with YouTube API returning reason: "
|
275 |
-
msgstr "verkeerd te zijn, met volgende reden volgens de YouTube API:"
|
276 |
-
|
277 |
-
#: options.php:315
|
278 |
-
msgid ""
|
279 |
-
"Something went wrong, WP YouTube Lyte might not have been able to retrieve "
|
280 |
-
"information from the YouTube API, got error: "
|
281 |
-
msgstr ""
|
282 |
-
"Er ging iets verkeerd, WP YouTube Lyte kon vermoedelijk geen informatie van "
|
283 |
-
"de YouTube API krijgen, foutmelding:"
|
284 |
-
|
285 |
-
#: player_sizes.inc.php:11
|
286 |
-
msgid "Mini 16:9 player"
|
287 |
-
msgstr "Mini 16:9 player"
|
288 |
-
|
289 |
-
#: player_sizes.inc.php:17
|
290 |
-
msgid "Smaller 4:3 player"
|
291 |
-
msgstr "Kleiner 4:3 player"
|
292 |
-
|
293 |
-
#: player_sizes.inc.php:23
|
294 |
-
msgid "Smaller 16:9 player"
|
295 |
-
msgstr "Kleinere 16:9 player"
|
296 |
-
|
297 |
-
#: player_sizes.inc.php:29
|
298 |
-
msgid "Standard value, YouTube default for 4:3-ratio video"
|
299 |
-
msgstr "Standaard 4:3-ratio video"
|
300 |
-
|
301 |
-
#: player_sizes.inc.php:35
|
302 |
-
msgid "YouTube default for 16:9-ratio video"
|
303 |
-
msgstr "Standaard 16:9-ratio video"
|
304 |
-
|
305 |
-
#: player_sizes.inc.php:41
|
306 |
-
msgid "Larger 4:3 player"
|
307 |
-
msgstr "Grotere 4:3 player"
|
308 |
-
|
309 |
-
#: player_sizes.inc.php:47
|
310 |
-
msgid "Larger 16:9 player"
|
311 |
-
msgstr "Grotere 16:9 player"
|
312 |
-
|
313 |
-
#: player_sizes.inc.php:53
|
314 |
-
msgid "Maxi 4:3 player"
|
315 |
-
msgstr "Maxi 4:3 player"
|
316 |
-
|
317 |
-
#: player_sizes.inc.php:59
|
318 |
-
msgid "Maxi 16:9 player"
|
319 |
-
msgstr "Maxi 16:9 player"
|
320 |
-
|
321 |
-
#: widget.php:130
|
322 |
-
msgid "Title:"
|
323 |
-
msgstr "Titel:"
|
324 |
-
|
325 |
-
#: widget.php:131
|
326 |
-
msgid "Size:"
|
327 |
-
msgstr "Afmetingen:"
|
328 |
-
|
329 |
-
#: widget.php:150
|
330 |
-
msgid "Type:"
|
331 |
-
msgstr "Type:"
|
332 |
-
|
333 |
-
#: widget.php:158
|
334 |
-
msgid "audio"
|
335 |
-
msgstr "audio"
|
336 |
-
|
337 |
-
#: widget.php:159
|
338 |
-
msgid "video"
|
339 |
-
msgstr "video"
|
340 |
-
|
341 |
-
#: widget.php:163
|
342 |
-
msgid "Youtube-URL:"
|
343 |
-
msgstr "Youtube-URL:"
|
344 |
-
|
345 |
-
#: widget.php:164
|
346 |
-
msgid "Text:"
|
347 |
-
msgstr "Tekst:"
|
348 |
-
|
349 |
-
#: wp-youtube-lyte.php:186
|
350 |
-
msgid "Watch this playlist on YouTube"
|
351 |
-
msgstr "Bekijk deze playlist op YouTube"
|
352 |
-
|
353 |
-
#: wp-youtube-lyte.php:192
|
354 |
-
msgid "Watch this playlist"
|
355 |
-
msgstr "Bekijk deze playlist"
|
356 |
-
|
357 |
-
#: wp-youtube-lyte.php:192 wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
|
358 |
-
msgid "on YouTube"
|
359 |
-
msgstr "op YouTube"
|
360 |
-
|
361 |
-
#: wp-youtube-lyte.php:199
|
362 |
-
msgid "Watch this video on YouTube"
|
363 |
-
msgstr "Bekijk deze video op YouTube"
|
364 |
-
|
365 |
-
#: wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
|
366 |
-
msgid "Watch this video"
|
367 |
-
msgstr "Bekijk deze video"
|
368 |
-
|
369 |
-
#: wp-youtube-lyte.php:204
|
370 |
-
msgid "or on"
|
371 |
-
msgstr "of op"
|
372 |
-
|
373 |
-
#: wp-youtube-lyte.php:586
|
374 |
-
msgid "Settings"
|
375 |
-
msgstr "Instellingen"
|
376 |
-
|
377 |
-
#. Plugin URI of the plugin/theme
|
378 |
-
msgid "http://blog.futtta.be/wp-youtube-lyte/"
|
379 |
-
msgstr "http://blog.futtta.be/wp-youtube-lyte/"
|
380 |
-
|
381 |
-
#. Description of the plugin/theme
|
382 |
-
msgid "Lite and accessible YouTube audio and video embedding."
|
383 |
-
msgstr "YouTube audio en video embedding \"light\"."
|
384 |
-
|
385 |
-
#. Author of the plugin/theme
|
386 |
-
msgid "Frank Goossens (futtta)"
|
387 |
-
msgstr "Frank Goossens (futtta)"
|
388 |
-
|
389 |
-
#. Author URI of the plugin/theme
|
390 |
-
msgid "http://blog.futtta.be/"
|
391 |
-
msgstr "http://blog.futtta.be/"
|
392 |
-
|
393 |
-
#~ msgid ""
|
394 |
-
#~ "WP YouTube Lyte inserts \"Lite YouTube Embeds\" in your blog. These look "
|
395 |
-
#~ "and feel like normal embedded YouTube, but don't use Flash unless clicked "
|
396 |
-
#~ "on, thereby <a href=\"http://blog.futtta.be/2012/04/03/speed-matters-re-"
|
397 |
-
#~ "evaluating-wp-youtube-lytes-performance/\" target=\"_blank\">reducing "
|
398 |
-
#~ "download size & rendering time substantially</a>. When a video is played, "
|
399 |
-
#~ "WP-YouTube-Lyte can either activate <a href=\"http://apiblog.youtube."
|
400 |
-
#~ "com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank"
|
401 |
-
#~ "\">YouTube's embedded html5-player</a> or the older Flash-version, "
|
402 |
-
#~ "depending on the settings below."
|
403 |
-
#~ msgstr ""
|
404 |
-
#~ "WP YouTube Lyte voegt \"Lite YouTube Embeds\" toe aan je blog. Die zien "
|
405 |
-
#~ "er uit als normale ingebedde YouTube video's, maar laden geen Flash of "
|
406 |
-
#~ "HTML5 voordat de bezoeker de video wilt bekijken, waardoor <a href="
|
407 |
-
#~ "\"http://blog.futtta.be/2010/08/30/the-state-of-wp-youtube-lyte/\" target="
|
408 |
-
#~ "\"_blank\">de hoeveelheid te downloaden informatie verminderd en de "
|
409 |
-
#~ "pagina sneller te zien is</a>."
|
410 |
-
|
411 |
-
#~ msgid ""
|
412 |
-
#~ "You can place video and audio in your posts and pages by adding one or "
|
413 |
-
#~ "more http<strong>v</strong> or http<strong>a</strong> YouTube-links to "
|
414 |
-
#~ "your post. These will automatically be replaced by WP YouTube Lyte with "
|
415 |
-
#~ "the correct (flash-less) code. To add a video for example, you type a URL "
|
416 |
-
#~ "like <em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</"
|
417 |
-
#~ "em> or <em>http<strong>v</strong>://www.youtube.com/playlist?"
|
418 |
-
#~ "list=PLA486E741B25F8E00</em> for a playlist. If you want an audio-only "
|
419 |
-
#~ "player, you enter <em>http<strong>a</strong>://www.youtube.com/watch?"
|
420 |
-
#~ "v=BIQIGR-kWtc</em>. There's more info on the <a href=\"http://wordpress."
|
421 |
-
#~ "org/extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">wordpress.org "
|
422 |
-
#~ "WP YouTube Lyte FAQ page</a>."
|
423 |
-
#~ msgstr ""
|
424 |
-
#~ "Je kunt video an audio in je blogposts opnemen door http<strong>v</"
|
425 |
-
#~ "strong> of http<strong>a</strong>-links in je post te plaatsen. WP "
|
426 |
-
#~ "YouTube Lyte zal die automatisch vervangen met de correcte (Flash-loze) "
|
427 |
-
#~ "code. Om bijvoorbeeld een nieuwe video toe te voegen, gebruik je iets als "
|
428 |
-
#~ "<em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> of "
|
429 |
-
#~ "<em>http<strong>v</strong>://www.youtube.com/playlist?"
|
430 |
-
#~ "list=PLA486E741B25F8E00</em> voor een playlist. Wil je enkel audio, dan "
|
431 |
-
#~ "vervang je de http\"v\" in http\"a\", bv. <em>http<strong>a</strong>://"
|
432 |
-
#~ "www.youtube.com/watch?v=BIQIGR-kWtc</em>. Meer info vind je op de <a href="
|
433 |
-
#~ "\"http://wordpress.org/extend/plugins/wp-youtube-lyte/faq/\" target="
|
434 |
-
#~ "\"_blank\">wordpress.org WP YouTube Lyte FAQ pagina</a>."
|
435 |
-
|
436 |
-
#~ msgid ""
|
437 |
-
#~ "You can modify WP-YouTube-Lyte's behaviour by changing the following "
|
438 |
-
#~ "settings:"
|
439 |
-
#~ msgstr "Je kunt WP YouTube Lyte wijzigen met onderstaande instellingen:"
|
440 |
-
|
441 |
-
#~ msgid "Play video in HD if possible?"
|
442 |
-
#~ msgstr "Speel indien mogelijk in HD af?"
|
443 |
-
|
444 |
-
#~ msgid "No HD, we're smallband!"
|
445 |
-
#~ msgstr "Geen HD, graag licht en luchtig"
|
446 |
-
|
447 |
-
#~ msgid "Bonus feature: "
|
448 |
-
#~ msgstr "Bonus:"
|
449 |
-
|
450 |
-
#~ msgid "Disable 3rd party tracking."
|
451 |
-
#~ msgstr "Tracking door derden stoppen"
|
452 |
-
|
453 |
-
#~ msgid "I don't mind 3rd party tracking (default)"
|
454 |
-
#~ msgstr "Laat die derden maar meekijken"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/wp-youtube-lyte-nl_NL.mo
DELETED
Binary file
|
languages/wp-youtube-lyte-nl_NL.po
DELETED
@@ -1,454 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: WP YouTube Lyte\n"
|
4 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/wp-youtube-lyte\n"
|
5 |
-
"POT-Creation-Date: 2015-03-06 17:49:26+00:00\n"
|
6 |
-
"PO-Revision-Date: 2015-03-27 07:18+0100\n"
|
7 |
-
"Last-Translator: frank goossens (futtta) <futtta@gmail.com>\n"
|
8 |
-
"Language-Team: frank goossens ('futtta') <futtta@gmail.com>\n"
|
9 |
-
"Language: nl\n"
|
10 |
-
"MIME-Version: 1.0\n"
|
11 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
-
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Generator: Poedit 1.5.4\n"
|
14 |
-
|
15 |
-
#: options.php:21
|
16 |
-
msgid "Your WP YouTube Lyte cache has been succesfully cleared."
|
17 |
-
msgstr "De WP YouTube Lyte is leeggemaakt."
|
18 |
-
|
19 |
-
#: options.php:27
|
20 |
-
msgid "There was a problem, the WP YouTube Lyte cache could not be cleared."
|
21 |
-
msgstr "Er was een probleem, de cache kon niet worden leeggemaakt."
|
22 |
-
|
23 |
-
#: options.php:61
|
24 |
-
msgid ""
|
25 |
-
"For WP YouTube Lyte to function optimally, you should enter an YouTube API "
|
26 |
-
"key "
|
27 |
-
msgstr ""
|
28 |
-
"Om WP YouTube Lyte optimaal te laten functioneren, zou je een YouTube API "
|
29 |
-
"key invoeren"
|
30 |
-
|
31 |
-
#: options.php:63
|
32 |
-
msgid "in the settings screen."
|
33 |
-
msgstr "in het instellingen-scherm."
|
34 |
-
|
35 |
-
#: options.php:76
|
36 |
-
msgid "WP YouTube Lyte got the following error back from the YouTube API: "
|
37 |
-
msgstr "WP YouTube Lyte kreeg deze foutmelding van de YouTube API:"
|
38 |
-
|
39 |
-
#: options.php:91
|
40 |
-
msgid "WP YouTube Lyte Settings"
|
41 |
-
msgstr "WP YouTube Lyte instellingen"
|
42 |
-
|
43 |
-
#: options.php:98
|
44 |
-
msgid "Your YouTube API key."
|
45 |
-
msgstr "Uw YouTube API key."
|
46 |
-
|
47 |
-
#: options.php:104
|
48 |
-
msgid "Please enter your YouTube API key."
|
49 |
-
msgstr "Vul je YouTube API key in."
|
50 |
-
|
51 |
-
#: options.php:105
|
52 |
-
msgid "API key"
|
53 |
-
msgstr "API key"
|
54 |
-
|
55 |
-
#: options.php:105
|
56 |
-
msgid "Test Key"
|
57 |
-
msgstr "Test API Key"
|
58 |
-
|
59 |
-
#: options.php:107
|
60 |
-
msgid ""
|
61 |
-
"WP YouTube Lyte uses YouTube's API to fetch information on each video. For "
|
62 |
-
"your site to use that API, you will have to <a href=\"https://console."
|
63 |
-
"developers.google.com/project/\" target=\"_blank\">register your site as a "
|
64 |
-
"new application</a>, enable the YouTube API for it and get a server key and "
|
65 |
-
"fill it out here."
|
66 |
-
msgstr ""
|
67 |
-
"WP YouTube Lyte gebruikt YouTube's API om informatie over iedere video te "
|
68 |
-
"verkrijgen. Om uw site die API te laten gebruiken, zul je je <a href="
|
69 |
-
"\"https://console.developers.google.com/project/\" target=\"_blank\">site "
|
70 |
-
"moeten registreren als een nieuwe applicatie</a>, de YouTube API ervoor "
|
71 |
-
"activeren en een server key genereren die je hier moet invoeren."
|
72 |
-
|
73 |
-
#: options.php:110
|
74 |
-
msgid "Great, your YouTube API key has been taken care of!"
|
75 |
-
msgstr "Tof, er is voor je YouTube API key gezorgd!"
|
76 |
-
|
77 |
-
#: options.php:115 options.php:117
|
78 |
-
msgid "Player size"
|
79 |
-
msgstr "Afmetingen van de player"
|
80 |
-
|
81 |
-
#: options.php:136
|
82 |
-
msgid "Add links below the embedded videos?"
|
83 |
-
msgstr "Voeg links to onder de video?"
|
84 |
-
|
85 |
-
#: options.php:139
|
86 |
-
msgid "Show links?"
|
87 |
-
msgstr "Toon links?"
|
88 |
-
|
89 |
-
#: options.php:140
|
90 |
-
msgid "Show YouTube-link"
|
91 |
-
msgstr "Voeg YouTube-link toe"
|
92 |
-
|
93 |
-
#: options.php:140
|
94 |
-
msgid " Add YouTube-link."
|
95 |
-
msgstr "Voeg YouTube-link toe"
|
96 |
-
|
97 |
-
#: options.php:141
|
98 |
-
msgid "Show YouTube and Ease YouTube link"
|
99 |
-
msgstr "Toon de Youtube and Easy YouTube link"
|
100 |
-
|
101 |
-
#: options.php:141
|
102 |
-
msgid ""
|
103 |
-
" Add both a YouTube and an <a href=\"http://icant.co.uk/easy-youtube/docs/"
|
104 |
-
"index.html\" target=\"_blank\">Easy YouTube</a>-link."
|
105 |
-
msgstr ""
|
106 |
-
"Voeg zowel een YouTube als een <a href=\"http://icant.co.uk/easy-youtube/"
|
107 |
-
"docs/index.html\" target=\"_blank\">Easy YouTube</a>-link toe."
|
108 |
-
|
109 |
-
#: options.php:142
|
110 |
-
msgid "Don't include links."
|
111 |
-
msgstr "Voeg geen links toe"
|
112 |
-
|
113 |
-
#: options.php:142
|
114 |
-
msgid " Don't add any links."
|
115 |
-
msgstr "Voeg geen links toe"
|
116 |
-
|
117 |
-
#: options.php:147
|
118 |
-
msgid "Player position:"
|
119 |
-
msgstr "Positie van de player:"
|
120 |
-
|
121 |
-
#: options.php:150
|
122 |
-
msgid "Left, center or right?"
|
123 |
-
msgstr "Links, gecentreerd of rechts?"
|
124 |
-
|
125 |
-
#: options.php:151
|
126 |
-
msgid "Left"
|
127 |
-
msgstr "Links"
|
128 |
-
|
129 |
-
#: options.php:152
|
130 |
-
msgid "Center"
|
131 |
-
msgstr "Gecentreerd"
|
132 |
-
|
133 |
-
#: options.php:157
|
134 |
-
msgid "Try to force HD (experimental)?"
|
135 |
-
msgstr "Forceer HD video?"
|
136 |
-
|
137 |
-
#: options.php:160
|
138 |
-
msgid "HD or not?"
|
139 |
-
msgstr "HD of geen HD?"
|
140 |
-
|
141 |
-
#: options.php:161
|
142 |
-
msgid "Enable HD?"
|
143 |
-
msgstr "Ja, HD graag!"
|
144 |
-
|
145 |
-
#: options.php:161
|
146 |
-
msgid "Enable HD"
|
147 |
-
msgstr "Ja, HD graag!"
|
148 |
-
|
149 |
-
#: options.php:162
|
150 |
-
msgid "Don't enable HD playback"
|
151 |
-
msgstr "Geen HD video"
|
152 |
-
|
153 |
-
#: options.php:162
|
154 |
-
msgid "No HD (default)"
|
155 |
-
msgstr "Geen HD (standaard)"
|
156 |
-
|
157 |
-
#: options.php:167
|
158 |
-
msgid "Add microdata?"
|
159 |
-
msgstr "Microdata toevoegen?"
|
160 |
-
|
161 |
-
#: options.php:170
|
162 |
-
msgid "Add video microdata to the HTML?"
|
163 |
-
msgstr "Microdata over de video toevoegen aan de HTML?"
|
164 |
-
|
165 |
-
#: options.php:171
|
166 |
-
msgid "Sure, add microdata!"
|
167 |
-
msgstr "Microdata toevoegen?"
|
168 |
-
|
169 |
-
#: options.php:171 options.php:181
|
170 |
-
msgid "Yes (default)"
|
171 |
-
msgstr "Ja (standaard)"
|
172 |
-
|
173 |
-
#: options.php:172
|
174 |
-
msgid "No microdata in my HTML please."
|
175 |
-
msgstr "Geen microdata voor mij."
|
176 |
-
|
177 |
-
#: options.php:172
|
178 |
-
msgid "No microdata, thanks."
|
179 |
-
msgstr "Geen microdata voor mij."
|
180 |
-
|
181 |
-
#: options.php:177 options.php:180
|
182 |
-
msgid "Also act on normal YouTube links?"
|
183 |
-
msgstr "Ook normale YouTube-links omzetten?"
|
184 |
-
|
185 |
-
#: options.php:181
|
186 |
-
msgid "That would be great!"
|
187 |
-
msgstr "Dat zou tof zijn."
|
188 |
-
|
189 |
-
#: options.php:182
|
190 |
-
msgid "No, I'll stick to httpv or shortcodes."
|
191 |
-
msgstr "Nee, ik hou het bij httpv-links of shortcodes"
|
192 |
-
|
193 |
-
#: options.php:182
|
194 |
-
msgid "No thanks."
|
195 |
-
msgstr "Nee, liever niet."
|
196 |
-
|
197 |
-
#: options.php:187
|
198 |
-
msgid "Empty WP YouTube Lyte's cache"
|
199 |
-
msgstr "WP YouTube Lyte's cache leegmaken."
|
200 |
-
|
201 |
-
#: options.php:198
|
202 |
-
msgid "Save Changes"
|
203 |
-
msgstr "Bewaar"
|
204 |
-
|
205 |
-
#: options.php:206
|
206 |
-
msgid "futtta about"
|
207 |
-
msgstr "futtta over"
|
208 |
-
|
209 |
-
#. #-#-#-#-# plugin.pot (WP YouTube Lyte 1.5.0) #-#-#-#-#
|
210 |
-
#. Plugin Name of the plugin/theme
|
211 |
-
#: options.php:208
|
212 |
-
msgid "WP YouTube Lyte"
|
213 |
-
msgstr "WP YouTube Lyte"
|
214 |
-
|
215 |
-
#: options.php:209
|
216 |
-
msgid "WordPress"
|
217 |
-
msgstr "WordPress"
|
218 |
-
|
219 |
-
#: options.php:210
|
220 |
-
msgid "Web Technology"
|
221 |
-
msgstr "Web Technologie"
|
222 |
-
|
223 |
-
#: options.php:214
|
224 |
-
msgid "Do not donate for this plugin!"
|
225 |
-
msgstr "Draag niet bij aan deze plugin!"
|
226 |
-
|
227 |
-
#: options.php:228
|
228 |
-
msgid "Checking your key ..."
|
229 |
-
msgstr "Je API key aan het controleren ..."
|
230 |
-
|
231 |
-
#: options.php:242
|
232 |
-
msgid "That does not seem to be a correct API key!"
|
233 |
-
msgstr "Dat lijkt geen correcte API key!"
|
234 |
-
|
235 |
-
#: options.php:283
|
236 |
-
msgid "API seems OK, you can Save Changes below now."
|
237 |
-
msgstr "API key lijkt OK, je kunt onderaan op \"Bewaar\" klikken."
|
238 |
-
|
239 |
-
#: options.php:285
|
240 |
-
msgid "API key not OK, your key seems to "
|
241 |
-
msgstr "API key is niet OK, want lijkt"
|
242 |
-
|
243 |
-
#: options.php:288
|
244 |
-
msgid "be invalid."
|
245 |
-
msgstr "ongeldig."
|
246 |
-
|
247 |
-
#: options.php:291
|
248 |
-
msgid "be valid, but restricted to an IP-address which is not your server's."
|
249 |
-
msgstr "geldig, maar beperkt tot een IP-adres dat niet dat van je server is."
|
250 |
-
|
251 |
-
#: options.php:292
|
252 |
-
msgid "Try changing the allowed IP for your API key to include this one: "
|
253 |
-
msgstr "Probeer het toegestane IP voor je API key te wijzigen naar:"
|
254 |
-
|
255 |
-
#: options.php:296
|
256 |
-
msgid "have expired, please check in the Google Developer Console."
|
257 |
-
msgstr "vervallen, controleer in de Google Developer Console"
|
258 |
-
|
259 |
-
#: options.php:302
|
260 |
-
msgid ""
|
261 |
-
"be correct, but seems to have exceeded the number of requests that can be "
|
262 |
-
"made with it."
|
263 |
-
msgstr "juist te zijn, maar het maximaal aantal requests lijkt overschreden."
|
264 |
-
|
265 |
-
#: options.php:305
|
266 |
-
msgid "probably work, but as the video with id "
|
267 |
-
msgstr "te werken, maar aangezien video met ID"
|
268 |
-
|
269 |
-
#: options.php:307
|
270 |
-
msgid " was not found we cannot be sure, please try again."
|
271 |
-
msgstr "niet gevonden is, kunnen we niet zeker zijn, probeer dus opnieuw."
|
272 |
-
|
273 |
-
#: options.php:310
|
274 |
-
msgid "be faulty, with YouTube API returning reason: "
|
275 |
-
msgstr "verkeerd te zijn, met volgende reden volgens de YouTube API:"
|
276 |
-
|
277 |
-
#: options.php:315
|
278 |
-
msgid ""
|
279 |
-
"Something went wrong, WP YouTube Lyte might not have been able to retrieve "
|
280 |
-
"information from the YouTube API, got error: "
|
281 |
-
msgstr ""
|
282 |
-
"Er ging iets verkeerd, WP YouTube Lyte kon vermoedelijk geen informatie van "
|
283 |
-
"de YouTube API krijgen, foutmelding:"
|
284 |
-
|
285 |
-
#: player_sizes.inc.php:11
|
286 |
-
msgid "Mini 16:9 player"
|
287 |
-
msgstr "Mini 16:9 player"
|
288 |
-
|
289 |
-
#: player_sizes.inc.php:17
|
290 |
-
msgid "Smaller 4:3 player"
|
291 |
-
msgstr "Kleiner 4:3 player"
|
292 |
-
|
293 |
-
#: player_sizes.inc.php:23
|
294 |
-
msgid "Smaller 16:9 player"
|
295 |
-
msgstr "Kleinere 16:9 player"
|
296 |
-
|
297 |
-
#: player_sizes.inc.php:29
|
298 |
-
msgid "Standard value, YouTube default for 4:3-ratio video"
|
299 |
-
msgstr "Standaard 4:3-ratio video"
|
300 |
-
|
301 |
-
#: player_sizes.inc.php:35
|
302 |
-
msgid "YouTube default for 16:9-ratio video"
|
303 |
-
msgstr "Standaard 16:9-ratio video"
|
304 |
-
|
305 |
-
#: player_sizes.inc.php:41
|
306 |
-
msgid "Larger 4:3 player"
|
307 |
-
msgstr "Grotere 4:3 player"
|
308 |
-
|
309 |
-
#: player_sizes.inc.php:47
|
310 |
-
msgid "Larger 16:9 player"
|
311 |
-
msgstr "Grotere 16:9 player"
|
312 |
-
|
313 |
-
#: player_sizes.inc.php:53
|
314 |
-
msgid "Maxi 4:3 player"
|
315 |
-
msgstr "Maxi 4:3 player"
|
316 |
-
|
317 |
-
#: player_sizes.inc.php:59
|
318 |
-
msgid "Maxi 16:9 player"
|
319 |
-
msgstr "Maxi 16:9 player"
|
320 |
-
|
321 |
-
#: widget.php:130
|
322 |
-
msgid "Title:"
|
323 |
-
msgstr "Titel:"
|
324 |
-
|
325 |
-
#: widget.php:131
|
326 |
-
msgid "Size:"
|
327 |
-
msgstr "Afmetingen:"
|
328 |
-
|
329 |
-
#: widget.php:150
|
330 |
-
msgid "Type:"
|
331 |
-
msgstr "Type:"
|
332 |
-
|
333 |
-
#: widget.php:158
|
334 |
-
msgid "audio"
|
335 |
-
msgstr "audio"
|
336 |
-
|
337 |
-
#: widget.php:159
|
338 |
-
msgid "video"
|
339 |
-
msgstr "video"
|
340 |
-
|
341 |
-
#: widget.php:163
|
342 |
-
msgid "Youtube-URL:"
|
343 |
-
msgstr "Youtube-URL:"
|
344 |
-
|
345 |
-
#: widget.php:164
|
346 |
-
msgid "Text:"
|
347 |
-
msgstr "Tekst:"
|
348 |
-
|
349 |
-
#: wp-youtube-lyte.php:186
|
350 |
-
msgid "Watch this playlist on YouTube"
|
351 |
-
msgstr "Bekijk deze playlist op YouTube"
|
352 |
-
|
353 |
-
#: wp-youtube-lyte.php:192
|
354 |
-
msgid "Watch this playlist"
|
355 |
-
msgstr "Bekijk deze playlist"
|
356 |
-
|
357 |
-
#: wp-youtube-lyte.php:192 wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
|
358 |
-
msgid "on YouTube"
|
359 |
-
msgstr "op YouTube"
|
360 |
-
|
361 |
-
#: wp-youtube-lyte.php:199
|
362 |
-
msgid "Watch this video on YouTube"
|
363 |
-
msgstr "Bekijk deze video op YouTube"
|
364 |
-
|
365 |
-
#: wp-youtube-lyte.php:204 wp-youtube-lyte.php:208
|
366 |
-
msgid "Watch this video"
|
367 |
-
msgstr "Bekijk deze video"
|
368 |
-
|
369 |
-
#: wp-youtube-lyte.php:204
|
370 |
-
msgid "or on"
|
371 |
-
msgstr "of op"
|
372 |
-
|
373 |
-
#: wp-youtube-lyte.php:586
|
374 |
-
msgid "Settings"
|
375 |
-
msgstr "Instellingen"
|
376 |
-
|
377 |
-
#. Plugin URI of the plugin/theme
|
378 |
-
msgid "http://blog.futtta.be/wp-youtube-lyte/"
|
379 |
-
msgstr "http://blog.futtta.be/wp-youtube-lyte/"
|
380 |
-
|
381 |
-
#. Description of the plugin/theme
|
382 |
-
msgid "Lite and accessible YouTube audio and video embedding."
|
383 |
-
msgstr "YouTube audio en video embedding \"light\"."
|
384 |
-
|
385 |
-
#. Author of the plugin/theme
|
386 |
-
msgid "Frank Goossens (futtta)"
|
387 |
-
msgstr "Frank Goossens (futtta)"
|
388 |
-
|
389 |
-
#. Author URI of the plugin/theme
|
390 |
-
msgid "http://blog.futtta.be/"
|
391 |
-
msgstr "http://blog.futtta.be/"
|
392 |
-
|
393 |
-
#~ msgid ""
|
394 |
-
#~ "WP YouTube Lyte inserts \"Lite YouTube Embeds\" in your blog. These look "
|
395 |
-
#~ "and feel like normal embedded YouTube, but don't use Flash unless clicked "
|
396 |
-
#~ "on, thereby <a href=\"http://blog.futtta.be/2012/04/03/speed-matters-re-"
|
397 |
-
#~ "evaluating-wp-youtube-lytes-performance/\" target=\"_blank\">reducing "
|
398 |
-
#~ "download size & rendering time substantially</a>. When a video is played, "
|
399 |
-
#~ "WP-YouTube-Lyte can either activate <a href=\"http://apiblog.youtube."
|
400 |
-
#~ "com/2010/07/new-way-to-embed-youtube-videos.html\" target=\"_blank"
|
401 |
-
#~ "\">YouTube's embedded html5-player</a> or the older Flash-version, "
|
402 |
-
#~ "depending on the settings below."
|
403 |
-
#~ msgstr ""
|
404 |
-
#~ "WP YouTube Lyte voegt \"Lite YouTube Embeds\" toe aan je blog. Die zien "
|
405 |
-
#~ "er uit als normale ingebedde YouTube video's, maar laden geen Flash of "
|
406 |
-
#~ "HTML5 voordat de bezoeker de video wilt bekijken, waardoor <a href="
|
407 |
-
#~ "\"http://blog.futtta.be/2010/08/30/the-state-of-wp-youtube-lyte/\" target="
|
408 |
-
#~ "\"_blank\">de hoeveelheid te downloaden informatie verminderd en de "
|
409 |
-
#~ "pagina sneller te zien is</a>."
|
410 |
-
|
411 |
-
#~ msgid ""
|
412 |
-
#~ "You can place video and audio in your posts and pages by adding one or "
|
413 |
-
#~ "more http<strong>v</strong> or http<strong>a</strong> YouTube-links to "
|
414 |
-
#~ "your post. These will automatically be replaced by WP YouTube Lyte with "
|
415 |
-
#~ "the correct (flash-less) code. To add a video for example, you type a URL "
|
416 |
-
#~ "like <em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</"
|
417 |
-
#~ "em> or <em>http<strong>v</strong>://www.youtube.com/playlist?"
|
418 |
-
#~ "list=PLA486E741B25F8E00</em> for a playlist. If you want an audio-only "
|
419 |
-
#~ "player, you enter <em>http<strong>a</strong>://www.youtube.com/watch?"
|
420 |
-
#~ "v=BIQIGR-kWtc</em>. There's more info on the <a href=\"http://wordpress."
|
421 |
-
#~ "org/extend/plugins/wp-youtube-lyte/faq/\" target=\"_blank\">wordpress.org "
|
422 |
-
#~ "WP YouTube Lyte FAQ page</a>."
|
423 |
-
#~ msgstr ""
|
424 |
-
#~ "Je kunt video an audio in je blogposts opnemen door http<strong>v</"
|
425 |
-
#~ "strong> of http<strong>a</strong>-links in je post te plaatsen. WP "
|
426 |
-
#~ "YouTube Lyte zal die automatisch vervangen met de correcte (Flash-loze) "
|
427 |
-
#~ "code. Om bijvoorbeeld een nieuwe video toe te voegen, gebruik je iets als "
|
428 |
-
#~ "<em>http<strong>v</strong>://www.youtube.com/watch?v=QQPSMRQnNlU</em> of "
|
429 |
-
#~ "<em>http<strong>v</strong>://www.youtube.com/playlist?"
|
430 |
-
#~ "list=PLA486E741B25F8E00</em> voor een playlist. Wil je enkel audio, dan "
|
431 |
-
#~ "vervang je de http\"v\" in http\"a\", bv. <em>http<strong>a</strong>://"
|
432 |
-
#~ "www.youtube.com/watch?v=BIQIGR-kWtc</em>. Meer info vind je op de <a href="
|
433 |
-
#~ "\"http://wordpress.org/extend/plugins/wp-youtube-lyte/faq/\" target="
|
434 |
-
#~ "\"_blank\">wordpress.org WP YouTube Lyte FAQ pagina</a>."
|
435 |
-
|
436 |
-
#~ msgid ""
|
437 |
-
#~ "You can modify WP-YouTube-Lyte's behaviour by changing the following "
|
438 |
-
#~ "settings:"
|
439 |
-
#~ msgstr "Je kunt WP YouTube Lyte wijzigen met onderstaande instellingen:"
|
440 |
-
|
441 |
-
#~ msgid "Play video in HD if possible?"
|
442 |
-
#~ msgstr "Speel indien mogelijk in HD af?"
|
443 |
-
|
444 |
-
#~ msgid "No HD, we're smallband!"
|
445 |
-
#~ msgstr "Geen HD, graag licht en luchtig"
|
446 |
-
|
447 |
-
#~ msgid "Bonus feature: "
|
448 |
-
#~ msgstr "Bonus:"
|
449 |
-
|
450 |
-
#~ msgid "Disable 3rd party tracking."
|
451 |
-
#~ msgstr "Tracking door derden stoppen"
|
452 |
-
|
453 |
-
#~ msgid "I don't mind 3rd party tracking (default)"
|
454 |
-
#~ msgstr "Laat die derden maar meekijken"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lytePartners.php
ADDED
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Classlessly add a "more tools" tab to promote (future) AO addons and/ or affiliate services
|
4 |
+
*/
|
5 |
+
|
6 |
+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
7 |
+
|
8 |
+
add_action('admin_init', 'lyte_partner_tabs_preinit');
|
9 |
+
function lyte_partner_tabs_preinit() {
|
10 |
+
if (apply_filters('wp-youtube-lyte_filter_show_partner_tabs',true)) {
|
11 |
+
add_filter('wp-youtube-lyte_filter_settingsscreen_tabs','lyte_add_partner_tabs');
|
12 |
+
}
|
13 |
+
}
|
14 |
+
|
15 |
+
function lyte_add_partner_tabs($in) {
|
16 |
+
$in=array_merge($in,array('lyte_partners' => __('More Performance!','wp-youtube-lyte')));
|
17 |
+
return $in;
|
18 |
+
}
|
19 |
+
|
20 |
+
add_action('admin_menu','lyte_partners_init');
|
21 |
+
function lyte_partners_init() {
|
22 |
+
if (apply_filters('wp-youtube-lyte_filter_show_partner_tabs',true)) {
|
23 |
+
$hook=add_submenu_page(NULL,'Lyte partner','Lyte partner','manage_options','lyte_partners','lyte_partners');
|
24 |
+
// register_settings here as well if needed
|
25 |
+
}
|
26 |
+
}
|
27 |
+
|
28 |
+
function lyte_partners() {
|
29 |
+
?>
|
30 |
+
<style>
|
31 |
+
.itemDetail {
|
32 |
+
background: #fff;
|
33 |
+
width: 250px;
|
34 |
+
min-height: 290px;
|
35 |
+
border: 1px solid #ccc;
|
36 |
+
float: left;
|
37 |
+
padding: 15px;
|
38 |
+
position: relative;
|
39 |
+
margin: 0 10px 10px 0;
|
40 |
+
}
|
41 |
+
.itemTitle {
|
42 |
+
margin-top:0px;
|
43 |
+
margin-bottom:10px;
|
44 |
+
}
|
45 |
+
.itemImage {
|
46 |
+
text-align: center;
|
47 |
+
}
|
48 |
+
.itemImage img {
|
49 |
+
max-width: 95%;
|
50 |
+
max-height: 150px;
|
51 |
+
}
|
52 |
+
.itemDescription {
|
53 |
+
margin-bottom:30px;
|
54 |
+
}
|
55 |
+
.itemButtonRow {
|
56 |
+
position: absolute;
|
57 |
+
bottom: 10px;
|
58 |
+
right: 10px;
|
59 |
+
width:100%;
|
60 |
+
}
|
61 |
+
.itemButton {
|
62 |
+
float:right;
|
63 |
+
}
|
64 |
+
.itemButton a {
|
65 |
+
text-decoration: none;
|
66 |
+
color: #555;
|
67 |
+
}
|
68 |
+
.itemButton a:hover {
|
69 |
+
text-decoration: none;
|
70 |
+
color: #23282d;
|
71 |
+
}
|
72 |
+
</style>
|
73 |
+
<div class="wrap">
|
74 |
+
<h1><?php _e('WP YouTube Lyte Settings','wp-youtube-lyte'); ?></h1>
|
75 |
+
<?php echo lyte_admin_tabs(); ?>
|
76 |
+
<?php
|
77 |
+
echo '<h2>'. __("These related services will improve your site's performance even more!",'wp-youtube-lyte') . '</h2>';
|
78 |
+
?>
|
79 |
+
<div>
|
80 |
+
<?php getLytePartnerFeed(); ?>
|
81 |
+
</div>
|
82 |
+
</div>
|
83 |
+
<?php
|
84 |
+
}
|
85 |
+
|
86 |
+
function getLytePartnerFeed() {
|
87 |
+
$noFeedText=__( 'Have a look at <a href="http://optimizingmatters.com/">optimizingmatters.com</a> for wp-youtube-lyte power-ups!', 'wp-youtube-lyte' );
|
88 |
+
|
89 |
+
if (apply_filters('wp-youtube-lyte_settingsscreen_remotehttp',true)) {
|
90 |
+
$rss = fetch_feed( "http://feeds.feedburner.com/OptimizingMattersDownloads" );
|
91 |
+
$maxitems = 0;
|
92 |
+
|
93 |
+
if ( ! is_wp_error( $rss ) ) {
|
94 |
+
$maxitems = $rss->get_item_quantity( 20 );
|
95 |
+
$rss_items = $rss->get_items( 0, $maxitems );
|
96 |
+
} ?>
|
97 |
+
<ul>
|
98 |
+
<?php
|
99 |
+
if ( $maxitems == 0 ) {
|
100 |
+
echo $noFeedText;
|
101 |
+
} else {
|
102 |
+
foreach ( $rss_items as $item ) :
|
103 |
+
$itemURL = esc_url( $item->get_permalink() ); ?>
|
104 |
+
<li class="itemDetail">
|
105 |
+
<h3 class="itemTitle"><a href="<?php echo $itemURL; ?>" target="_blank"><?php echo esc_html( $item->get_title() ); ?></a></h3>
|
106 |
+
<?php
|
107 |
+
if (($enclosure = $item->get_enclosure()) && (strpos($enclosure->get_type(),"image")!==false) ) {
|
108 |
+
$itemImgURL=esc_url($enclosure->get_link());
|
109 |
+
echo "<div class=\"itemImage\"><a href=\"".$itemURL."\" target=\"_blank\"><img src=\"".$itemImgURL."\"/></a></div>";
|
110 |
+
}
|
111 |
+
?>
|
112 |
+
<div class="itemDescription"><?php echo wp_kses_post($item -> get_description() ); ?></div>
|
113 |
+
<div class="itemButtonRow"><div class="itemButton button-secondary"><a href="<?php echo $itemURL; ?>" target="_blank">More info</a></div></div>
|
114 |
+
</li>
|
115 |
+
<?php endforeach; ?>
|
116 |
+
<?php } ?>
|
117 |
+
</ul>
|
118 |
+
<?php
|
119 |
+
} else {
|
120 |
+
echo $noFeedText;
|
121 |
+
}
|
122 |
+
}
|
options.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
3 |
|
|
|
|
|
4 |
$plugin_dir = basename(dirname(__FILE__)).'/languages';
|
5 |
load_plugin_textdomain( 'wp-youtube-lyte', false, $plugin_dir );
|
6 |
|
@@ -8,12 +10,15 @@ add_action('admin_menu', 'lyte_create_menu');
|
|
8 |
|
9 |
if (get_option('lyte_emptycache','0')==="1") {
|
10 |
$emptycache=lyte_rm_cache();
|
|
|
11 |
if ($emptycache==="OK") {
|
12 |
add_action('admin_notices', 'lyte_cacheclear_ok_notice');
|
|
|
|
|
|
|
13 |
} else {
|
14 |
add_action('admin_notices', 'lyte_cacheclear_fail_notice');
|
15 |
}
|
16 |
-
update_option('lyte_emptycache','0');
|
17 |
}
|
18 |
|
19 |
function lyte_cacheclear_ok_notice() {
|
@@ -22,6 +27,12 @@ function lyte_cacheclear_ok_notice() {
|
|
22 |
echo '</p></div>';
|
23 |
}
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
function lyte_cacheclear_fail_notice() {
|
26 |
echo '<div class="error"><p>';
|
27 |
_e('There was a problem, the WP YouTube Lyte cache could not be cleared.', 'wp-youtube-lyte' );
|
@@ -48,12 +59,13 @@ function register_lyte_settings() {
|
|
48 |
}
|
49 |
|
50 |
function lyte_admin_scripts() {
|
51 |
-
wp_enqueue_script('jqzrssfeed', plugins_url('/external/jquery.zrssfeed.min.js', __FILE__), array('jquery'),null,true);
|
52 |
wp_enqueue_script('jqcookie', plugins_url('/external/jquery.cookie.min.js', __FILE__), array('jquery'),null,true);
|
53 |
-
|
|
|
54 |
|
55 |
function lyte_admin_styles() {
|
56 |
-
|
|
|
57 |
}
|
58 |
|
59 |
function lyte_admin_nag_apikey() {
|
@@ -87,9 +99,75 @@ if (get_option('lyte_api_error','')!=='') {
|
|
87 |
function lyte_settings_page() {
|
88 |
global $pSize, $pSizeOrder;
|
89 |
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
<div class="wrap">
|
91 |
<h2><?php _e("WP YouTube Lyte Settings","wp-youtube-lyte") ?></h2>
|
92 |
<div style="float:left;width:70%;">
|
|
|
93 |
<form method="post" action="options.php">
|
94 |
<?php settings_fields( 'lyte-settings-group' ); ?>
|
95 |
<table class="form-table">
|
@@ -116,7 +194,7 @@ function lyte_settings_page() {
|
|
116 |
<td>
|
117 |
<fieldset><legend class="screen-reader-text"><span><?php _e("Player size","wp-youtube-lyte") ?></span></legend>
|
118 |
<?php
|
119 |
-
|
120 |
foreach (array("169","43") as $f) {
|
121 |
foreach ($pSizeOrder[$f] as $i) {
|
122 |
$pS=$pSize[$i];
|
@@ -200,72 +278,100 @@ function lyte_settings_page() {
|
|
200 |
|
201 |
</form>
|
202 |
</div>
|
203 |
-
<div
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
217 |
</div>
|
|
|
|
|
218 |
</div>
|
219 |
|
220 |
<script type="text/javascript">
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
jQuery(document).ready(function() {
|
228 |
-
jQuery( "#check_api_key" ).click(function() {
|
229 |
-
jQuery("#lyte_key_check_output").show();
|
230 |
-
jQuery("#lyte_key_check_output").append('<p><?php _e("Checking your key ..."); ?></p>');
|
231 |
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
jQuery("#lyte_key_check_output").append('<p><?php _e("That does not seem to be a correct API key!"); ?></p>');
|
245 |
-
}
|
246 |
-
})
|
247 |
|
248 |
-
|
|
|
|
|
|
|
|
|
249 |
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
function show_feed(id) {
|
257 |
-
jQuery('#futtta_feed').rssfeed(feed[id], {
|
258 |
-
<?php if ( is_ssl() ) echo "ssl: true,"; ?>
|
259 |
-
limit: 4,
|
260 |
-
date: true,
|
261 |
-
header: false
|
262 |
-
});
|
263 |
-
jQuery("#feed_dropdown").val(id);
|
264 |
-
jQuery.cookie(cookiename,id,{ expires: 365 });
|
265 |
-
}
|
266 |
</script>
|
267 |
-
|
268 |
</div>
|
|
|
269 |
<?php }
|
270 |
|
271 |
// ajax receiver for YT API key check
|
@@ -319,4 +425,59 @@ function lyte_check_yt_api_key_callback() {
|
|
319 |
}
|
320 |
wp_die();
|
321 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
322 |
?>
|
1 |
<?php
|
2 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
3 |
|
4 |
+
require("lytePartners.php");
|
5 |
+
|
6 |
$plugin_dir = basename(dirname(__FILE__)).'/languages';
|
7 |
load_plugin_textdomain( 'wp-youtube-lyte', false, $plugin_dir );
|
8 |
|
10 |
|
11 |
if (get_option('lyte_emptycache','0')==="1") {
|
12 |
$emptycache=lyte_rm_cache();
|
13 |
+
update_option('lyte_emptycache','0');
|
14 |
if ($emptycache==="OK") {
|
15 |
add_action('admin_notices', 'lyte_cacheclear_ok_notice');
|
16 |
+
} elseif ($emptycache==="PART") {
|
17 |
+
add_action('admin_notices', 'lyte_cacheclear_part_notice');
|
18 |
+
update_option('lyte_emptycache','1'); // to ensure cache-purging continues
|
19 |
} else {
|
20 |
add_action('admin_notices', 'lyte_cacheclear_fail_notice');
|
21 |
}
|
|
|
22 |
}
|
23 |
|
24 |
function lyte_cacheclear_ok_notice() {
|
27 |
echo '</p></div>';
|
28 |
}
|
29 |
|
30 |
+
function lyte_cacheclear_part_notice() {
|
31 |
+
echo '<div class="error"><p>';
|
32 |
+
_e('WP YouTube Lyte cache was partially cleared, refresh this page to continue purging.', 'wp-youtube-lyte' );
|
33 |
+
echo '</p></div>';
|
34 |
+
}
|
35 |
+
|
36 |
function lyte_cacheclear_fail_notice() {
|
37 |
echo '<div class="error"><p>';
|
38 |
_e('There was a problem, the WP YouTube Lyte cache could not be cleared.', 'wp-youtube-lyte' );
|
59 |
}
|
60 |
|
61 |
function lyte_admin_scripts() {
|
|
|
62 |
wp_enqueue_script('jqcookie', plugins_url('/external/jquery.cookie.min.js', __FILE__), array('jquery'),null,true);
|
63 |
+
wp_enqueue_script('unslider', plugins_url('/external/unslider-min.js', __FILE__), array('jquery'),null,true);
|
64 |
+
}
|
65 |
|
66 |
function lyte_admin_styles() {
|
67 |
+
wp_enqueue_style('unslider', plugins_url('/external/unslider.css', __FILE__));
|
68 |
+
wp_enqueue_style('unslider-dots', plugins_url('/external/unslider-dots.css', __FILE__));
|
69 |
}
|
70 |
|
71 |
function lyte_admin_nag_apikey() {
|
99 |
function lyte_settings_page() {
|
100 |
global $pSize, $pSizeOrder;
|
101 |
?>
|
102 |
+
<style>
|
103 |
+
/* rss block */
|
104 |
+
#futtta_feed ul{list-style:outside;}
|
105 |
+
#futtta_feed {font-size:medium; margin:0px 20px;}
|
106 |
+
|
107 |
+
/* banner + unslider */
|
108 |
+
.lyte_banner {
|
109 |
+
margin: 0 38px;
|
110 |
+
padding-bottom: 5px;
|
111 |
+
}
|
112 |
+
.lyte_banner ul li {
|
113 |
+
font-size:medium;
|
114 |
+
text-align:center;
|
115 |
+
}
|
116 |
+
.unslider {
|
117 |
+
position:relative;
|
118 |
+
}
|
119 |
+
.unslider-arrow {
|
120 |
+
display: block;
|
121 |
+
left: unset;
|
122 |
+
margin-top: -35px;
|
123 |
+
margin-left: 7px;
|
124 |
+
margin-right: 7px;
|
125 |
+
border-radius: 32px;
|
126 |
+
background: rgba(0, 0, 0, 0.10) no-repeat 50% 50%;
|
127 |
+
color: rgba(255, 255, 255, 0.8);
|
128 |
+
font: normal 20px/1 dashicons;
|
129 |
+
speak: none;
|
130 |
+
padding: 3px 2px 3px 4px;
|
131 |
+
-webkit-font-smoothing: antialiased;
|
132 |
+
-moz-osx-font-smoothing: grayscale;
|
133 |
+
}
|
134 |
+
.unslider-arrow:hover {
|
135 |
+
background-color: rgba(0, 0, 0, 0.20);
|
136 |
+
color: #FFF;
|
137 |
+
}
|
138 |
+
.unslider-arrow.prev {
|
139 |
+
padding: 3px 4px 3px 2px;
|
140 |
+
}
|
141 |
+
.unslider-arrow.next {
|
142 |
+
right: 0px;
|
143 |
+
}
|
144 |
+
.unslider-arrow.prev::before {
|
145 |
+
content: "\f341";
|
146 |
+
}
|
147 |
+
.unslider-arrow.next::before {
|
148 |
+
content: "\f345";
|
149 |
+
}
|
150 |
+
/* responsive stuff: hide admin-feed on smaller screens */
|
151 |
+
@media (min-width: 961px) {
|
152 |
+
#lyte_main {float:left;width:69%;}
|
153 |
+
#lyte_admin_feed{float:right;width:30%;display:block !important;}
|
154 |
+
}
|
155 |
+
@media (max-width: 960px) {
|
156 |
+
#lyte_main {width:100%;}
|
157 |
+
#lyte_admin_feed {width:0%;display:none !important;}
|
158 |
+
}
|
159 |
+
@media (max-width: 782px) {
|
160 |
+
#lyte_hide_adv span, #lyte_show_adv span {display: none;}
|
161 |
+
#lyte_hide_adv,#lyte_show_adv {height: 34px;padding: 4px 12px 8px 8px;}
|
162 |
+
#lyte_hide_adv:before,#lyte_show_adv:before {font-size: 25px;}
|
163 |
+
#lyte_main input[type="checkbox"] {margin-left: 10px;}
|
164 |
+
#lyte_main .cb_label {display: block; padding-left: 45px; text-indent: -45px;}
|
165 |
+
}
|
166 |
+
</style>
|
167 |
<div class="wrap">
|
168 |
<h2><?php _e("WP YouTube Lyte Settings","wp-youtube-lyte") ?></h2>
|
169 |
<div style="float:left;width:70%;">
|
170 |
+
<?php echo lyte_admin_tabs(); ?>
|
171 |
<form method="post" action="options.php">
|
172 |
<?php settings_fields( 'lyte-settings-group' ); ?>
|
173 |
<table class="form-table">
|
194 |
<td>
|
195 |
<fieldset><legend class="screen-reader-text"><span><?php _e("Player size","wp-youtube-lyte") ?></span></legend>
|
196 |
<?php
|
197 |
+
$sel = !is_bool(get_option('lyte_size')) ? (int) get_option('lyte_size') : 0;
|
198 |
foreach (array("169","43") as $f) {
|
199 |
foreach ($pSizeOrder[$f] as $i) {
|
200 |
$pS=$pSize[$i];
|
278 |
|
279 |
</form>
|
280 |
</div>
|
281 |
+
<div id="lyte_admin_feed" class="">
|
282 |
+
<div class="lyte_banner ">
|
283 |
+
<ul>
|
284 |
+
<?php
|
285 |
+
if (apply_filters('wp-youtube-lyte_settingsscreen_remotehttp',true)) {
|
286 |
+
$lyte_banner=get_transient("wp-youtube-lyte_banner");
|
287 |
+
if (empty($lyte_banner)) {
|
288 |
+
$banner_resp = wp_remote_get("http://misc.optimizingmatters.com/wp-youtube-lyte_news.html");
|
289 |
+
if (!is_wp_error($banner_resp)) {
|
290 |
+
if (wp_remote_retrieve_response_code($banner_resp)=="200") {
|
291 |
+
$lyte_banner = wp_kses_post(wp_remote_retrieve_body($banner_resp));
|
292 |
+
set_transient("wp-youtube-lyte_banner",$lyte_banner,DAY_IN_SECONDS);
|
293 |
+
}
|
294 |
+
}
|
295 |
+
}
|
296 |
+
echo $lyte_banner;
|
297 |
+
}
|
298 |
+
?>
|
299 |
+
<li><?php _e("Need help? <a href='https://wordpress.org/plugins/wp-youtube-lyte/faq/'>Check out the FAQ here</a>.","wp-youtube-lyte"); ?></li>
|
300 |
+
<li><?php _e("Happy with wp-youtube-lyte?","wp-youtube-lyte"); ?><br /><a href="<?php echo network_admin_url(); ?>plugin-install.php?tab=search&type=author&s=optimizingmatters"><?php _e("Try my other plugins!","wp-youtube-lyte"); ?></a></li>
|
301 |
+
</ul>
|
302 |
+
</div>
|
303 |
+
<div style="margin-left:10px;margin-top:-5px;">
|
304 |
+
<h2>
|
305 |
+
<?php _e("futtta about","wp-youtube-lyte") ?>
|
306 |
+
<select id="feed_dropdown" >
|
307 |
+
<option value="1"><?php _e("WP YouTube Lyte","wp-youtube-lyte") ?></option>
|
308 |
+
<option value="2"><?php _e("WordPress","wp-youtube-lyte") ?></option>
|
309 |
+
<option value="3"><?php _e("Web Technology","wp-youtube-lyte") ?></option>
|
310 |
+
</select>
|
311 |
+
</h2>
|
312 |
+
<div id="futtta_feed">
|
313 |
+
<div id="wp-youtube-lytefeed">
|
314 |
+
<?php getFutttaFeeds("http://feeds.feedburner.com/futtta_wp-youtube-lyte"); ?>
|
315 |
+
</div>
|
316 |
+
<div id="wordpressfeed">
|
317 |
+
<?php getFutttaFeeds("http://feeds.feedburner.com/futtta_wordpress"); ?>
|
318 |
+
</div>
|
319 |
+
<div id="webtechfeed">
|
320 |
+
<?php getFutttaFeeds("http://feeds.feedburner.com/futtta_webtech"); ?>
|
321 |
+
</div>
|
322 |
</div>
|
323 |
+
</div>
|
324 |
+
<div style="float:right;margin:50px 15px;"><a href="http://blog.futtta.be/2013/10/21/do-not-donate-to-me/" target="_blank"><img width="100px" height="85px" src="<?php echo plugins_url().'/'.plugin_basename(dirname(__FILE__)).'/external/do_not_donate_smallest.png'; ?>" title="<?php _e("Do not donate for this plugin!","wp-youtube-lyte"); ?>"></a></div>
|
325 |
</div>
|
326 |
|
327 |
<script type="text/javascript">
|
328 |
+
var feed = new Array;
|
329 |
+
feed[1]="wp-youtube-lytefeed";
|
330 |
+
feed[2]="wordpressfeed";
|
331 |
+
feed[3]="webtechfeed";
|
332 |
+
cookiename="wp-youtube-lyte_feed";
|
|
|
|
|
|
|
|
|
|
|
333 |
|
334 |
+
jQuery(document).ready(function() {
|
335 |
+
jQuery( "#check_api_key" ).click(function() {
|
336 |
+
jQuery("#lyte_key_check_output").show();
|
337 |
+
jQuery("#lyte_key_check_output").append('<p><?php _e("Checking your key ..."); ?></p>');
|
338 |
+
lyte_yt_api_key=jQuery("input#lyte_yt_api_key").val();
|
339 |
+
if ((lyte_yt_api_key.length>9) &&(lyte_yt_api_key.length<99)) {
|
340 |
+
var data = {
|
341 |
+
'action': 'lyte_check_yt_api_key',
|
342 |
+
'lyte_nonce': '<?php echo wp_create_nonce( "lyte_check_api_key" );?>',
|
343 |
+
'lyte_yt_api_key': jQuery("input#lyte_yt_api_key").val()
|
344 |
+
};
|
345 |
+
jQuery.post(ajaxurl, data, function(response) {
|
346 |
+
jQuery("#lyte_key_check_output").append('<p>'+response+'</p>');
|
347 |
+
});
|
348 |
+
} else {
|
349 |
+
jQuery("#lyte_key_check_output").append('<p><?php _e("That does not seem to be a correct API key!"); ?></p>');
|
350 |
+
}
|
351 |
+
})
|
352 |
+
jQuery('#lyte_admin_feed').fadeTo("slow",1).show();
|
353 |
+
jQuery('.lyte_banner').unslider({autoplay:true, delay:3500, infinite: false, arrows:{prev:'<a class="unslider-arrow prev"></a>', next:'<a class="unslider-arrow next"></a>'}}).fadeTo("slow",1).show();
|
354 |
|
355 |
+
jQuery( "#feed_dropdown" ).change(function() {
|
356 |
+
jQuery("#futtta_feed").fadeTo(0,0);
|
357 |
+
jQuery("#futtta_feed").fadeTo("slow",1);
|
358 |
+
});
|
|
|
|
|
|
|
359 |
|
360 |
+
jQuery("#feed_dropdown").change(function() { show_feed(jQuery("#feed_dropdown").val()) });
|
361 |
+
feedid=jQuery.cookie(cookiename);
|
362 |
+
if(typeof(feedid) !== "string") feedid=1;
|
363 |
+
show_feed(feedid);
|
364 |
+
})
|
365 |
|
366 |
+
function show_feed(id) {
|
367 |
+
jQuery('#futtta_feed').children().hide();
|
368 |
+
jQuery('#'+feed[id]).show();
|
369 |
+
jQuery("#feed_dropdown").val(id);
|
370 |
+
jQuery.cookie(cookiename,id,{ expires: 365 });
|
371 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
372 |
</script>
|
|
|
373 |
</div>
|
374 |
+
|
375 |
<?php }
|
376 |
|
377 |
// ajax receiver for YT API key check
|
425 |
}
|
426 |
wp_die();
|
427 |
}
|
428 |
+
|
429 |
+
function getFutttaFeeds($url) {
|
430 |
+
if (apply_filters('lyte_settingsscreen_remotehttp',true)) {
|
431 |
+
$rss = fetch_feed( $url );
|
432 |
+
$maxitems = 0;
|
433 |
+
|
434 |
+
if ( ! is_wp_error( $rss ) ) {
|
435 |
+
$maxitems = $rss->get_item_quantity( 7 );
|
436 |
+
$rss_items = $rss->get_items( 0, $maxitems );
|
437 |
+
}
|
438 |
+
?>
|
439 |
+
<ul>
|
440 |
+
<?php if ( $maxitems == 0 ) : ?>
|
441 |
+
<li><?php _e( 'No items', 'autoptimize' ); ?></li>
|
442 |
+
<?php else : ?>
|
443 |
+
<?php foreach ( $rss_items as $item ) : ?>
|
444 |
+
<li>
|
445 |
+
<a href="<?php echo esc_url( $item->get_permalink() ); ?>"
|
446 |
+
title="<?php printf( __( 'Posted %s', 'autoptimize' ), $item->get_date('j F Y | g:i a') ); ?>">
|
447 |
+
<?php echo esc_html( $item->get_title() ); ?>
|
448 |
+
</a>
|
449 |
+
</li>
|
450 |
+
<?php endforeach; ?>
|
451 |
+
<?php endif; ?>
|
452 |
+
</ul>
|
453 |
+
<?php
|
454 |
+
}
|
455 |
+
}
|
456 |
+
|
457 |
+
// based on http://wordpress.stackexchange.com/a/58826
|
458 |
+
function lyte_admin_tabs(){
|
459 |
+
$tabs = apply_filters('wp-youtube-lyte_filter_settingsscreen_tabs',array('lyte_settings_page' => __('Main','wp-youtube-lyte')));
|
460 |
+
$tabContent="";
|
461 |
+
if (count($tabs) >= 1) {
|
462 |
+
if(isset($_GET['page'])){
|
463 |
+
$currentId = $_GET['page'];
|
464 |
+
} else {
|
465 |
+
$currentId = "wp-youtube-lyte";
|
466 |
+
}
|
467 |
+
$tabContent .= "<h2 class=\"nav-tab-wrapper\">";
|
468 |
+
foreach($tabs as $tabId => $tabName){
|
469 |
+
if($currentId == $tabId){
|
470 |
+
$class = " nav-tab-active";
|
471 |
+
} else{
|
472 |
+
$class = "";
|
473 |
+
}
|
474 |
+
$tabContent .= '<a class="nav-tab'.$class.'" href="?page='.$tabId.'">'.$tabName.'</a>';
|
475 |
+
}
|
476 |
+
$tabContent .= "</h2>";
|
477 |
+
} else {
|
478 |
+
$tabContent = "<hr/>";
|
479 |
+
}
|
480 |
+
|
481 |
+
return $tabContent;
|
482 |
+
}
|
483 |
?>
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: futtta, optimizingmatters
|
3 |
Tags: youtube, video, lyte, lite youtube embeds, html5 video, widget, youtube audio, audio, playlist, performance, accessibility, sidebar, lazy load, responsive, microdata, videoobject
|
4 |
Donate link: http://blog.futtta.be/2013/10/21/do-not-donate-to-me/
|
5 |
-
Requires at least:
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.6.
|
8 |
|
9 |
High performance YouTube video, playlist and audio-only embeds which don't slow down your blog and offer optimal accessibility.
|
10 |
|
@@ -50,26 +50,29 @@ Up until WP YouTube Lyte 1.5.0 the v2 YouTube API was used, but [in September 20
|
|
50 |
|
51 |
= OK, now how can get that API key? =
|
52 |
|
53 |
-
1. Go to [Google Developer Console](https://console.developers.google.com/
|
|
|
54 |
2. Click on 'Create Project' and:
|
55 |
* Fill in a Project Name
|
56 |
-
* Fill in a Project ID
|
57 |
* Click on 'Create'
|
|
|
58 |
|
59 |
-
3.
|
60 |
-
|
61 |
-
*
|
62 |
-
* Click on '
|
63 |
-
*
|
|
|
|
|
64 |
|
65 |
4. In the sidebar on the left:
|
66 |
-
* Click on '
|
67 |
-
*
|
68 |
-
*
|
69 |
-
*
|
70 |
-
*
|
71 |
|
72 |
-
5.
|
73 |
|
74 |
= Will WP YouTube Lyte work if I don't provide an API key? =
|
75 |
Yes, with some exceptions; WP YouTube Lyte will continue to work, rendering Lyte players, but without the title and microdata (description, time, ...) and without thumbnails for playlists.
|
@@ -154,6 +157,12 @@ Just tell me, I like the feedback! Use the [Contact-page on my blog](http://blog
|
|
154 |
|
155 |
== Changelog ==
|
156 |
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
= 1.6.7 =
|
158 |
* fix for AMP-trouble as [reported by winderttal](https://wordpress.org/support/topic/error-in-amp-pages/)
|
159 |
|
2 |
Contributors: futtta, optimizingmatters
|
3 |
Tags: youtube, video, lyte, lite youtube embeds, html5 video, widget, youtube audio, audio, playlist, performance, accessibility, sidebar, lazy load, responsive, microdata, videoobject
|
4 |
Donate link: http://blog.futtta.be/2013/10/21/do-not-donate-to-me/
|
5 |
+
Requires at least: 4.0
|
6 |
+
Tested up to: 4.9
|
7 |
+
Stable tag: 1.6.8
|
8 |
|
9 |
High performance YouTube video, playlist and audio-only embeds which don't slow down your blog and offer optimal accessibility.
|
10 |
|
50 |
|
51 |
= OK, now how can get that API key? =
|
52 |
|
53 |
+
1. Go to [Google Developer Console](https://console.developers.google.com/projectselector/apis/library) and log in with your Google account.
|
54 |
+
|
55 |
2. Click on 'Create Project' and:
|
56 |
* Fill in a Project Name
|
|
|
57 |
* Click on 'Create'
|
58 |
+
* Wait while the project is created (see throbber in the top right corner) until a notification confirms project creation
|
59 |
|
60 |
+
3. Refresh the project list (or select the new project from the notification)
|
61 |
+
On the next page (or when there is no next page, click on your Project's name):
|
62 |
+
* Click on 'API's and services
|
63 |
+
* Click on 'enable APi's and services
|
64 |
+
* Fill out "YouTube" in the search field
|
65 |
+
* Find "YouTube Data API v3" and click on it
|
66 |
+
* Click on "Enable"
|
67 |
|
68 |
4. In the sidebar on the left:
|
69 |
+
* Click on 'Create credentials'
|
70 |
+
* Select "Web Server" in the dropdown under "Where will you be calling the API from"
|
71 |
+
* Select "Public data" in the dropdown under "What data will you be accessing"
|
72 |
+
* Click on "What credentials do I need"
|
73 |
+
* Copy the resulting API key (without setting restrictions, which could cause the key not to work)
|
74 |
|
75 |
+
5. Paste the API key on WP YouTube Lyte settings page.
|
76 |
|
77 |
= Will WP YouTube Lyte work if I don't provide an API key? =
|
78 |
Yes, with some exceptions; WP YouTube Lyte will continue to work, rendering Lyte players, but without the title and microdata (description, time, ...) and without thumbnails for playlists.
|
157 |
|
158 |
== Changelog ==
|
159 |
|
160 |
+
= 1.6.8 =
|
161 |
+
* new: support for Gutenberg blocks with embedded YouTube (tested with Gutenberg plugin version 2.3.0)
|
162 |
+
* updated admin screen
|
163 |
+
* misc bugfixes (see GitHub commit log for details)
|
164 |
+
* confirmed working with WordPress 4.9.4
|
165 |
+
|
166 |
= 1.6.7 =
|
167 |
* fix for AMP-trouble as [reported by winderttal](https://wordpress.org/support/topic/error-in-amp-pages/)
|
168 |
|
widget.php
CHANGED
@@ -28,25 +28,26 @@ class WYLWidget extends WP_Widget {
|
|
28 |
}
|
29 |
|
30 |
$WYLurl=str_replace("httpv://","http://",trim($instance['WYLurl']));
|
|
|
|
|
31 |
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
if (strpos($WYLurl,'youtu.be')) {
|
36 |
-
$WYLid=substr(parse_url($WYLurl,PHP_URL_PATH),1,11);
|
37 |
$PLClass="";
|
38 |
$WYLthumb="http://img.youtube.com/vi/".$WYLid."/mqdefault.jpg";
|
39 |
-
|
40 |
if (isset($WYLarr['v'])) {
|
41 |
$WYLid=$WYLarr['v'];
|
42 |
$PLClass="";
|
43 |
$WYLthumb="http://img.youtube.com/vi/".$WYLid."/mqdefault.jpg";
|
44 |
} else if (isset($WYLarr['list'])) {
|
45 |
-
|
|
|
|
|
46 |
$PLClass=" playlist";
|
47 |
-
$WYLthumb="";
|
48 |
}
|
49 |
-
|
|
|
50 |
|
51 |
if (isset($WYLarr['start'])) $qsa="&start=".$WYLarr['start'];
|
52 |
if (isset($WYLarr['enablejsapi'])) {
|
@@ -131,14 +132,13 @@ class WYLWidget extends WP_Widget {
|
|
131 |
<p><label for="<?php echo $this->get_field_id('WYLsize'); ?>"><?php _e("Size:","wp-youtube-lyte") ?>
|
132 |
<select class="widefat" id="<?php echo $this->get_field_id('WYLsize'); ?>" name="<?php echo $this->get_field_name('WYLsize'); ?>">
|
133 |
<?php
|
134 |
-
$x
|
135 |
-
while ($wSize[$x]) {
|
136 |
if ($x==$WYLsize) {
|
137 |
$selected=" selected=\"true\"";
|
138 |
-
|
139 |
$selected="";
|
140 |
-
|
141 |
-
|
142 |
if ($wSize[$x]['depr']!==true) {
|
143 |
echo "<option value=\"".$x."\"".$selected.">".$wSize[$x]['w']."X".$wSize[$x]['h']."</option>";
|
144 |
}
|
@@ -152,8 +152,10 @@ class WYLWidget extends WP_Widget {
|
|
152 |
<?php
|
153 |
if($WYLaudio==="audio") {
|
154 |
$aselected=" selected=\"true\"";
|
|
|
155 |
} else {
|
156 |
$vselected=" selected=\"true\"";
|
|
|
157 |
}
|
158 |
echo "<option value=\"audio\"".$aselected.">".__("audio","wp-youtube-lyte")."</option>";
|
159 |
echo "<option value=\"video\"".$vselected.">".__("video","wp-youtube-lyte")."</option>";
|
@@ -166,5 +168,8 @@ class WYLWidget extends WP_Widget {
|
|
166 |
}
|
167 |
}
|
168 |
|
169 |
-
|
170 |
-
|
|
|
|
|
|
28 |
}
|
29 |
|
30 |
$WYLurl=str_replace("httpv://","http://",trim($instance['WYLurl']));
|
31 |
+
$WYLqs=substr(strstr($WYLurl,'?'),1);
|
32 |
+
parse_str($WYLqs,$WYLarr);
|
33 |
|
34 |
+
if (strpos($WYLurl,'youtu.be')) {
|
35 |
+
$WYLid=substr(parse_url($WYLurl,PHP_URL_PATH),1,11);
|
|
|
|
|
|
|
36 |
$PLClass="";
|
37 |
$WYLthumb="http://img.youtube.com/vi/".$WYLid."/mqdefault.jpg";
|
38 |
+
} else {
|
39 |
if (isset($WYLarr['v'])) {
|
40 |
$WYLid=$WYLarr['v'];
|
41 |
$PLClass="";
|
42 |
$WYLthumb="http://img.youtube.com/vi/".$WYLid."/mqdefault.jpg";
|
43 |
} else if (isset($WYLarr['list'])) {
|
44 |
+
$WYLid=$WYLarr['list'];
|
45 |
+
$yt_resp=lyte_get_YT_resp($WYLid,true,"","",true);
|
46 |
+
$WYLthumb=$yt_resp["thumbUrl"];
|
47 |
$PLClass=" playlist";
|
|
|
48 |
}
|
49 |
+
}
|
50 |
+
$WYLthumb = apply_filters( "lyte_filter_widget_thumb", $WYLthumb, $WYLid );
|
51 |
|
52 |
if (isset($WYLarr['start'])) $qsa="&start=".$WYLarr['start'];
|
53 |
if (isset($WYLarr['enablejsapi'])) {
|
132 |
<p><label for="<?php echo $this->get_field_id('WYLsize'); ?>"><?php _e("Size:","wp-youtube-lyte") ?>
|
133 |
<select class="widefat" id="<?php echo $this->get_field_id('WYLsize'); ?>" name="<?php echo $this->get_field_name('WYLsize'); ?>">
|
134 |
<?php
|
135 |
+
foreach ($wSize as $x => $size) {
|
|
|
136 |
if ($x==$WYLsize) {
|
137 |
$selected=" selected=\"true\"";
|
138 |
+
} else {
|
139 |
$selected="";
|
140 |
+
}
|
141 |
+
|
142 |
if ($wSize[$x]['depr']!==true) {
|
143 |
echo "<option value=\"".$x."\"".$selected.">".$wSize[$x]['w']."X".$wSize[$x]['h']."</option>";
|
144 |
}
|
152 |
<?php
|
153 |
if($WYLaudio==="audio") {
|
154 |
$aselected=" selected=\"true\"";
|
155 |
+
$vselected="";
|
156 |
} else {
|
157 |
$vselected=" selected=\"true\"";
|
158 |
+
$aselected="";
|
159 |
}
|
160 |
echo "<option value=\"audio\"".$aselected.">".__("audio","wp-youtube-lyte")."</option>";
|
161 |
echo "<option value=\"video\"".$vselected.">".__("video","wp-youtube-lyte")."</option>";
|
168 |
}
|
169 |
}
|
170 |
|
171 |
+
function lyte_register_widget() {
|
172 |
+
register_widget('WYLWidget');
|
173 |
+
}
|
174 |
+
|
175 |
+
add_action('widgets_init', 'lyte_register_widget');
|
wp-youtube-lyte.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP YouTube Lyte
|
|
4 |
Plugin URI: http://blog.futtta.be/wp-youtube-lyte/
|
5 |
Description: Lite and accessible YouTube audio and video embedding.
|
6 |
Author: Frank Goossens (futtta)
|
7 |
-
Version: 1.6.
|
8 |
Author URI: http://blog.futtta.be/
|
9 |
Text Domain: wp-youtube-lyte
|
10 |
Domain Path: /languages
|
@@ -81,8 +81,9 @@ function lyte_settings_enforcer() {
|
|
81 |
add_action('after_setup_theme','lyte_settings_enforcer');
|
82 |
|
83 |
function lyte_parse($the_content,$doExcerpt=false) {
|
84 |
-
|
85 |
-
|
|
|
86 |
/** main function to parse the content, searching and replacing httpv-links */
|
87 |
global $lyteSettings, $toCache_index, $postID, $cachekey;
|
88 |
$lyteSettings['path']=plugins_url() . "/" . dirname(plugin_basename(__FILE__)) . '/lyte/';
|
@@ -92,12 +93,37 @@ function lyte_parse($the_content,$doExcerpt=false) {
|
|
92 |
/** API: filter hook to preparse the_content, e.g. to force normal youtube links to be parsed */
|
93 |
$the_content = apply_filters( 'lyte_content_preparse',$the_content );
|
94 |
|
95 |
-
if (get_option('lyte_greedy','1')==="1"){
|
96 |
-
|
97 |
-
|
|
|
|
|
|
|
|
|
98 |
}
|
99 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
if((strpos($the_content, "httpv")!==FALSE)||(strpos($the_content, "httpa")!==FALSE)) {
|
|
|
|
|
|
|
101 |
$char_codes = array('×','–');
|
102 |
$replacements = array("x", "--");
|
103 |
$the_content=str_replace($char_codes, $replacements, $the_content);
|
@@ -311,11 +337,11 @@ function lyte_parse($the_content,$doExcerpt=false) {
|
|
311 |
$templateType="postMicrodata";
|
312 |
} else {
|
313 |
$lytetemplate = $wrapper."<div class=\"lyMe".$audioClass.$hidefClass.$plClass.$qsaClass."\" id=\"WYL_".$vid."\"><div id=\"lyte_".$vid."\" data-src=\"".$thumbUrl."\" class=\"pL\">";
|
314 |
-
|
315 |
-
if (isset($yt_resp_array) && !empty($yt_resp_array) && !empty($yt_resp_array["title"])) {
|
316 |
-
$lytetemplate .= "<div class=\"tC".$titleClass."\"><div class=\"tT\">".$yt_resp_array['title']."</div></div>";
|
317 |
-
}
|
318 |
|
|
|
|
|
|
|
|
|
319 |
$lytetemplate .= "<div class=\"play\"></div><div class=\"ctrl\"><div class=\"Lctrl\"></div><div class=\"Rctrl\"></div></div></div>".$noscript."</div></div>".$lytelinks_txt;
|
320 |
$templateType="post";
|
321 |
}
|
@@ -373,10 +399,10 @@ function captions_lookup($postID, $cachekey, $vid) {
|
|
373 |
}
|
374 |
}
|
375 |
|
376 |
-
function lyte_get_YT_resp($vid,$playlist=false,$cachekey,$apiTestKey="") {
|
377 |
/** logic to get video info from cache or get it from YouTube and set it */
|
378 |
global $postID, $cachekey, $toCache_index;
|
379 |
-
if ( $postID && empty($apiTestKey)) {
|
380 |
$cache_resp = get_post_meta( $postID, $cachekey, true );
|
381 |
if (!empty($cache_resp)) {
|
382 |
$_thisLyte = json_decode(gzuncompress(base64_decode($cache_resp)),1);
|
@@ -387,14 +413,20 @@ function lyte_get_YT_resp($vid,$playlist=false,$cachekey,$apiTestKey="") {
|
|
387 |
}
|
388 |
}
|
389 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
390 |
} else {
|
391 |
$_thisLyte = "";
|
392 |
}
|
393 |
|
394 |
if ( empty( $_thisLyte ) ) {
|
395 |
// get info from youtube
|
396 |
-
|
397 |
-
|
398 |
$lyte_yt_api_key = apply_filters('lyte_filter_yt_api_key', $lyte_yt_api_key);
|
399 |
if (!empty($apiTestKey)) {
|
400 |
$lyte_yt_api_key=$apiTestKey;
|
@@ -406,14 +438,14 @@ function lyte_get_YT_resp($vid,$playlist=false,$cachekey,$apiTestKey="") {
|
|
406 |
$_thisLyte['thumbUrl']="";
|
407 |
$_thisLyte['HQthumbUrl']="";
|
408 |
} else {
|
409 |
-
$_thisLyte['thumbUrl']="
|
410 |
-
|
411 |
}
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
return $_thisLyte;
|
418 |
} else {
|
419 |
// v3, feeling somewhat lonely now v2 has gently been put to sleep
|
@@ -470,23 +502,34 @@ function lyte_get_YT_resp($vid,$playlist=false,$cachekey,$apiTestKey="") {
|
|
470 |
}
|
471 |
|
472 |
// try to cache the result
|
473 |
-
if ( ($postID) &&
|
474 |
$_thisLyte['lyte_date_added']=time();
|
475 |
-
$yt_resp_precache=json_encode($_thisLyte);
|
476 |
|
477 |
-
|
478 |
-
|
|
|
|
|
|
|
479 |
|
480 |
-
|
481 |
-
|
482 |
-
update_post_meta( $postID, $cachekey, $toCache );
|
483 |
|
484 |
-
|
485 |
-
|
|
|
|
|
|
|
|
|
|
|
486 |
}
|
487 |
}
|
488 |
}
|
489 |
}
|
|
|
|
|
|
|
|
|
|
|
490 |
return $_thisLyte;
|
491 |
}
|
492 |
|
@@ -566,16 +609,32 @@ function lyte_not_greedy() {
|
|
566 |
/** function to flush YT responses from cache */
|
567 |
function lyte_rm_cache() {
|
568 |
try {
|
569 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
570 |
if (is_array($lyte_posts)){
|
571 |
foreach ($lyte_posts as $postID => $lyte_post) {
|
572 |
foreach ($lyte_post as $cachekey) {
|
573 |
delete_post_meta($postID, $cachekey);
|
574 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
575 |
}
|
576 |
-
|
577 |
}
|
578 |
-
|
|
|
|
|
|
|
|
|
579 |
} catch(Exception $e) {
|
580 |
return $e->getMessage();
|
581 |
}
|
@@ -592,7 +651,7 @@ function lyte_add_action_link($links) {
|
|
592 |
return $links;
|
593 |
}
|
594 |
|
595 |
-
/** is_amp */
|
596 |
if (!function_exists("is_amp")) {
|
597 |
function is_amp() {
|
598 |
if ((strpos($_SERVER['REQUEST_URI'],'?amp')!==false) || (strpos($_SERVER['REQUEST_URI'],'/amp/')!==false)) {
|
4 |
Plugin URI: http://blog.futtta.be/wp-youtube-lyte/
|
5 |
Description: Lite and accessible YouTube audio and video embedding.
|
6 |
Author: Frank Goossens (futtta)
|
7 |
+
Version: 1.6.8
|
8 |
Author URI: http://blog.futtta.be/
|
9 |
Text Domain: wp-youtube-lyte
|
10 |
Domain Path: /languages
|
81 |
add_action('after_setup_theme','lyte_settings_enforcer');
|
82 |
|
83 |
function lyte_parse($the_content,$doExcerpt=false) {
|
84 |
+
/** bail if amp */
|
85 |
+
if ( is_amp()) { return $the_content; }
|
86 |
+
|
87 |
/** main function to parse the content, searching and replacing httpv-links */
|
88 |
global $lyteSettings, $toCache_index, $postID, $cachekey;
|
89 |
$lyteSettings['path']=plugins_url() . "/" . dirname(plugin_basename(__FILE__)) . '/lyte/';
|
93 |
/** API: filter hook to preparse the_content, e.g. to force normal youtube links to be parsed */
|
94 |
$the_content = apply_filters( 'lyte_content_preparse',$the_content );
|
95 |
|
96 |
+
if ( get_option('lyte_greedy','1')==="1" && strpos($the_content,"youtu") !== false ){
|
97 |
+
// only preg_replace if "youtu" (as part of youtube.com or youtu.be) if found
|
98 |
+
if (strpos($the_content,'/playlist?list=') !== false ) {
|
99 |
+
// only preg_replace for playlists if there are playlists to be parsed
|
100 |
+
$the_content=preg_replace('/^https?:\/\/(www.)?youtu(be.com|.be)\/playlist\?list=/m','httpv://www.youtube.com/playlist?list=',$the_content);
|
101 |
+
}
|
102 |
+
$the_content=preg_replace('/^https?:\/\/(www.)?youtu(be.com|.be)\/(watch\?v=)?/m','httpv://www.youtube.com/watch?v=',$the_content);
|
103 |
}
|
104 |
|
105 |
+
if ( strpos($the_content,"<!-- wp:") !== false && strpos($the_content,"youtu") !== false ) {
|
106 |
+
/*
|
107 |
+
* do Gutenberg stuff here, playlists if needed first and then single videos
|
108 |
+
*
|
109 |
+
* having Gutenberg markup in HTML comments is ugly as hell
|
110 |
+
* esp. for 3rd parties such as Lyte who have to parse info out of that
|
111 |
+
*
|
112 |
+
* Luke Cavanagh; thanks for the Gutenbeard reference and for the funny animated gif :)
|
113 |
+
* https://media1.giphy.com/media/l2QZTNMFTQ2Z00zHG/giphy.gif
|
114 |
+
*/
|
115 |
+
if (strpos($the_content,'/playlist?list=') !== false ) {
|
116 |
+
$gutenbeard_playlist_regex = '%<\!--\s?wp:(?:core[-|/])?embed(?:/youtube)?\s?{"url":"https://www.youtube.com/playlist\?list=(.*)"}\s?-->.*<\!--\s?/wp:(?:core[-|/])?embed(?:/youtube)?\s?-->%Us';
|
117 |
+
$the_content = preg_replace($gutenbeard_playlist_regex, 'httpv://www.youtube.com/playlist?list=\1',$the_content);
|
118 |
+
}
|
119 |
+
$gutenbeard_single_regex = '%<\!--\s?wp:(?:core[-|/])?embed(?:/youtube)?\s?{"url":"https?://(?:www\.)?youtu(?:be\.com|.be)/(?:watch\?v=)?(.*)"}\s?-->.*<\!--\s?/wp:(?:core[-|/])?embed(?:/youtube)?\s?-->%Us';
|
120 |
+
$the_content = preg_replace($gutenbeard_single_regex, 'httpv://www.youtube.com/watch?v=\1',$the_content);
|
121 |
+
}
|
122 |
+
|
123 |
if((strpos($the_content, "httpv")!==FALSE)||(strpos($the_content, "httpa")!==FALSE)) {
|
124 |
+
if (apply_filters('lyte_remove_wpautop',false)) {
|
125 |
+
remove_filter('the_content','wpautop');
|
126 |
+
}
|
127 |
$char_codes = array('×','–');
|
128 |
$replacements = array("x", "--");
|
129 |
$the_content=str_replace($char_codes, $replacements, $the_content);
|
337 |
$templateType="postMicrodata";
|
338 |
} else {
|
339 |
$lytetemplate = $wrapper."<div class=\"lyMe".$audioClass.$hidefClass.$plClass.$qsaClass."\" id=\"WYL_".$vid."\"><div id=\"lyte_".$vid."\" data-src=\"".$thumbUrl."\" class=\"pL\">";
|
|
|
|
|
|
|
|
|
340 |
|
341 |
+
if (isset($yt_resp_array) && !empty($yt_resp_array) && !empty($yt_resp_array["title"])) {
|
342 |
+
$lytetemplate .= "<div class=\"tC".$titleClass."\"><div class=\"tT\">".$yt_resp_array['title']."</div></div>";
|
343 |
+
}
|
344 |
+
|
345 |
$lytetemplate .= "<div class=\"play\"></div><div class=\"ctrl\"><div class=\"Lctrl\"></div><div class=\"Rctrl\"></div></div></div>".$noscript."</div></div>".$lytelinks_txt;
|
346 |
$templateType="post";
|
347 |
}
|
399 |
}
|
400 |
}
|
401 |
|
402 |
+
function lyte_get_YT_resp($vid,$playlist=false,$cachekey,$apiTestKey="",$isWidget=false) {
|
403 |
/** logic to get video info from cache or get it from YouTube and set it */
|
404 |
global $postID, $cachekey, $toCache_index;
|
405 |
+
if ( $postID && empty($apiTestKey) && !$isWidget ) {
|
406 |
$cache_resp = get_post_meta( $postID, $cachekey, true );
|
407 |
if (!empty($cache_resp)) {
|
408 |
$_thisLyte = json_decode(gzuncompress(base64_decode($cache_resp)),1);
|
413 |
}
|
414 |
}
|
415 |
}
|
416 |
+
} else if ($isWidget) {
|
417 |
+
$cache_resp = get_option("lyte_widget_cache");
|
418 |
+
if (!empty($cache_resp)) {
|
419 |
+
$widget_cache = json_decode(gzuncompress(base64_decode($cache_resp)),1);
|
420 |
+
$_thisLyte = $widget_cache[$vid];
|
421 |
+
}
|
422 |
} else {
|
423 |
$_thisLyte = "";
|
424 |
}
|
425 |
|
426 |
if ( empty( $_thisLyte ) ) {
|
427 |
// get info from youtube
|
428 |
+
// first get yt api key
|
429 |
+
$lyte_yt_api_key = get_option('lyte_yt_api_key','');
|
430 |
$lyte_yt_api_key = apply_filters('lyte_filter_yt_api_key', $lyte_yt_api_key);
|
431 |
if (!empty($apiTestKey)) {
|
432 |
$lyte_yt_api_key=$apiTestKey;
|
438 |
$_thisLyte['thumbUrl']="";
|
439 |
$_thisLyte['HQthumbUrl']="";
|
440 |
} else {
|
441 |
+
$_thisLyte['thumbUrl']="//i.ytimg.com/vi/".$vid."/hqdefault.jpg";
|
442 |
+
$_thisLyte['HQthumbUrl']="//i.ytimg.com/vi/".$vid."/maxresdefault.jpg";
|
443 |
}
|
444 |
+
$_thisLyte['dateField']="";
|
445 |
+
$_thisLyte['duration']="";
|
446 |
+
$_thisLyte['description']="";
|
447 |
+
$_thisLyte['captions_data']="false";
|
448 |
+
$_thisLyte['captions_timestamp']=strtotime("now");
|
449 |
return $_thisLyte;
|
450 |
} else {
|
451 |
// v3, feeling somewhat lonely now v2 has gently been put to sleep
|
502 |
}
|
503 |
|
504 |
// try to cache the result
|
505 |
+
if ( (($postID) || ($isWidget)) && !empty($_thisLyte) && empty($apiTestKey) ) {
|
506 |
$_thisLyte['lyte_date_added']=time();
|
|
|
507 |
|
508 |
+
if ( $postID && !$isWidget ) {
|
509 |
+
$yt_resp_precache=json_encode($_thisLyte);
|
510 |
+
|
511 |
+
// then gzip + base64 (to limit amount of data + solve problems with wordpress removing slashes)
|
512 |
+
$yt_resp_precache=base64_encode(gzcompress($yt_resp_precache));
|
513 |
|
514 |
+
// and do the actual caching
|
515 |
+
$toCache = ( $yt_resp_precache ) ? $yt_resp_precache : '{{unknown}}';
|
|
|
516 |
|
517 |
+
update_post_meta( $postID, $cachekey, $toCache );
|
518 |
+
// and finally add new cache-entry to toCache_index which will be added to lyte_cache_index pref
|
519 |
+
$toCache_index[]=$cachekey;
|
520 |
+
} else if ($isWidget) {
|
521 |
+
$widget_cache[$vid]=$_thisLyte;
|
522 |
+
update_option("lyte_widget_cache",base64_encode(gzcompress(json_encode($widget_cache))));
|
523 |
+
}
|
524 |
}
|
525 |
}
|
526 |
}
|
527 |
}
|
528 |
+
foreach (array("title","thumbUrl","HQthumbUrl","dateField","duration","description","captions_data","captions_timestamp") as $key) {
|
529 |
+
if (!array_key_exists($key,$_thisLyte)) {
|
530 |
+
$_thisLyte[$key]="";
|
531 |
+
}
|
532 |
+
}
|
533 |
return $_thisLyte;
|
534 |
}
|
535 |
|
609 |
/** function to flush YT responses from cache */
|
610 |
function lyte_rm_cache() {
|
611 |
try {
|
612 |
+
ini_set('max_execution_time',90); // give PHP some more time for this, post-meta can be sloooooow
|
613 |
+
|
614 |
+
// cache in post_meta, for posts
|
615 |
+
$lyte_posts = json_decode(get_option("lyte_cache_index"),true);
|
616 |
+
$lyteCacheIterator = 0;
|
617 |
+
$lytePurgeThreshold = 500;
|
618 |
+
$returnCode = "OK";
|
619 |
if (is_array($lyte_posts)){
|
620 |
foreach ($lyte_posts as $postID => $lyte_post) {
|
621 |
foreach ($lyte_post as $cachekey) {
|
622 |
delete_post_meta($postID, $cachekey);
|
623 |
}
|
624 |
+
unset ($lyte_posts[$postID]);
|
625 |
+
$lyteCacheIterator++;
|
626 |
+
if ($lyteCacheIterator > ($lytePurgeThreshold-1)) {
|
627 |
+
$returnCode = "PART";
|
628 |
+
break;
|
629 |
+
}
|
630 |
}
|
631 |
+
update_option("lyte_cache_index",json_encode($lyte_posts));
|
632 |
}
|
633 |
+
|
634 |
+
// and the widget cache which isn't in post_meta
|
635 |
+
update_option('lyte_widget_cache','');
|
636 |
+
|
637 |
+
return $returnCode;
|
638 |
} catch(Exception $e) {
|
639 |
return $e->getMessage();
|
640 |
}
|
651 |
return $links;
|
652 |
}
|
653 |
|
654 |
+
/** is_amp, but I shouldn't have to do this, should I? */
|
655 |
if (!function_exists("is_amp")) {
|
656 |
function is_amp() {
|
657 |
if ((strpos($_SERVER['REQUEST_URI'],'?amp')!==false) || (strpos($_SERVER['REQUEST_URI'],'/amp/')!==false)) {
|