Version Description
= 1.6 = Smoothness
= 1.5 = AJAX!
= 1.4 = WP3.5 Media Manager, time-links...
= 1.3 = Internationalization! More user friendly, more customizations.
= 1.2 = Now featuring your local videos!
= 1.1 = Feature Dailymotion Videos on your posts!
Download this release
Release Info
Developer | a.hoereth |
Plugin | Featured Video Plus |
Version | 1.9 |
Comparing to | |
See all releases |
Code changes from version 1.8 to 1.9
- css/backend.css +7 -7
- css/backend.min.css +1 -1
- css/font/vjs.eot +0 -0
- css/font/vjs.svg +0 -40
- css/font/vjs.ttf +0 -0
- css/font/vjs.woff +0 -0
- css/frontend.css +7 -6
- css/video-js.png +0 -0
- css/videojs.min.css +0 -1
- featured-video-plus.php +3 -5
- js/backend.js +6 -86
- js/backend.min.js +1 -12
- js/frontend.js +2 -5
- js/frontend.min.js +1 -6
- js/jquery.fitvids.js +13 -21
- js/jquery.fitvids.min.js +1 -3
- js/settings.js +0 -16
- js/video-js.swf +0 -0
- js/videojs.min.js +0 -124
- lng/featured-video-plus-de_DE.mo +0 -0
- lng/featured-video-plus-de_DE.po +651 -668
- lng/featured-video-plus-es_ES.mo +0 -0
- lng/featured-video-plus-es_ES.po +667 -0
- lng/featured-video-plus.pot +392 -511
- php/backend.php +20 -48
- php/frontend.php +5 -10
- php/general.php +22 -73
- php/settings.php +2 -47
- php/upgrade.php +27 -11
- readme.txt +15 -9
css/backend.css
CHANGED
@@ -2,11 +2,11 @@
|
|
2 |
position: absolute; bottom: 2.5em; left: -1em;
|
3 |
z-index: 1;
|
4 |
-webkit-box-shadow: 3px 3px 5px #ddd;
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
}
|
11 |
|
12 |
.fvp_colorpicker {
|
@@ -31,7 +31,7 @@
|
|
31 |
}
|
32 |
.fvp_notice {
|
33 |
-webkit-border-radius: 3px;
|
34 |
-
|
35 |
border-width: 1px;
|
36 |
border-style: solid;
|
37 |
background-color: white;
|
@@ -42,7 +42,7 @@
|
|
42 |
|
43 |
.fvp_warning {
|
44 |
-webkit-border-radius: 3px;
|
45 |
-
|
46 |
border-width: 1px;
|
47 |
border-style: solid;
|
48 |
background-color: lightYellow;
|
2 |
position: absolute; bottom: 2.5em; left: -1em;
|
3 |
z-index: 1;
|
4 |
-webkit-box-shadow: 3px 3px 5px #ddd;
|
5 |
+
-moz-box-shadow: 3px 3px 5px #ddd;
|
6 |
+
box-shadow: 3px 3px 5px #ddd;
|
7 |
+
-webkit-box-sizing: border-box;
|
8 |
+
-moz-box-sizing: border-box;
|
9 |
+
box-sizing: border-box;
|
10 |
}
|
11 |
|
12 |
.fvp_colorpicker {
|
31 |
}
|
32 |
.fvp_notice {
|
33 |
-webkit-border-radius: 3px;
|
34 |
+
border-radius: 3px;
|
35 |
border-width: 1px;
|
36 |
border-style: solid;
|
37 |
background-color: white;
|
42 |
|
43 |
.fvp_warning {
|
44 |
-webkit-border-radius: 3px;
|
45 |
+
border-radius: 3px;
|
46 |
border-width: 1px;
|
47 |
border-style: solid;
|
48 |
background-color: lightYellow;
|
css/backend.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wp-picker-holder{position:absolute;bottom:2.5em;left:-1em;z-index:1;-webkit-box-shadow:3px 3px 5px #ddd;-moz-box-shadow:3px 3px 5px #ddd;box-shadow:3px 3px 5px #ddd;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fvp_colorpicker{position:absolute;bottom:0;right:-197px;background-color:#fff;z-index:100;border:1px solid #ccc}.defaultTextActive{color:#a1a1a1;font-style:italic}#fvp_activation_notification{border-color:#00adef!important;background-color
|
1 |
+
.wp-picker-holder{position:absolute;bottom:2.5em;left:-1em;z-index:1;-webkit-box-shadow:3px 3px 5px #ddd;-moz-box-shadow:3px 3px 5px #ddd;box-shadow:3px 3px 5px #ddd;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.fvp_colorpicker{position:absolute;bottom:0;right:-197px;background-color:#fff;z-index:100;border:1px solid #ccc}.defaultTextActive{color:#a1a1a1;font-style:italic}#fvp_activation_notification{border-color:#00adef!important;background-color:#f5f5f5!important}.fvp_hidden{display:none}.fvp_notice{-webkit-border-radius:3px;border-radius:3px;border-width:1px;border-style:solid;background-color:#fff;border-color:gray;margin:.5em 0;padding:.4em .6em .2em}.fvp_warning{-webkit-border-radius:3px;border-radius:3px;border-width:1px;border-style:solid;background-color:#ffffe0;border-color:#E6DB55;margin:.5em 0;padding:.4em .6em .2em}#featured_video_plus-box textarea{resize:none;width:100%;height:1.1em;line-height:1.1em;font-size:1em}.fvp_grouplable{width:100px;float:left;padding-top:2px}.fvp_grouppart1{width:200px;float:left;padding-top:2px}.fvp_readonly{color:gray!important}.fvp_invalid{background-color:salmon}.fvp_radio_bumper{float:left;width:100px}.fvp_input_wrapper{position:relative}#featured_video_plus-box .fvp_input{padding-right:21px}.fvp_media_icon{background:transparent no-repeat top left;display:block;width:15px;height:15px;position:absolute;top:4px;right:4px}.fvp_code_list li{margin-bottom:0}.box_topright{float:right;width:20px;height:30px;line-height:30px;text-align:center}.box_topright #fvp_remove{display:block;height:10px;width:10px;margin-top:10px;background:url(/wordpress/wp-admin/images/xit.gif) no-repeat center left}.box_topright #fvp_remove:hover{background:url(/wordpress/wp-admin/images/xit.gif) no-repeat center right}
|
css/font/vjs.eot
DELETED
Binary file
|
css/font/vjs.svg
DELETED
@@ -1,40 +0,0 @@
|
|
1 |
-
<?xml version="1.0" standalone="no"?>
|
2 |
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3 |
-
<svg xmlns="http://www.w3.org/2000/svg">
|
4 |
-
<metadata>
|
5 |
-
This is a custom SVG font generated by IcoMoon.
|
6 |
-
<iconset grid="16"></iconset>
|
7 |
-
</metadata>
|
8 |
-
<defs>
|
9 |
-
<font id="VideoJS" horiz-adv-x="512" >
|
10 |
-
<font-face units-per-em="512" ascent="480" descent="-32" />
|
11 |
-
<missing-glyph horiz-adv-x="512" />
|
12 |
-
<glyph unicode="" d="M 512.00,480.00 L 512.00,272.00 L 432.00,352.00 L 336.00,256.00 L 288.00,304.00 L 384.00,400.00 L 304.00,480.00 ZM 224.00,144.00 L 128.00,48.00 L 208.00-32.00 L 0.00-32.00 L 0.00,176.00 L 80.00,96.00 L 176.00,192.00 Z" />
|
13 |
-
<glyph unicode="" d="M 96.00,416.00L 416.00,224.00L 96.00,32.00 z" />
|
14 |
-
<glyph unicode="" d="M 64.00,416.00L 224.00,416.00L 224.00,32.00L 64.00,32.00zM 288.00,416.00L 448.00,416.00L 448.00,32.00L 288.00,32.00z" />
|
15 |
-
<glyph unicode="" d="M 200.666,440.666 C 213.50,453.50 224.00,449.15 224.00,431.00 L 224.00,17.00 C 224.00-1.15 213.50-5.499 200.666,7.335 L 80.00,128.00 L 0.00,128.00 L 0.00,320.00 L 80.00,320.00 L 200.666,440.666 Z" />
|
16 |
-
<glyph unicode="" d="M 274.51,109.49c-6.143,0.00-12.284,2.343-16.971,7.029c-9.373,9.373-9.373,24.568,0.00,33.941
|
17 |
-
c 40.55,40.55, 40.55,106.529,0.00,147.078c-9.373,9.373-9.373,24.569,0.00,33.941c 9.373,9.372, 24.568,9.372, 33.941,0.00
|
18 |
-
c 59.265-59.265, 59.265-155.696,0.00-214.961C 286.794,111.833, 280.652,109.49, 274.51,109.49zM 200.666,440.666 C 213.50,453.50 224.00,449.15 224.00,431.00 L 224.00,17.00 C 224.00-1.15 213.50-5.499 200.666,7.335 L 80.00,128.00 L 0.00,128.00 L 0.00,320.00 L 80.00,320.00 L 200.666,440.666 Z" />
|
19 |
-
<glyph unicode="" d="M 359.765,64.235c-6.143,0.00-12.284,2.343-16.971,7.029c-9.372,9.372-9.372,24.568,0.00,33.941
|
20 |
-
c 65.503,65.503, 65.503,172.085,0.00,237.588c-9.372,9.373-9.372,24.569,0.00,33.941c 9.372,9.371, 24.569,9.372, 33.941,0.00
|
21 |
-
C 417.532,335.938, 440.00,281.696, 440.00,224.00c0.00-57.695-22.468-111.938-63.265-152.735C 372.049,66.578, 365.907,64.235, 359.765,64.235zM 274.51,109.49c-6.143,0.00-12.284,2.343-16.971,7.029c-9.373,9.373-9.373,24.568,0.00,33.941
|
22 |
-
c 40.55,40.55, 40.55,106.529,0.00,147.078c-9.373,9.373-9.373,24.569,0.00,33.941c 9.373,9.372, 24.568,9.372, 33.941,0.00
|
23 |
-
c 59.265-59.265, 59.265-155.696,0.00-214.961C 286.794,111.833, 280.652,109.49, 274.51,109.49zM 200.666,440.666 C 213.50,453.50 224.00,449.15 224.00,431.00 L 224.00,17.00 C 224.00-1.15 213.50-5.499 200.666,7.335 L 80.00,128.00 L 0.00,128.00 L 0.00,320.00 L 80.00,320.00 L 200.666,440.666 Z" />
|
24 |
-
<glyph unicode="" d="M 445.02,18.98c-6.143,0.00-12.284,2.343-16.971,7.029c-9.372,9.373-9.372,24.568,0.00,33.941
|
25 |
-
C 471.868,103.771, 496.001,162.03, 496.001,224.00c0.00,61.969-24.133,120.229-67.952,164.049c-9.372,9.373-9.372,24.569,0.00,33.941
|
26 |
-
c 9.372,9.372, 24.569,9.372, 33.941,0.00c 52.885-52.886, 82.011-123.20, 82.011-197.99c0.00-74.791-29.126-145.104-82.011-197.99
|
27 |
-
C 457.304,21.323, 451.162,18.98, 445.02,18.98zM 359.765,64.235c-6.143,0.00-12.284,2.343-16.971,7.029c-9.372,9.372-9.372,24.568,0.00,33.941
|
28 |
-
c 65.503,65.503, 65.503,172.085,0.00,237.588c-9.372,9.373-9.372,24.569,0.00,33.941c 9.372,9.371, 24.569,9.372, 33.941,0.00
|
29 |
-
C 417.532,335.938, 440.00,281.696, 440.00,224.00c0.00-57.695-22.468-111.938-63.265-152.735C 372.049,66.578, 365.907,64.235, 359.765,64.235zM 274.51,109.49c-6.143,0.00-12.284,2.343-16.971,7.029c-9.373,9.373-9.373,24.568,0.00,33.941
|
30 |
-
c 40.55,40.55, 40.55,106.529,0.00,147.078c-9.373,9.373-9.373,24.569,0.00,33.941c 9.373,9.372, 24.568,9.372, 33.941,0.00
|
31 |
-
c 59.265-59.265, 59.265-155.696,0.00-214.961C 286.794,111.833, 280.652,109.49, 274.51,109.49zM 200.666,440.666 C 213.50,453.50 224.00,449.15 224.00,431.00 L 224.00,17.00 C 224.00-1.15 213.50-5.499 200.666,7.335 L 80.00,128.00 L 0.00,128.00 L 0.00,320.00 L 80.00,320.00 L 200.666,440.666 Z" horiz-adv-x="544" />
|
32 |
-
<glyph unicode="" d="M 256.00,480.00L 96.00,224.00L 256.00-32.00L 416.00,224.00 z" />
|
33 |
-
<glyph unicode="" d="M 0.00,480.00 L 687.158,480.00 L 687.158-35.207 L 0.00-35.207 L 0.00,480.00 z M 622.731,224.638 C 621.878,314.664 618.46,353.922 597.131,381.656 C 593.291,387.629 586.038,391.042 580.065,395.304 C 559.158,410.669 460.593,416.211 346.247,416.211 C 231.896,416.211 128.642,410.669 108.162,395.304 C 101.762,391.042 94.504,387.629 90.242,381.656 C 69.331,353.922 66.349,314.664 65.069,224.638 C 66.349,134.607 69.331,95.353 90.242,67.62 C 94.504,61.22 101.762,58.233 108.162,53.967 C 128.642,38.18 231.896,33.06 346.247,32.207 C 460.593,33.06 559.158,38.18 580.065,53.967 C 586.038,58.233 593.291,61.22 597.131,67.62 C 618.46,95.353 621.878,134.607 622.731,224.638 z M 331.179,247.952 C 325.389,318.401 287.924,359.905 220.901,359.905 C 159.672,359.905 111.54,304.689 111.54,215.965 C 111.54,126.859 155.405,71.267 227.907,71.267 C 285.79,71.267 326.306,113.916 332.701,184.742 L 263.55,184.742 C 260.81,158.468 249.843,138.285 226.69,138.285 C 190.136,138.285 183.435,174.462 183.435,212.92 C 183.435,265.854 198.665,292.886 223.951,292.886 C 246.492,292.886 260.81,276.511 262.939,247.952 L 331.179,247.952 z M 570.013,247.952 C 564.228,318.401 526.758,359.905 459.74,359.905 C 398.507,359.905 350.379,304.689 350.379,215.965 C 350.379,126.859 394.244,71.267 466.746,71.267 C 524.625,71.267 565.14,113.916 571.536,184.742 L 502.384,184.742 C 499.649,158.468 488.682,138.285 465.529,138.285 C 428.971,138.285 422.27,174.462 422.27,212.92 C 422.27,265.854 437.504,292.886 462.785,292.886 C 485.327,292.886 499.649,276.511 501.778,247.952 L 570.013,247.952 z " horiz-adv-x="687.1578947368421" />
|
34 |
-
<glyph unicode="" d="M 64.00,416.00L 448.00,416.00L 448.00,32.00L 64.00,32.00z" />
|
35 |
-
<glyph unicode="" d="M 192.00,416.00A64.00,64.00 12780.00 1 1 320.00,416A64.00,64.00 12780.00 1 1 192.00,416zM 327.765,359.765A64.00,64.00 12780.00 1 1 455.765,359.765A64.00,64.00 12780.00 1 1 327.765,359.765zM 416.00,224.00A32.00,32.00 12780.00 1 1 480.00,224A32.00,32.00 12780.00 1 1 416.00,224zM 359.765,88.235A32.00,32.00 12780.00 1 1 423.765,88.23500000000001A32.00,32.00 12780.00 1 1 359.765,88.23500000000001zM 224.001,32.00A32.00,32.00 12780.00 1 1 288.001,32A32.00,32.00 12780.00 1 1 224.001,32zM 88.236,88.235A32.00,32.00 12780.00 1 1 152.236,88.23500000000001A32.00,32.00 12780.00 1 1 88.236,88.23500000000001zM 72.236,359.765A48.00,48.00 12780.00 1 1 168.236,359.765A48.00,48.00 12780.00 1 1 72.236,359.765zM 28.00,224.00A36.00,36.00 12780.00 1 1 100.00,224A36.00,36.00 12780.00 1 1 28.00,224z" />
|
36 |
-
<glyph unicode="" d="M 224.00,192.00 L 224.00-16.00 L 144.00,64.00 L 48.00-32.00 L 0.00,16.00 L 96.00,112.00 L 16.00,192.00 ZM 512.00,432.00 L 416.00,336.00 L 496.00,256.00 L 288.00,256.00 L 288.00,464.00 L 368.00,384.00 L 464.00,480.00 Z" />
|
37 |
-
<glyph unicode="" d="M 256.00,448.00 C 397.385,448.00 512.00,354.875 512.00,240.00 C 512.00,125.124 397.385,32.00 256.00,32.00 C 242.422,32.00 229.095,32.867 216.088,34.522 C 161.099-20.467 95.463-30.328 32.00-31.776 L 32.00-18.318 C 66.268-1.529 96.00,29.052 96.00,64.00 C 96.00,68.877 95.621,73.665 94.918,78.348 C 37.02,116.48 0.00,174.725 0.00,240.00 C 0.00,354.875 114.615,448.00 256.00,448.00 Z" />
|
38 |
-
<glyph unicode=" " horiz-adv-x="256" />
|
39 |
-
<glyph class="hidden" unicode="" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />
|
40 |
-
</font></defs></svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/font/vjs.ttf
DELETED
Binary file
|
css/font/vjs.woff
DELETED
Binary file
|
css/frontend.css
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
-
.
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
|
|
7 |
}
|
1 |
+
.featured_video_plus.responsive .wp-video,
|
2 |
+
.featured_video_plus.responsive .wp-video video {
|
3 |
+
width: 100% !important;
|
4 |
+
height: auto !important;
|
5 |
+
}
|
6 |
+
.featured_video_plus.responsive .wp-video .mejs-poster {
|
7 |
+
background-size: cover !important;
|
8 |
}
|
css/video-js.png
DELETED
Binary file
|
css/videojs.min.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.video-js{background-color:#000;position:relative;padding:0;font-size:10px;vertical-align:middle}.video-js .vjs-tech{position:absolute;top:0;left:0;width:100%;height:100%}.video-js:-moz-full-screen{position:absolute}body.vjs-full-window{padding:0;margin:0;height:100%;overflow-y:auto}.video-js.vjs-fullscreen{position:fixed;overflow:hidden;z-index:1000;left:0;top:0;bottom:0;right:0;width:100%!important;height:100%!important;_position:absolute}.video-js:-webkit-full-screen{width:100%!important;height:100%!important}.vjs-poster{background-repeat:no-repeat;background-position:50% 50%;background-size:contain;cursor:pointer;height:100%;margin:0;padding:0;position:relative;width:100%}.vjs-poster img{display:block;margin:0 auto;max-height:100%;padding:0;width:100%}.video-js .vjs-text-track-display{text-align:center;position:absolute;bottom:4em;left:1em;right:1em;font-family:Arial,sans-serif}.video-js .vjs-text-track{display:none;font-size:1.4em;text-align:center;margin-bottom:.1em;background:#000;background:rgba(0,0,0,0.50)}.video-js .vjs-subtitles{color:#fff}.video-js .vjs-captions{color:#fc6}.vjs-tt-cue{display:block}.vjs-fade-in{display:block!important;visibility:visible;opacity:1;-webkit-transition:visibility .1s,opacity .1s;-moz-transition:visibility .1s,opacity .1s;-ms-transition:visibility .1s,opacity .1s;-o-transition:visibility .1s,opacity .1s;transition:visibility .1s,opacity .1s}.vjs-fade-out{display:block!important;visibility:hidden;opacity:0;-webkit-transition:visibility 1.5s,opacity 1.5s;-moz-transition:visibility 1.5s,opacity 1.5s;-ms-transition:visibility 1.5s,opacity 1.5s;-o-transition:visibility 1.5s,opacity 1.5s;transition:visibility 1.5s,opacity 1.5s;-webkit-transition-delay:2s;-moz-transition-delay:2s;-ms-transition-delay:2s;-o-transition-delay:2s;transition-delay:2s}.vjs-default-skin .vjs-hidden{display:none}.vjs-lock-showing{display:block!important;opacity:1;visibility:visible}@font-face{font-family:'VideoJS';src:url('font/vjs.eot');src:url('font/vjs.eot') format('embedded-opentype'),url('font/vjs.woff') format('woff'),url('font/vjs.ttf') format('truetype');font-weight:normal;font-style:normal}.vjs-default-skin{color:#ccc}.vjs-default-skin .vjs-slider{outline:0;position:relative;cursor:pointer;padding:0;background:#323232;background:rgba(100,100,100,0.5)}.vjs-default-skin .vjs-slider:focus{background:#464646;background:rgba(100,100,100,0.70);-webkit-box-shadow:0 0 2em rgba(255,255,255,1);-moz-box-shadow:0 0 2em rgba(255,255,255,1);box-shadow:0 0 2em rgba(255,255,255,1)}.vjs-default-skin .vjs-slider-handle{position:absolute;left:0;top:0}.vjs-default-skin .vjs-slider-handle:before{content:"\e009";font-family:VideoJS;font-size:1em;line-height:1;text-align:center;text-shadow:0 0 1em #fff;position:absolute;top:0;left:0;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.vjs-default-skin .vjs-control-bar{display:none;position:absolute;bottom:0;left:0;right:0;padding:0;margin:0;height:3.0em;background-color:#000;background-color:rgba(7,40,50,0.7);font-style:normal;font-weight:normal;font-family:Arial,sans-serif}.vjs-default-skin .vjs-control{outline:0;position:relative;float:left;text-align:center;margin:0;padding:0;height:3.0em;width:4em}.vjs-default-skin .vjs-control:before{font-family:VideoJS;font-size:1.5em;line-height:2;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;text-shadow:1px 1px 1px rgba(0,0,0,0.5)}.vjs-default-skin .vjs-control:focus:before,.vjs-default-skin .vjs-control:hover:before{text-shadow:0 0 1em rgba(255,255,255,1)}.vjs-default-skin .vjs-control-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.vjs-default-skin .vjs-play-control{width:5em;cursor:pointer}.vjs-default-skin .vjs-play-control:before{content:"\e001"}.vjs-default-skin.vjs-playing .vjs-play-control:before{content:"\e002"}.vjs-default-skin .vjs-mute-control,.vjs-default-skin .vjs-volume-menu-button{cursor:pointer;float:right}.vjs-default-skin .vjs-mute-control:before,.vjs-default-skin .vjs-volume-menu-button:before{content:"\e006"}.vjs-default-skin .vjs-mute-control.vjs-vol-0:before,.vjs-default-skin .vjs-volume-menu-button.vjs-vol-0:before{content:"\e003"}.vjs-default-skin .vjs-mute-control.vjs-vol-1:before,.vjs-default-skin .vjs-volume-menu-button.vjs-vol-1:before{content:"\e004"}.vjs-default-skin .vjs-mute-control.vjs-vol-2:before,.vjs-default-skin .vjs-volume-menu-button.vjs-vol-2:before{content:"\e005"}.vjs-default-skin .vjs-volume-control{width:5em;float:right}.vjs-default-skin .vjs-volume-bar{width:5em;height:.6em;margin:1.1em auto 0}.vjs-default-skin .vjs-volume-menu-button .vjs-menu-content{height:2.9em}.vjs-default-skin .vjs-volume-level{position:absolute;top:0;left:0;height:.5em;background:#66a8cc url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAP0lEQVQIHWWMAQoAIAgDR/QJ/Ub//04+w7ZICBwcOg5FZi5iBB82AGzixEglJrd4TVK5XUJpskSTEvpdFzX9AB2pGziSQcvAAAAAAElFTkSuQmCC) -50% 0 repeat}.vjs-default-skin .vjs-volume-bar .vjs-volume-handle{width:.5em;height:.5em}.vjs-default-skin .vjs-volume-handle:before{font-size:.9em;top:-0.2em;left:-0.2em;width:1em;height:1em}.vjs-default-skin .vjs-volume-menu-button .vjs-menu .vjs-menu-content{width:6em;left:-4em}.vjs-default-skin .vjs-progress-control{position:absolute;left:0;right:0;width:auto;font-size:.3em;height:1em;top:-1em;-webkit-transition:top .4s,height .4s,font-size .4s,-webkit-transform .4s;-moz-transition:top .4s,height .4s,font-size .4s,-moz-transform .4s;-o-transition:top .4s,height .4s,font-size .4s,-o-transform .4s;transition:top .4s,height .4s,font-size .4s,transform .4s}.vjs-default-skin:hover .vjs-progress-control{font-size:.9em;-webkit-transition:top .2s,height .2s,font-size .2s,-webkit-transform .2s;-moz-transition:top .2s,height .2s,font-size .2s,-moz-transform .2s;-o-transition:top .2s,height .2s,font-size .2s,-o-transform .2s;transition:top .2s,height .2s,font-size .2s,transform .2s}.vjs-default-skin .vjs-progress-holder{height:100%}.vjs-default-skin .vjs-progress-holder .vjs-play-progress,.vjs-default-skin .vjs-progress-holder .vjs-load-progress{position:absolute;display:block;height:100%;margin:0;padding:0;left:0;top:0}.vjs-default-skin .vjs-play-progress{background:#66a8cc url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAP0lEQVQIHWWMAQoAIAgDR/QJ/Ub//04+w7ZICBwcOg5FZi5iBB82AGzixEglJrd4TVK5XUJpskSTEvpdFzX9AB2pGziSQcvAAAAAAElFTkSuQmCC) -50% 0 repeat}.vjs-default-skin .vjs-load-progress{background:#646464;background:rgba(255,255,255,0.4)}.vjs-default-skin .vjs-seek-handle{width:1.5em;height:100%}.vjs-default-skin .vjs-seek-handle:before{padding-top:.1em}.vjs-default-skin .vjs-time-controls{font-size:1em;line-height:3em}.vjs-default-skin .vjs-current-time{float:left}.vjs-default-skin .vjs-duration{float:left}.vjs-default-skin .vjs-remaining-time{display:none;float:left}.vjs-time-divider{float:left;line-height:3em}.vjs-default-skin .vjs-fullscreen-control{width:3.8em;cursor:pointer;float:right}.vjs-default-skin .vjs-fullscreen-control:before{content:"\e000"}.vjs-default-skin.vjs-fullscreen .vjs-fullscreen-control:before{content:"\e00b"}.vjs-default-skin .vjs-big-play-button{display:block;z-index:2;position:absolute;top:2em;left:2em;width:12.0em;height:8.0em;margin:0;text-align:center;vertical-align:middle;cursor:pointer;opacity:1;background-color:#282828;background-color:rgba(7,40,50,0.7);border:.3em solid #323232;border-color:rgba(255,255,255,0.25);-webkit-border-radius:25px;-moz-border-radius:25px;border-radius:25px;-webkit-box-shadow:0 0 1em rgba(255,255,255,0.25);-moz-box-shadow:0 0 1em rgba(255,255,255,0.25);box-shadow:0 0 1em rgba(255,255,255,0.25);-webkit-transition:border .4s,-webkit-box-shadow .4s,-webkit-transform .4s;-moz-transition:border .4s,-moz-box-shadow .4s,-moz-transform .4s;-o-transition:border .4s,-o-box-shadow .4s,-o-transform .4s;transition:border .4s,box-shadow .4s,transform .4s}.vjs-default-skin:hover .vjs-big-play-button,.vjs-default-skin .vjs-big-play-button:focus{outline:0;border-color:#fff;border-color:rgba(255,255,255,1);background-color:#505050;background-color:rgba(50,50,50,0.75);-webkit-box-shadow:0 0 3em #fff;-moz-box-shadow:0 0 3em #fff;box-shadow:0 0 3em #fff;-webkit-transition:border 0s,-webkit-box-shadow 0s,-webkit-transform 0s;-moz-transition:border 0s,-moz-box-shadow 0s,-moz-transform 0s;-o-transition:border 0s,-o-box-shadow 0s,-o-transform 0s;transition:border 0s,box-shadow 0s,transform 0s}.vjs-default-skin .vjs-big-play-button:before{content:"\e001";font-family:VideoJS;font-size:3em;line-height:2.66;text-shadow:.05em .05em .1em #000;text-align:center;position:absolute;left:0;width:100%;height:100%}.vjs-loading-spinner{display:none;position:absolute;top:50%;left:50%;font-size:5em;line-height:1;width:1em;height:1em;margin-left:-0.5em;margin-top:-0.5em;opacity:.75;-webkit-animation:spin 1.5s infinite linear;-moz-animation:spin 1.5s infinite linear;-o-animation:spin 1.5s infinite linear;animation:spin 1.5s infinite linear}.vjs-default-skin .vjs-loading-spinner:before{content:"\e00a";font-family:VideoJS;position:absolute;width:1em;height:1em;text-align:center;text-shadow:0 0 .1em #000}.vjs-default-skin .vjs-loading-spinner:after{content:"\e00a";font-family:VideoJS;position:absolute;width:1em;height:1em;text-align:center;-webkit-background-clip:text;-webkit-text-fill-color:transparent}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg)}100%{-ms-transform:rotate(359deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}.vjs-default-skin .vjs-menu-button{float:right;cursor:pointer}.vjs-default-skin .vjs-menu{display:none;position:absolute;bottom:0;left:0;width:0;height:0;margin-bottom:3em;border-left:2em solid transparent;border-right:2em solid transparent;border-top:1.55em solid #000;border-top-color:rgba(7,40,50,0.5)}.vjs-default-skin .vjs-menu-button .vjs-menu .vjs-menu-content{display:block;padding:0;margin:0;position:absolute;width:10em;bottom:1.5em;max-height:15em;overflow:auto;left:-5em;background-color:#000;background-color:rgba(7,40,50,0.7);-webkit-box-shadow:-20px -20px 0 rgba(255,255,255,0.5);-moz-box-shadow:0 0 1em rgba(255,255,255,0.5);box-shadow:-0.2em -0.2em .3em rgba(255,255,255,0.2)}.vjs-default-skin .vjs-menu-button:hover .vjs-menu{display:block}.vjs-default-skin .vjs-menu-button ul li{list-style:none;margin:0;padding:.3em 0 .3em 0;line-height:1.4em;font-size:1.2em;font-weight:normal;text-align:center;text-transform:lowercase}.vjs-default-skin .vjs-menu-button ul li.vjs-selected{background-color:#000}.vjs-default-skin .vjs-menu-button ul li:focus,.vjs-default-skin .vjs-menu-button ul li:hover,.vjs-default-skin .vjs-menu-button ul li.vjs-selected:focus,.vjs-default-skin .vjs-menu-button ul li.vjs-selected:hover{background-color:#fff;background-color:rgba(255,255,255,0.75);color:#111;outline:0;-webkit-box-shadow:0 0 1em rgba(255,255,255,1);-moz-box-shadow:0 0 1em rgba(255,255,255,1);box-shadow:0 0 1em rgba(255,255,255,1)}.vjs-default-skin .vjs-menu-button ul li.vjs-menu-title{text-align:center;text-transform:uppercase;font-size:1em;line-height:2em;padding:0;margin:0 0 .3em 0;font-weight:bold;cursor:default}.vjs-default-skin .vjs-subtitles-button:before{content:"\e00c"}.vjs-default-skin .vjs-captions-button{font-size:1em}.vjs-default-skin .vjs-captions-button:before{content:"\e008";font-family:VideoJS;font-size:1.5em;line-height:2;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;text-shadow:none}.vjs-default-skin .vjs-captions-button:focus .vjs-control-content:before,.vjs-default-skin .vjs-captions-button:hover .vjs-control-content:before{-webkit-box-shadow:0 0 1em rgba(255,255,255,1);-moz-box-shadow:0 0 1em rgba(255,255,255,1);box-shadow:0 0 1em rgba(255,255,255,1)}
|
|
featured-video-plus.php
CHANGED
@@ -4,11 +4,11 @@ Plugin Name: Featured Video Plus
|
|
4 |
Plugin URI: http://yrnxt.com/wordpress/featured-video-plus/
|
5 |
Description: Add Featured Videos to your posts and pages.
|
6 |
Author: Alexander Höreth
|
7 |
-
Version: 1.
|
8 |
Author URI: http://yrnxt.com
|
9 |
License: GPL2
|
10 |
|
11 |
-
Copyright 2009-
|
12 |
|
13 |
This program is free software; you can redistribute it and/or modify
|
14 |
it under the terms of the GNU General Public License version 2,
|
@@ -27,7 +27,7 @@ License: GPL2
|
|
27 |
*/
|
28 |
|
29 |
if (!defined('FVP_VERSION'))
|
30 |
-
define('FVP_VERSION', '1.
|
31 |
|
32 |
// symlink proof
|
33 |
$pathinfo = pathinfo(dirname(plugin_basename(__FILE__)));
|
@@ -65,7 +65,6 @@ if( is_admin() ) {
|
|
65 |
|
66 |
// enqueue admin scripts and styles
|
67 |
add_action('admin_enqueue_scripts', array( &$featured_video_plus_backend, 'enqueue' ) );
|
68 |
-
add_action('admin_enqueue_scripts', array( &$featured_video_plus, 'enqueue' ) );
|
69 |
|
70 |
// link to media settings on plugins overview
|
71 |
add_filter('plugin_action_links', array( &$featured_video_plus_backend, 'plugin_action_link' ), 10, 2);
|
@@ -105,7 +104,6 @@ if( !is_admin() ) {
|
|
105 |
$featured_video_plus_frontend = new featured_video_plus_frontend($featured_video_plus);
|
106 |
|
107 |
// enqueue scripts and styles
|
108 |
-
add_action( 'wp_enqueue_scripts', array( &$featured_video_plus, 'enqueue' ) );
|
109 |
add_action( 'wp_enqueue_scripts', array( &$featured_video_plus_frontend, 'enqueue' ) );
|
110 |
|
111 |
// filter get_post_thumbnail output
|
4 |
Plugin URI: http://yrnxt.com/wordpress/featured-video-plus/
|
5 |
Description: Add Featured Videos to your posts and pages.
|
6 |
Author: Alexander Höreth
|
7 |
+
Version: 1.9
|
8 |
Author URI: http://yrnxt.com
|
9 |
License: GPL2
|
10 |
|
11 |
+
Copyright 2009-2014 Alexander Höreth (email: a.hoereth@gmail.com)
|
12 |
|
13 |
This program is free software; you can redistribute it and/or modify
|
14 |
it under the terms of the GNU General Public License version 2,
|
27 |
*/
|
28 |
|
29 |
if (!defined('FVP_VERSION'))
|
30 |
+
define('FVP_VERSION', '1.9');
|
31 |
|
32 |
// symlink proof
|
33 |
$pathinfo = pathinfo(dirname(plugin_basename(__FILE__)));
|
65 |
|
66 |
// enqueue admin scripts and styles
|
67 |
add_action('admin_enqueue_scripts', array( &$featured_video_plus_backend, 'enqueue' ) );
|
|
|
68 |
|
69 |
// link to media settings on plugins overview
|
70 |
add_filter('plugin_action_links', array( &$featured_video_plus_backend, 'plugin_action_link' ), 10, 2);
|
104 |
$featured_video_plus_frontend = new featured_video_plus_frontend($featured_video_plus);
|
105 |
|
106 |
// enqueue scripts and styles
|
|
|
107 |
add_action( 'wp_enqueue_scripts', array( &$featured_video_plus_frontend, 'enqueue' ) );
|
108 |
|
109 |
// filter get_post_thumbnail output
|
js/backend.js
CHANGED
@@ -4,20 +4,16 @@ jQuery(document).ready(function($){
|
|
4 |
* Set input field values to default on blur if empty and ajax submit if changed
|
5 |
* @since 1.0
|
6 |
*/
|
7 |
-
$('#fvp_video
|
8 |
t = $(this); // required to make use of it in ajax callback
|
9 |
|
10 |
t.val( $.trim( t.val()) );
|
11 |
|
12 |
value = t.val();
|
13 |
if((value.length === 0) ||
|
14 |
-
(value == fvp_backend_data.default_value )
|
15 |
-
(value == fvp_backend_data.default_value_sec) ){
|
16 |
t.addClass("defaultTextActive");
|
17 |
-
|
18 |
-
t.val( fvp_backend_data.default_value );
|
19 |
-
else
|
20 |
-
t.val( fvp_backend_data.default_value_sec );
|
21 |
}
|
22 |
t.trigger('autosize');
|
23 |
|
@@ -31,8 +27,7 @@ jQuery(document).ready(function($){
|
|
31 |
'action' : 'fvp_ajax',
|
32 |
'id' : $('#post_ID').val(),
|
33 |
'fvp_nonce' : $('#fvp_nonce').val(),
|
34 |
-
'fvp_video' : $('#fvp_video').val()
|
35 |
-
'fvp_sec' : $('#fvp_sec').val()
|
36 |
},
|
37 |
function(data) {
|
38 |
t.siblings('.fvp_mirror').val( t.val() );
|
@@ -64,8 +59,7 @@ jQuery(document).ready(function($){
|
|
64 |
*/
|
65 |
$(".fvp_input").focus(function() {
|
66 |
value = $(this).val();
|
67 |
-
if(
|
68 |
-
(value == fvp_backend_data.default_value_sec) ){
|
69 |
$(this).removeClass("defaultTextActive");
|
70 |
$(this).val("");
|
71 |
}
|
@@ -89,31 +83,16 @@ jQuery(document).ready(function($){
|
|
89 |
$(this).select();
|
90 |
});
|
91 |
|
92 |
-
/**
|
93 |
-
* hide secondary input initially
|
94 |
-
* @since 1.2
|
95 |
-
*/
|
96 |
-
if ($("#fvp_video").length > 0){
|
97 |
-
var value = $("#fvp_video").val();
|
98 |
-
if ( value.length === 0 || value == fvp_backend_data.default_value || !value.match( fvp_backend_data.wp_upload_dir.replace(/\//g, "\\\/") ) ) {
|
99 |
-
$("#fvp_sec").val( fvp_backend_data.default_value_sec );
|
100 |
-
$("#fvp_sec_wrapper").hide();
|
101 |
-
}
|
102 |
-
}
|
103 |
-
|
104 |
/**
|
105 |
* Called when a change on the primary video input occurred
|
106 |
* @since 1.2
|
107 |
*/
|
108 |
function handleVideoInput( obj ) {
|
109 |
var value = $.trim(obj.val());
|
110 |
-
var sec = $.trim($('#fvp_sec').val());
|
111 |
$("#fvp_help_notice").slideDown('fast');
|
112 |
|
113 |
if ( value.length === 0 || value == fvp_backend_data.default_value ) {
|
114 |
$("#fvp_video").removeClass('fvp_invalid'); //css('backgroundColor', 'white');
|
115 |
-
$("#fvp_sec").val( fvp_backend_data.default_value_sec ).blur();
|
116 |
-
$("#fvp_sec_wrapper").slideUp('fast');
|
117 |
$("#fvp_localvideo_format_warning").slideUp('fast');
|
118 |
}
|
119 |
|
@@ -121,18 +100,13 @@ jQuery(document).ready(function($){
|
|
121 |
var file_extension = /^.*\/(.*)\.(.*)/g;
|
122 |
var match = file_extension.exec(value);
|
123 |
if ( match[2] == 'webm' || match[2] == 'mp4' || match[2] == 'ogg' || match[2] == 'ogv' ) {
|
124 |
-
$("#fvp_sec_wrapper").slideDown('fast');
|
125 |
$("#fvp_video").removeClass('fvp_invalid'); //.css('backgroundColor', 'white');
|
126 |
$("#fvp_localvideo_format_warning").slideUp('fast');
|
127 |
} else {
|
128 |
-
$("#fvp_sec").val( fvp_backend_data.default_value_sec ).blur();
|
129 |
-
$("#fvp_sec_wrapper").slideUp('fast');
|
130 |
$("#fvp_video").addClass('fvp_invalid'); //css('backgroundColor', 'lightYellow');
|
131 |
$("#fvp_localvideo_format_warning").slideDown('fast', 'linear');
|
132 |
}
|
133 |
-
distinctContent();
|
134 |
} else {
|
135 |
-
$("#fvp_sec_wrapper").slideUp('fast');
|
136 |
$("#fvp_video").removeClass('fvp_invalid'); //.css('backgroundColor', 'white');
|
137 |
$("#fvp_localvideo_format_warning").slideUp('fast');
|
138 |
}
|
@@ -146,59 +120,6 @@ jQuery(document).ready(function($){
|
|
146 |
setTimeout(handleVideoInput($(this)), 200);
|
147 |
});
|
148 |
|
149 |
-
/**
|
150 |
-
* Called when a change on the primary video input occurred
|
151 |
-
* @since 1.2
|
152 |
-
*/
|
153 |
-
function handleSecInput( obj ) {
|
154 |
-
var value = $.trim(obj.val());
|
155 |
-
var prim = $.trim($('#fvp_video').val());
|
156 |
-
|
157 |
-
if ( value.length === 0 || value == fvp_backend_data.default_value ) {
|
158 |
-
$("#fvp_localvideo_format_warning").slideUp('fast');
|
159 |
-
$("#fvp_sec").removeClass('fvp_invalid'); //.css('backgroundColor', 'white');
|
160 |
-
}
|
161 |
-
|
162 |
-
if ( value.match( fvp_backend_data.wp_upload_dir.replace(/\//g, "\\\/") ) ) {
|
163 |
-
var file_extension = /^.*\/(.*)\.(.*)$/g;
|
164 |
-
var match = file_extension.exec(value);
|
165 |
-
if ( match[2] == 'webm' || match[2] == 'mp4' || match[2] == 'ogg' || match[2] == 'ogv' ) {
|
166 |
-
$("#fvp_sec").removeClass('fvp_invalid'); //.css('backgroundColor', 'white');
|
167 |
-
$("#fvp_localvideo_format_warning").slideUp('fast');
|
168 |
-
distinctContent();
|
169 |
-
} else {
|
170 |
-
$("#fvp_sec").addClass('fvp_invalid'); //.css('backgroundColor', 'lightYellow');
|
171 |
-
$("#fvp_localvideo_format_warning").slideDown('fast');
|
172 |
-
}
|
173 |
-
} else if (value.length !== 0) {
|
174 |
-
$("#fvp_sec").addClass('fvp_invalid'); //.css('backgroundColor', 'lightYellow');
|
175 |
-
$("#fvp_localvideo_notdistinct_warning").slideDown('fast');
|
176 |
-
}
|
177 |
-
|
178 |
-
}
|
179 |
-
|
180 |
-
/**
|
181 |
-
* recognize change on the secondary video input
|
182 |
-
* @since 1.2
|
183 |
-
*/
|
184 |
-
$("#fvp_sec").bind("change paste keyup", function() {
|
185 |
-
setTimeout(handleSecInput($(this)), 200);
|
186 |
-
});
|
187 |
-
|
188 |
-
/**
|
189 |
-
* Compares the two input boxes if they contain the same URL
|
190 |
-
* @since 1.2
|
191 |
-
*/
|
192 |
-
function distinctContent() {
|
193 |
-
if ( $.trim( $('#fvp_video').val() ) == $.trim( $('#fvp_sec').val() ) ) {
|
194 |
-
$("#fvp_sec").addClass('fvp_invalid'); //.css('backgroundColor', 'lightYellow');
|
195 |
-
$("#fvp_localvideo_notdistinct_warning").slideDown('fast');
|
196 |
-
} else {
|
197 |
-
$("#fvp_localvideo_notdistinct_warning").slideUp('fast');
|
198 |
-
$("#fvp_sec").removeClass('fvp_invalid'); //.css('backgroundColor', 'white');
|
199 |
-
}
|
200 |
-
}
|
201 |
-
|
202 |
/**
|
203 |
* set featured image link and featured image requirement warning
|
204 |
* @since 1.1
|
@@ -214,8 +135,7 @@ jQuery(document).ready(function($){
|
|
214 |
'action' : 'fvp_ajax',
|
215 |
'id' : $('#post_ID').val(),
|
216 |
'fvp_nonce' : $('#fvp_nonce').val(),
|
217 |
-
'fvp_video' : $('#fvp_video').val()
|
218 |
-
'fvp_sec' : $('#fvp_sec').val()
|
219 |
},
|
220 |
function (data) {
|
221 |
$('#postimagediv .inside').html(data.img);
|
4 |
* Set input field values to default on blur if empty and ajax submit if changed
|
5 |
* @since 1.0
|
6 |
*/
|
7 |
+
$('#fvp_video').blur(function() {
|
8 |
t = $(this); // required to make use of it in ajax callback
|
9 |
|
10 |
t.val( $.trim( t.val()) );
|
11 |
|
12 |
value = t.val();
|
13 |
if((value.length === 0) ||
|
14 |
+
(value == fvp_backend_data.default_value ) ){
|
|
|
15 |
t.addClass("defaultTextActive");
|
16 |
+
t.val( fvp_backend_data.default_value );
|
|
|
|
|
|
|
17 |
}
|
18 |
t.trigger('autosize');
|
19 |
|
27 |
'action' : 'fvp_ajax',
|
28 |
'id' : $('#post_ID').val(),
|
29 |
'fvp_nonce' : $('#fvp_nonce').val(),
|
30 |
+
'fvp_video' : $('#fvp_video').val()
|
|
|
31 |
},
|
32 |
function(data) {
|
33 |
t.siblings('.fvp_mirror').val( t.val() );
|
59 |
*/
|
60 |
$(".fvp_input").focus(function() {
|
61 |
value = $(this).val();
|
62 |
+
if( value == fvp_backend_data.default_value ){
|
|
|
63 |
$(this).removeClass("defaultTextActive");
|
64 |
$(this).val("");
|
65 |
}
|
83 |
$(this).select();
|
84 |
});
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
/**
|
87 |
* Called when a change on the primary video input occurred
|
88 |
* @since 1.2
|
89 |
*/
|
90 |
function handleVideoInput( obj ) {
|
91 |
var value = $.trim(obj.val());
|
|
|
92 |
$("#fvp_help_notice").slideDown('fast');
|
93 |
|
94 |
if ( value.length === 0 || value == fvp_backend_data.default_value ) {
|
95 |
$("#fvp_video").removeClass('fvp_invalid'); //css('backgroundColor', 'white');
|
|
|
|
|
96 |
$("#fvp_localvideo_format_warning").slideUp('fast');
|
97 |
}
|
98 |
|
100 |
var file_extension = /^.*\/(.*)\.(.*)/g;
|
101 |
var match = file_extension.exec(value);
|
102 |
if ( match[2] == 'webm' || match[2] == 'mp4' || match[2] == 'ogg' || match[2] == 'ogv' ) {
|
|
|
103 |
$("#fvp_video").removeClass('fvp_invalid'); //.css('backgroundColor', 'white');
|
104 |
$("#fvp_localvideo_format_warning").slideUp('fast');
|
105 |
} else {
|
|
|
|
|
106 |
$("#fvp_video").addClass('fvp_invalid'); //css('backgroundColor', 'lightYellow');
|
107 |
$("#fvp_localvideo_format_warning").slideDown('fast', 'linear');
|
108 |
}
|
|
|
109 |
} else {
|
|
|
110 |
$("#fvp_video").removeClass('fvp_invalid'); //.css('backgroundColor', 'white');
|
111 |
$("#fvp_localvideo_format_warning").slideUp('fast');
|
112 |
}
|
120 |
setTimeout(handleVideoInput($(this)), 200);
|
121 |
});
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
/**
|
124 |
* set featured image link and featured image requirement warning
|
125 |
* @since 1.1
|
135 |
'action' : 'fvp_ajax',
|
136 |
'id' : $('#post_ID').val(),
|
137 |
'fvp_nonce' : $('#fvp_nonce').val(),
|
138 |
+
'fvp_video' : $('#fvp_video').val()
|
|
|
139 |
},
|
140 |
function (data) {
|
141 |
$('#postimagediv .inside').html(data.img);
|
js/backend.min.js
CHANGED
@@ -1,12 +1 @@
|
|
1 |
-
jQuery(document).ready(function(a){function
|
2 |
-
t.is("#fvp_video")?t.val(fvp_backend_data.default_value):t.val(fvp_backend_data.default_value_sec);t.trigger("autosize");t.val()!=t.siblings(".fvp_mirror").val()&&(bg=t.siblings(".fvp_video_choose").children(".fvp_media_icon").css("backgroundImage"),t.siblings(".fvp_video_choose").children(".fvp_media_icon").css("backgroundImage","url('"+fvp_backend_data.loading_gif+"')"),a("#fvp_current_video").css({backgroundImage:"url('"+fvp_backend_data.loading_gif+"')",width:"256px"}).animate({height:"144px"}).children().animate({opacity:0}),
|
3 |
-
a.post(ajaxurl,{action:"fvp_ajax",id:a("#post_ID").val(),fvp_nonce:a("#fvp_nonce").val(),fvp_video:a("#fvp_video").val(),fvp_sec:a("#fvp_sec").val()},function(c){t.siblings(".fvp_mirror").val(t.val());t.siblings(".fvp_video_choose").children(".fvp_media_icon").css("backgroundImage",bg);"removed"==c.typ?(a("#fvp_current_video").css({backgroundImage:""}).animate({height:"0px"}),""!=c.img&&a("#postimagediv .inside").html(c.img)):(a("#fvp_current_video").html(c.video).animate({height:"144px"}),a("#fvp_help_notice").slideUp("fast"),
|
4 |
-
c.valid?(a("#postimagediv .inside").html(c.img),a("#fvp_set_featimg_link, #fvp_featimg_warning").slideUp().addClass("fvp_hidden"),t.css("backgroundColor","#00FF00").animate({backgroundColor:"white"},500,function(){t.css("backgroundColor","")}),"local"==c.prov&&fvp_backend_data.videojs&&(vjs=videojs("videojs"+c.id,{},function(){}))):t.addClass("fvp_invalid"))},"json"))});a(".fvp_input").focus(function(){d=a(this).val();if(d==fvp_backend_data.default_value||d==fvp_backend_data.default_value_sec)a(this).removeClass("defaultTextActive"),
|
5 |
-
a(this).val("")});a(".fvp_input").autosize().trigger("blur").keypress(function(a){13==a.keyCode&&a.preventDefault()});a(".fvp_input").click(function(){a(this).select()});if(0<a("#fvp_video").length){var d=a("#fvp_video").val();if(0===d.length||d==fvp_backend_data.default_value||!d.match(fvp_backend_data.wp_upload_dir.replace(/\//g,"\\/")))a("#fvp_sec").val(fvp_backend_data.default_value_sec),a("#fvp_sec_wrapper").hide()}a("#fvp_video").bind("change paste keyup",function(){var c=setTimeout,b=a(this),
|
6 |
-
b=a.trim(b.val());a.trim(a("#fvp_sec").val());a("#fvp_help_notice").slideDown("fast");if(0===b.length||b==fvp_backend_data.default_value)a("#fvp_video").removeClass("fvp_invalid"),a("#fvp_sec").val(fvp_backend_data.default_value_sec).blur(),a("#fvp_sec_wrapper").slideUp("fast"),a("#fvp_localvideo_format_warning").slideUp("fast");b.match(fvp_backend_data.wp_upload_dir.replace(/\//g,"\\/"))?(b=/^.*\/(.*)\.(.*)/g.exec(b),"webm"==b[2]||"mp4"==b[2]||"ogg"==b[2]||"ogv"==b[2]?(a("#fvp_sec_wrapper").slideDown("fast"),
|
7 |
-
a("#fvp_video").removeClass("fvp_invalid"),a("#fvp_localvideo_format_warning").slideUp("fast")):(a("#fvp_sec").val(fvp_backend_data.default_value_sec).blur(),a("#fvp_sec_wrapper").slideUp("fast"),a("#fvp_video").addClass("fvp_invalid"),a("#fvp_localvideo_format_warning").slideDown("fast","linear")),g()):(a("#fvp_sec_wrapper").slideUp("fast"),a("#fvp_video").removeClass("fvp_invalid"),a("#fvp_localvideo_format_warning").slideUp("fast"));c(void 0,200)});a("#fvp_sec").bind("change paste keyup",function(){var c=
|
8 |
-
setTimeout,b=a(this),b=a.trim(b.val());a.trim(a("#fvp_video").val());if(0===b.length||b==fvp_backend_data.default_value)a("#fvp_localvideo_format_warning").slideUp("fast"),a("#fvp_sec").removeClass("fvp_invalid");b.match(fvp_backend_data.wp_upload_dir.replace(/\//g,"\\/"))?(b=/^.*\/(.*)\.(.*)$/g.exec(b),"webm"==b[2]||"mp4"==b[2]||"ogg"==b[2]||"ogv"==b[2]?(a("#fvp_sec").removeClass("fvp_invalid"),a("#fvp_localvideo_format_warning").slideUp("fast"),g()):(a("#fvp_sec").addClass("fvp_invalid"),a("#fvp_localvideo_format_warning").slideDown("fast"))):
|
9 |
-
0!==b.length&&(a("#fvp_sec").addClass("fvp_invalid"),a("#fvp_localvideo_notdistinct_warning").slideDown("fast"));c(void 0,200)});a("#fvp_set_featimg_link").removeClass("fvp_hidden");a("#fvp_set_featimg_input").addClass("fvp_hidden");a("#fvp_set_featimg_link, #fvp_warning_set_featimg").click(function(){a("#fvp_set_featimg").attr("checked",!0);a.post(ajaxurl,{action:"fvp_ajax",id:a("#post_ID").val(),fvp_nonce:a("#fvp_nonce").val(),fvp_video:a("#fvp_video").val(),fvp_sec:a("#fvp_sec").val()},function(c){a("#postimagediv .inside").html(c.img);
|
10 |
-
a("#fvp_set_featimg_link, #fvp_featimg_warning").slideUp().addClass("fvp_hidden")},"json");return!1});a("#remove-post-thumbnail").click(function(){a("#fvp_set_featimg_link, #fvp_featimg_warning").slideDown().removeClass("fvp_hidden")});a("#set-post-thumbnail").click(function(){a("#fvp_featimg_box_warning").addClass("fvp_hidden")});a("#fvp_help_toggle").bind("click",function(){a("#contextual-help-link").trigger("click")});var e,f;f={frame:function(){if(this._frame)return this._frame;this._frame=wp.media({title:e.data("title"),
|
11 |
-
library:{type:"video"},button:{text:e.data("button")},multiple:!1});this._frame.on("open",this.updateFrame).state("library").on("select",this.select);return this._frame},select:function(){var c=this.get("selection");a(e.data("target")).val(c.pluck("url")).trigger("autosize").change().removeClass("defaultTextActive");a("#fvp_video").blur()},updateFrame:function(){},init:function(){a("#wpbody").on("click",".fvp_video_choose",function(c){c.preventDefault();e=a(this).closest(".fvp_input_wrapper");f.frame().open()})}};
|
12 |
-
1==fvp_backend_data.wp_35&&f.init()});
|
1 |
+
jQuery(document).ready(function(a){function b(b){var c=a.trim(b.val());if(a("#fvp_help_notice").slideDown("fast"),(0===c.length||c==fvp_backend_data.default_value)&&(a("#fvp_video").removeClass("fvp_invalid"),a("#fvp_localvideo_format_warning").slideUp("fast")),c.match(fvp_backend_data.wp_upload_dir.replace(/\//g,"\\/"))){var d=/^.*\/(.*)\.(.*)/g,e=d.exec(c);"webm"==e[2]||"mp4"==e[2]||"ogg"==e[2]||"ogv"==e[2]?(a("#fvp_video").removeClass("fvp_invalid"),a("#fvp_localvideo_format_warning").slideUp("fast")):(a("#fvp_video").addClass("fvp_invalid"),a("#fvp_localvideo_format_warning").slideDown("fast","linear"))}else a("#fvp_video").removeClass("fvp_invalid"),a("#fvp_localvideo_format_warning").slideUp("fast")}a("#fvp_video").blur(function(){t=a(this),t.val(a.trim(t.val())),value=t.val(),(0===value.length||value==fvp_backend_data.default_value)&&(t.addClass("defaultTextActive"),t.val(fvp_backend_data.default_value)),t.trigger("autosize"),t.val()!=t.siblings(".fvp_mirror").val()&&(bg=t.siblings(".fvp_video_choose").children(".fvp_media_icon").css("backgroundImage"),t.siblings(".fvp_video_choose").children(".fvp_media_icon").css("backgroundImage","url('"+fvp_backend_data.loading_gif+"')"),a("#fvp_current_video").css({backgroundImage:"url('"+fvp_backend_data.loading_gif+"')",width:"256px"}).animate({height:"144px"}).children().animate({opacity:0}),a.post(ajaxurl,{action:"fvp_ajax",id:a("#post_ID").val(),fvp_nonce:a("#fvp_nonce").val(),fvp_video:a("#fvp_video").val()},function(b){t.siblings(".fvp_mirror").val(t.val()),t.siblings(".fvp_video_choose").children(".fvp_media_icon").css("backgroundImage",bg),"removed"==b.typ?(a("#fvp_current_video").css({backgroundImage:""}).animate({height:"0px"}),""!=b.img&&a("#postimagediv .inside").html(b.img)):(a("#fvp_current_video").html(b.video).animate({height:"144px"}),a("#fvp_help_notice").slideUp("fast"),b.valid?(a("#postimagediv .inside").html(b.img),a("#fvp_set_featimg_link, #fvp_featimg_warning").slideUp().addClass("fvp_hidden"),t.css("backgroundColor","#00FF00").animate({backgroundColor:"white"},500,function(){t.css("backgroundColor","")}),"local"==b.prov&&fvp_backend_data.videojs&&(vjs=videojs("videojs"+b.id,{},function(){}))):t.addClass("fvp_invalid"))},"json"))}),a(".fvp_input").focus(function(){value=a(this).val(),value==fvp_backend_data.default_value&&(a(this).removeClass("defaultTextActive"),a(this).val(""))}),a(".fvp_input").autosize().trigger("blur").keypress(function(a){13==a.keyCode&&a.preventDefault()}),a(".fvp_input").click(function(){a(this).select()}),a("#fvp_video").bind("change paste keyup",function(){setTimeout(b(a(this)),200)}),a("#fvp_set_featimg_link").removeClass("fvp_hidden"),a("#fvp_set_featimg_input").addClass("fvp_hidden"),a("#fvp_set_featimg_link, #fvp_warning_set_featimg").click(function(){return a("#fvp_set_featimg").attr("checked",!0),a.post(ajaxurl,{action:"fvp_ajax",id:a("#post_ID").val(),fvp_nonce:a("#fvp_nonce").val(),fvp_video:a("#fvp_video").val()},function(b){a("#postimagediv .inside").html(b.img),a("#fvp_set_featimg_link, #fvp_featimg_warning").slideUp().addClass("fvp_hidden")},"json"),!1}),a("#remove-post-thumbnail").click(function(){a("#fvp_set_featimg_link, #fvp_featimg_warning").slideDown().removeClass("fvp_hidden")}),a("#set-post-thumbnail").click(function(){a("#fvp_featimg_box_warning").addClass("fvp_hidden")}),a("#fvp_help_toggle").bind("click",function(){a("#contextual-help-link").trigger("click")});var c,e;e={frame:function(){return this._frame?this._frame:(this._frame=wp.media({title:c.data("title"),library:{type:"video"},button:{text:c.data("button")},multiple:!1}),this._frame.on("open",this.updateFrame).state("library").on("select",this.select),this._frame)},select:function(){var b=this.get("selection"),d="url";a(c.data("target")).val(b.pluck(d)).trigger("autosize").change().removeClass("defaultTextActive"),a("#fvp_video").blur()},updateFrame:function(){},init:function(){a("#wpbody").on("click",".fvp_video_choose",function(b){b.preventDefault(),c=a(this).closest(".fvp_input_wrapper"),e.frame().open()})}},1==fvp_backend_data.wp_35&&e.init()});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/frontend.js
CHANGED
@@ -35,12 +35,9 @@ function fvp_dynamic(id){
|
|
35 |
t.replaceWith(data.html);
|
36 |
fvp_unwrap();
|
37 |
if ( fvpdata.fitvids && fvpdata.overlay )
|
38 |
-
jQuery(".featured_video_plus").fitVids({customSelector:
|
39 |
-
|
40 |
-
if ( fvpdata.videojs )
|
41 |
-
videojs('videojs'+data.id,{'autoplay':true},function(){});
|
42 |
}
|
43 |
-
})
|
44 |
}
|
45 |
|
46 |
jQuery(document).ready(function($){
|
35 |
t.replaceWith(data.html);
|
36 |
fvp_unwrap();
|
37 |
if ( fvpdata.fitvids && fvpdata.overlay )
|
38 |
+
jQuery(".featured_video_plus").fitVids({customSelector: "iframe[src*='dailymotion.com']"});
|
|
|
|
|
|
|
39 |
}
|
40 |
+
});
|
41 |
}
|
42 |
|
43 |
jQuery(document).ready(function($){
|
js/frontend.min.js
CHANGED
@@ -1,6 +1 @@
|
|
1 |
-
function fvp_unwrap(){jQuery(".featured_video_plus, a.fvp_overlay, a.fvp_dynamic").each(function(){jQuery(this).parent().is("a")&&jQuery(this).unwrap()})}
|
2 |
-
function fvp_dynamic(a){var b=jQuery("#fvp_"+a);b.css({position:"relative"}).prepend(jQuery("<div />",{"class":"fvp_loader",style:"background:transparent url('"+fvpdata.loadingb+"') no-repeat center center;position: absolute; margin: "+b.children("img").css("margin")+";height:"+b.children("img").css("height")+";width:"+b.children("img").css("width")+"; z-index:1000;"}));jQuery.post(fvpdata.ajaxurl,{action:"fvp_get_embed",nonce:fvpdata.nonce,id:a},function(a){a.success&&(b.replaceWith(a.html),fvp_unwrap(),
|
3 |
-
fvpdata.fitvids&&fvpdata.overlay&&jQuery(".featured_video_plus").fitVids({customSelector:["iframe","object","embed",".video-js"]}),fvpdata.videojs&&videojs("videojs"+a.id,{autoplay:!0},function(){}))})}
|
4 |
-
jQuery(document).ready(function(a){fvp_unwrap();(fvpdata.overlay||fvpdata.dynamic)&&a(".fvp_overlay,.fvp_dynamic").hover(function(){a(this).children("img").animate({opacity:0.65})},function(){a(this).children("img").animate({opacity:1})});fvpdata.overlay&&a(".fvp_overlay").click(function(){a(this).openDOMWindow({eventType:null,windowPadding:0,borderSize:0,windowBGColor:"transparent",overlayOpacity:fvpdata.opacity});a("#DOMWindow").css({background:"transparent url('"+fvpdata.loadingw+"') center center no-repeat"});
|
5 |
-
var b=/[\?&\#]fvp_([0-9]+)/.exec(a(this).attr("href"));0===a("#fvp_"+b[1]).html().length?jQuery.post(fvpdata.ajaxurl,{action:"fvp_get_embed",nonce:fvpdata.nonce,id:b[1]},function(b){b.success&&(a("#DOMWindow").html(b.html).css({width:"auto",height:"auto",margin:"auto auto",overflow:"hidden"}),a(window).trigger("scroll"),fvpdata.videojs&&videojs("videojs"+b.id,{autoplay:!0},function(){}))}):(a("#DOMWindow").html(a("#fvp_"+b[1]).html()).css({width:"auto",height:"auto",margin:"auto auto",overflow:"hidden"}),
|
6 |
-
a(window).trigger("scroll"))});fvpdata.fitvids&&(!fvpdata.dynamic&&!fvpdata.overlay)&&a(".featured_video_plus").fitVids({customSelector:["iframe","object","embed",".video-js"]})});
|
1 |
+
function fvp_unwrap(){jQuery(".featured_video_plus, a.fvp_overlay, a.fvp_dynamic").each(function(){jQuery(this).parent().is("a")&&jQuery(this).unwrap()})}function fvp_dynamic(a){var b=jQuery("#fvp_"+a);b.css({position:"relative"}).prepend(jQuery("<div />",{"class":"fvp_loader",style:"background:transparent url('"+fvpdata.loadingb+"') no-repeat center center;"+"position: absolute; margin: "+b.children("img").css("margin")+";"+"height:"+b.children("img").css("height")+";width:"+b.children("img").css("width")+"; z-index:1000;"})),jQuery.post(fvpdata.ajaxurl,{action:"fvp_get_embed",nonce:fvpdata.nonce,id:a},function(a){a.success&&(b.replaceWith(a.html),fvp_unwrap(),fvpdata.fitvids&&fvpdata.overlay&&jQuery(".featured_video_plus").fitVids({customSelector:"iframe[src*='dailymotion.com']"}))})}jQuery(document).ready(function(a){fvp_unwrap(),(fvpdata.overlay||fvpdata.dynamic)&&a(".fvp_overlay,.fvp_dynamic").hover(function(){a(this).children("img").animate({opacity:.65})},function(){a(this).children("img").animate({opacity:1})}),fvpdata.overlay&&a(".fvp_overlay").click(function(){a(this).openDOMWindow({eventType:null,windowPadding:0,borderSize:0,windowBGColor:"transparent",overlayOpacity:fvpdata.opacity}),a("#DOMWindow").css({background:"transparent url('"+fvpdata.loadingw+"') center center no-repeat"});var b=new RegExp("[\\?&\\#]fvp_([0-9]+)").exec(a(this).attr("href"));0===a("#fvp_"+b[1]).html().length?jQuery.post(fvpdata.ajaxurl,{action:"fvp_get_embed",nonce:fvpdata.nonce,id:b[1]},function(b){b.success&&(a("#DOMWindow").html(b.html).css({width:"auto",height:"auto",margin:"auto auto",overflow:"hidden"}),a(window).trigger("scroll"),fvpdata.videojs&&videojs("videojs"+b.id,{autoplay:!0},function(){}))}):(a("#DOMWindow").html(a("#fvp_"+b[1]).html()).css({width:"auto",height:"auto",margin:"auto auto",overflow:"hidden"}),a(window).trigger("scroll"))}),!fvpdata.fitvids||fvpdata.dynamic||fvpdata.overlay||a(".featured_video_plus").fitVids({customSelector:["iframe","object","embed",".video-js"]})});
|
|
|
|
|
|
|
|
|
|
js/jquery.fitvids.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
/*global jQuery */
|
2 |
/*jshint multistr:true browser:true */
|
3 |
/*!
|
4 |
-
* FitVids 1.0
|
5 |
*
|
6 |
-
* Copyright
|
7 |
* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
|
8 |
* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
|
9 |
*
|
@@ -22,28 +22,13 @@
|
|
22 |
if(!document.getElementById('fit-vids-style')) {
|
23 |
|
24 |
var div = document.createElement('div'),
|
25 |
-
ref = document.getElementsByTagName('base')[0] || document.getElementsByTagName('script')[0]
|
|
|
26 |
|
27 |
div.className = 'fit-vids-style';
|
28 |
div.id = 'fit-vids-style';
|
29 |
div.style.display = 'none';
|
30 |
-
div.innerHTML =
|
31 |
-
.fluid-width-video-wrapper { \
|
32 |
-
width: 100%; \
|
33 |
-
position: relative; \
|
34 |
-
padding: 0; \
|
35 |
-
} \
|
36 |
-
\
|
37 |
-
.fluid-width-video-wrapper iframe, \
|
38 |
-
.fluid-width-video-wrapper object, \
|
39 |
-
.fluid-width-video-wrapper embed { \
|
40 |
-
position: absolute; \
|
41 |
-
top: 0; \
|
42 |
-
left: 0; \
|
43 |
-
width: 100%; \
|
44 |
-
height: 100%; \
|
45 |
-
} \
|
46 |
-
</style>';
|
47 |
|
48 |
ref.parentNode.insertBefore(div,ref);
|
49 |
|
@@ -85,4 +70,11 @@
|
|
85 |
});
|
86 |
});
|
87 |
};
|
88 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
/*global jQuery */
|
2 |
/*jshint multistr:true browser:true */
|
3 |
/*!
|
4 |
+
* FitVids 1.0.3
|
5 |
*
|
6 |
+
* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
|
7 |
* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
|
8 |
* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
|
9 |
*
|
22 |
if(!document.getElementById('fit-vids-style')) {
|
23 |
|
24 |
var div = document.createElement('div'),
|
25 |
+
ref = document.getElementsByTagName('base')[0] || document.getElementsByTagName('script')[0],
|
26 |
+
cssStyles = '­<style>.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>';
|
27 |
|
28 |
div.className = 'fit-vids-style';
|
29 |
div.id = 'fit-vids-style';
|
30 |
div.style.display = 'none';
|
31 |
+
div.innerHTML = cssStyles;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
ref.parentNode.insertBefore(div,ref);
|
34 |
|
70 |
});
|
71 |
});
|
72 |
};
|
73 |
+
// Works with either jQuery or Zepto
|
74 |
+
})( window.jQuery || window.Zepto );
|
75 |
+
|
76 |
+
jQuery(document).ready(function($){
|
77 |
+
$(".featured_video_plus").fitVids( {
|
78 |
+
customSelector: "iframe[src*='dailymotion.com']"
|
79 |
+
});
|
80 |
+
});
|
js/jquery.fitvids.min.js
CHANGED
@@ -1,3 +1 @@
|
|
1 |
-
|
2 |
-
g.parentNode.insertBefore(c,g)}f&&d.extend(e,f);return this.each(function(){var b="iframe[src*='player.vimeo.com'] iframe[src*='youtube.com'] iframe[src*='youtube-nocookie.com'] iframe[src*='kickstarter.com'][src*='video.html'] object embed".split(" ");e.customSelector&&b.push(e.customSelector);b=d(this).find(b.join(","));b=b.not("object object");b.each(function(){var a=d(this);if(!("embed"===this.tagName.toLowerCase()&&a.parent("object").length||a.parent(".fluid-width-video-wrapper").length)){var b=
|
3 |
-
"object"===this.tagName.toLowerCase()||a.attr("height")&&!isNaN(parseInt(a.attr("height"),10))?parseInt(a.attr("height"),10):a.height(),c=!isNaN(parseInt(a.attr("width"),10))?parseInt(a.attr("width"),10):a.width(),b=b/c;a.attr("id")||(c="fitvid"+Math.floor(999999*Math.random()),a.attr("id",c));a.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*b+"%");a.removeAttr("height").removeAttr("width")}})})}})(jQuery);
|
1 |
+
!function(a){"use strict";a.fn.fitVids=function(b){var c={customSelector:null};if(!document.getElementById("fit-vids-style")){var d=document.createElement("div"),e=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0],f="­<style>.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>";d.className="fit-vids-style",d.id="fit-vids-style",d.style.display="none",d.innerHTML=f,e.parentNode.insertBefore(d,e)}return b&&a.extend(c,b),this.each(function(){var b=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];c.customSelector&&b.push(c.customSelector);var d=a(this).find(b.join(","));d=d.not("object object"),d.each(function(){var b=a(this);if(!("embed"===this.tagName.toLowerCase()&&b.parent("object").length||b.parent(".fluid-width-video-wrapper").length)){var c="object"===this.tagName.toLowerCase()||b.attr("height")&&!isNaN(parseInt(b.attr("height"),10))?parseInt(b.attr("height"),10):b.height(),d=isNaN(parseInt(b.attr("width"),10))?b.width():parseInt(b.attr("width"),10),e=c/d;if(!b.attr("id")){var f="fitvid"+Math.floor(999999*Math.random());b.attr("id",f)}b.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),b.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),jQuery(document).ready(function(a){a(".featured_video_plus").fitVids({customSelector:"iframe[src*='dailymotion.com']"})});
|
|
|
|
js/settings.js
CHANGED
@@ -7,22 +7,6 @@ jQuery(document).ready(function($){
|
|
7 |
input.removeAttr('readonly').removeClass('fvp_readonly');
|
8 |
});
|
9 |
|
10 |
-
$('#fvp-settings-local-enabled').bind('click change', function() {
|
11 |
-
var box = $('#fvp-settings-local-box');
|
12 |
-
if ($(this).attr('checked'))
|
13 |
-
box.slideDown();
|
14 |
-
else
|
15 |
-
box.slideUp();
|
16 |
-
});
|
17 |
-
|
18 |
-
$('#fvp-settings-local-controls').bind('click change', function() {
|
19 |
-
var box = $('#fvp-settings-local-box2');
|
20 |
-
if ($(this).attr('checked'))
|
21 |
-
box.slideDown();
|
22 |
-
else
|
23 |
-
box.slideUp();
|
24 |
-
});
|
25 |
-
|
26 |
$('#fvp-settings-youtube-color').click(function() {
|
27 |
if($('#fvp-settings-youtube-color:checked').length == 1)
|
28 |
$('#youtube_logoinput_wrapper').fadeOut('slow', function() { $(this).addClass( 'fvp_hidden'); } );
|
7 |
input.removeAttr('readonly').removeClass('fvp_readonly');
|
8 |
});
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
$('#fvp-settings-youtube-color').click(function() {
|
11 |
if($('#fvp-settings-youtube-color:checked').length == 1)
|
12 |
$('#youtube_logoinput_wrapper').fadeOut('slow', function() { $(this).addClass( 'fvp_hidden'); } );
|
js/video-js.swf
DELETED
Binary file
|
js/videojs.min.js
DELETED
@@ -1,124 +0,0 @@
|
|
1 |
-
/*! Copyright 2013 Brightcove, Inc. https://github.com/videojs/video.js/blob/master/LICENSE */
|
2 |
-
(function() {var b=void 0,f=!0,h=null,l=!1;function m(){return function(){}}function p(a){return function(){return this[a]}}function r(a){return function(){return a}}var t;document.createElement("video");document.createElement("audio");function u(a,c,d){if("string"===typeof a){0===a.indexOf("#")&&(a=a.slice(1));if(u.Na[a])return u.Na[a];a=u.s(a)}if(!a||!a.nodeName)throw new TypeError("The element or ID supplied is not valid. (videojs)");return a.player||new u.ga(a,c,d)}var v=u;window.xd=window.yd=u;u.Qb="GENERATED_CDN_VSN";
|
3 |
-
u.Pb="https:"==document.location.protocol?"https://":"http://";u.options={techOrder:["html5","flash"],html5:{},flash:{swf:u.Pb+"vjs.zencdn.net/c/video-js.swf"},width:300,height:150,defaultVolume:0,children:{mediaLoader:{},posterImage:{},textTrackDisplay:{},loadingSpinner:{},bigPlayButton:{},controlBar:{}}};u.Na={};"GENERATED_CDN_VSN"!=u.Qb&&(v.options.flash.swf=u.Pb+"vjs.zencdn.net/"+u.Qb+"/video-js.swf");u.ma=u.CoreObject=m();
|
4 |
-
u.ma.extend=function(a){var c,d;a=a||{};c=a.init||a.g||this.prototype.init||this.prototype.g||m();d=function(){c.apply(this,arguments)};d.prototype=u.i.create(this.prototype);d.prototype.constructor=d;d.extend=u.ma.extend;d.create=u.ma.create;for(var e in a)a.hasOwnProperty(e)&&(d.prototype[e]=a[e]);return d};u.ma.create=function(){var a=u.i.create(this.prototype);this.apply(a,arguments);return a};
|
5 |
-
u.d=function(a,c,d){var e=u.getData(a);e.z||(e.z={});e.z[c]||(e.z[c]=[]);d.u||(d.u=u.u++);e.z[c].push(d);e.S||(e.disabled=l,e.S=function(c){if(!e.disabled){c=u.hc(c);var d=e.z[c.type];if(d)for(var d=d.slice(0),k=0,q=d.length;k<q&&!c.mc();k++)d[k].call(a,c)}});1==e.z[c].length&&(document.addEventListener?a.addEventListener(c,e.S,l):document.attachEvent&&a.attachEvent("on"+c,e.S))};
|
6 |
-
u.t=function(a,c,d){if(u.lc(a)){var e=u.getData(a);if(e.z)if(c){var g=e.z[c];if(g){if(d){if(d.u)for(e=0;e<g.length;e++)g[e].u===d.u&&g.splice(e--,1)}else e.z[c]=[];u.ec(a,c)}}else for(g in e.z)c=g,e.z[c]=[],u.ec(a,c)}};u.ec=function(a,c){var d=u.getData(a);0===d.z[c].length&&(delete d.z[c],document.removeEventListener?a.removeEventListener(c,d.S,l):document.detachEvent&&a.detachEvent("on"+c,d.S));u.Ab(d.z)&&(delete d.z,delete d.S,delete d.disabled);u.Ab(d)&&u.sc(a)};
|
7 |
-
u.hc=function(a){function c(){return f}function d(){return l}if(!a||!a.Bb){var e=a||window.event;a={};for(var g in e)a[g]=e[g];a.target||(a.target=a.srcElement||document);a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;a.preventDefault=function(){e.preventDefault&&e.preventDefault();a.returnValue=l;a.zb=c};a.zb=d;a.stopPropagation=function(){e.stopPropagation&&e.stopPropagation();a.cancelBubble=f;a.Bb=c};a.Bb=d;a.stopImmediatePropagation=function(){e.stopImmediatePropagation&&e.stopImmediatePropagation();
|
8 |
-
a.mc=c;a.stopPropagation()};a.mc=d;if(a.clientX!=h){g=document.documentElement;var j=document.body;a.pageX=a.clientX+(g&&g.scrollLeft||j&&j.scrollLeft||0)-(g&&g.clientLeft||j&&j.clientLeft||0);a.pageY=a.clientY+(g&&g.scrollTop||j&&j.scrollTop||0)-(g&&g.clientTop||j&&j.clientTop||0)}a.which=a.charCode||a.keyCode;a.button!=h&&(a.button=a.button&1?0:a.button&4?1:a.button&2?2:0)}return a};
|
9 |
-
u.k=function(a,c){var d=u.lc(a)?u.getData(a):{},e=a.parentNode||a.ownerDocument;"string"===typeof c&&(c={type:c,target:a});c=u.hc(c);d.S&&d.S.call(a,c);if(e&&!c.Bb())u.k(e,c);else if(!e&&!c.zb()&&(d=u.getData(c.target),c.target[c.type])){d.disabled=f;if("function"===typeof c.target[c.type])c.target[c.type]();d.disabled=l}return!c.zb()};u.Q=function(a,c,d){u.d(a,c,function(){u.t(a,c,arguments.callee);d.apply(this,arguments)})};var w=Object.prototype.hasOwnProperty;
|
10 |
-
u.e=function(a,c){var d=document.createElement(a||"div"),e;for(e in c)w.call(c,e)&&(-1!==e.indexOf("aria-")||"role"==e?d.setAttribute(e,c[e]):d[e]=c[e]);return d};u.Y=function(a){return a.charAt(0).toUpperCase()+a.slice(1)};u.i={};u.i.create=Object.create||function(a){function c(){}c.prototype=a;return new c};u.i.sa=function(a,c,d){for(var e in a)w.call(a,e)&&c.call(d||this,e,a[e])};u.i.B=function(a,c){if(!c)return a;for(var d in c)w.call(c,d)&&(a[d]=c[d]);return a};
|
11 |
-
u.i.gc=function(a,c){var d,e,g;a=u.i.copy(a);for(d in c)w.call(c,d)&&(e=a[d],g=c[d],a[d]=u.i.nc(e)&&u.i.nc(g)?u.i.gc(e,g):c[d]);return a};u.i.copy=function(a){return u.i.B({},a)};u.i.nc=function(a){return!!a&&"object"===typeof a&&"[object Object]"===a.toString()&&a.constructor===Object};u.bind=function(a,c,d){function e(){return c.apply(a,arguments)}c.u||(c.u=u.u++);e.u=d?d+"_"+c.u:c.u;return e};u.qa={};u.u=1;u.expando="vdata"+(new Date).getTime();
|
12 |
-
u.getData=function(a){var c=a[u.expando];c||(c=a[u.expando]=u.u++,u.qa[c]={});return u.qa[c]};u.lc=function(a){a=a[u.expando];return!(!a||u.Ab(u.qa[a]))};u.sc=function(a){var c=a[u.expando];if(c){delete u.qa[c];try{delete a[u.expando]}catch(d){a.removeAttribute?a.removeAttribute(u.expando):a[u.expando]=h}}};u.Ab=function(a){for(var c in a)if(a[c]!==h)return l;return f};u.p=function(a,c){-1==(" "+a.className+" ").indexOf(" "+c+" ")&&(a.className=""===a.className?c:a.className+" "+c)};
|
13 |
-
u.w=function(a,c){if(-1!=a.className.indexOf(c)){for(var d=a.className.split(" "),e=d.length-1;0<=e;e--)d[e]===c&&d.splice(e,1);a.className=d.join(" ")}};u.ib=u.e("video");u.O=navigator.userAgent;u.Bc=!!u.O.match(/iPhone/i);u.Ac=!!u.O.match(/iPad/i);u.Cc=!!u.O.match(/iPod/i);u.Ub=u.Bc||u.Ac||u.Cc;var aa=u,x;var y=u.O.match(/OS (\d+)_/i);x=y&&y[1]?y[1]:b;aa.qd=x;u.ab=!!u.O.match(/Android.*AppleWebKit/i);var ba=u,z=u.O.match(/Android (\d+)\./i);ba.yc=z&&z[1]?z[1]:h;u.zc=function(){return!!u.O.match("Firefox")};
|
14 |
-
u.wb=function(a){var c={};if(a&&a.attributes&&0<a.attributes.length)for(var d=a.attributes,e,g,j=d.length-1;0<=j;j--){e=d[j].name;g=d[j].value;if("boolean"===typeof a[e]||-1!==",autoplay,controls,loop,muted,default,".indexOf(","+e+","))g=g!==h?f:l;c[e]=g}return c};u.td=function(a,c){var d="";document.defaultView&&document.defaultView.getComputedStyle?d=document.defaultView.getComputedStyle(a,"").getPropertyValue(c):a.currentStyle&&(d=a["client"+c.substr(0,1).toUpperCase()+c.substr(1)]+"px");return d};
|
15 |
-
u.yb=function(a,c){c.firstChild?c.insertBefore(a,c.firstChild):c.appendChild(a)};u.Nb={};u.s=function(a){0===a.indexOf("#")&&(a=a.slice(1));return document.getElementById(a)};u.Ha=function(a,c){c=c||a;var d=Math.floor(a%60),e=Math.floor(a/60%60),g=Math.floor(a/3600),j=Math.floor(c/60%60),k=Math.floor(c/3600),g=0<g||0<k?g+":":"";return g+(((g||10<=j)&&10>e?"0"+e:e)+":")+(10>d?"0"+d:d)};u.Gc=function(){document.body.focus();document.onselectstart=r(l)};u.ld=function(){document.onselectstart=r(f)};
|
16 |
-
u.trim=function(a){return a.toString().replace(/^\s+/,"").replace(/\s+$/,"")};u.round=function(a,c){c||(c=0);return Math.round(a*Math.pow(10,c))/Math.pow(10,c)};u.tb=function(a,c){return{length:1,start:function(){return a},end:function(){return c}}};
|
17 |
-
u.get=function(a,c,d){var e=0===a.indexOf("file:")||0===window.location.href.indexOf("file:")&&-1===a.indexOf("http");"undefined"===typeof XMLHttpRequest&&(window.XMLHttpRequest=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(a){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(c){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(d){}throw Error("This browser does not support XMLHttpRequest.");});var g=new XMLHttpRequest;try{g.open("GET",a)}catch(j){d(j)}g.onreadystatechange=
|
18 |
-
function(){4===g.readyState&&(200===g.status||e&&0===g.status?c(g.responseText):d&&d())};try{g.send()}catch(k){d&&d(k)}};u.dd=function(a){try{var c=window.localStorage||l;c&&(c.volume=a)}catch(d){22==d.code||1014==d.code?u.log("LocalStorage Full (VideoJS)",d):18==d.code?u.log("LocalStorage not allowed (VideoJS)",d):u.log("LocalStorage Error (VideoJS)",d)}};u.jc=function(a){a.match(/^https?:\/\//)||(a=u.e("div",{innerHTML:'<a href="'+a+'">x</a>'}).firstChild.href);return a};
|
19 |
-
u.log=function(){u.log.history=u.log.history||[];u.log.history.push(arguments);window.console&&window.console.log(Array.prototype.slice.call(arguments))};u.Oc=function(a){var c,d;a.getBoundingClientRect&&a.parentNode&&(c=a.getBoundingClientRect());if(!c)return{left:0,top:0};a=document.documentElement;d=document.body;return{left:c.left+(window.pageXOffset||d.scrollLeft)-(a.clientLeft||d.clientLeft||0),top:c.top+(window.pageYOffset||d.scrollTop)-(a.clientTop||d.clientTop||0)}};
|
20 |
-
u.c=u.ma.extend({g:function(a,c,d){this.a=a;this.f=u.i.copy(this.f);c=this.options(c);this.L=c.id||(c.el&&c.el.id?c.el.id:a.id()+"_component_"+u.u++);this.Tc=c.name||h;this.b=c.el||this.e();this.D=[];this.rb={};this.R={};if((a=this.f)&&a.children){var e=this;u.i.sa(a.children,function(a,c){c!==l&&!c.loadEvent&&(e[a]=e.X(a,c))})}this.M(d)}});t=u.c.prototype;
|
21 |
-
t.C=function(){if(this.D)for(var a=this.D.length-1;0<=a;a--)this.D[a].C&&this.D[a].C();this.R=this.rb=this.D=h;this.t();this.b.parentNode&&this.b.parentNode.removeChild(this.b);u.sc(this.b);this.b=h};t.pc=p("a");t.options=function(a){return a===b?this.f:this.f=u.i.gc(this.f,a)};t.e=function(a,c){return u.e(a,c)};t.s=p("b");t.id=p("L");t.name=p("Tc");t.children=p("D");
|
22 |
-
t.X=function(a,c){var d,e;"string"===typeof a?(e=a,c=c||{},d=c.componentClass||u.Y(e),c.name=e,d=new window.videojs[d](this.a||this,c)):d=a;this.D.push(d);"function"===typeof d.id&&(this.rb[d.id()]=d);(e=e||d.name&&d.name())&&(this.R[e]=d);"function"===typeof d.el&&d.el()&&(this.ra||this.b).appendChild(d.el());return d};
|
23 |
-
t.removeChild=function(a){"string"===typeof a&&(a=this.R[a]);if(a&&this.D){for(var c=l,d=this.D.length-1;0<=d;d--)if(this.D[d]===a){c=f;this.D.splice(d,1);break}c&&(this.rb[a.id]=h,this.R[a.name]=h,(c=a.s())&&c.parentNode===(this.ra||this.b)&&(this.ra||this.b).removeChild(a.s()))}};t.P=r("");t.d=function(a,c){u.d(this.b,a,u.bind(this,c));return this};t.t=function(a,c){u.t(this.b,a,c);return this};t.Q=function(a,c){u.Q(this.b,a,u.bind(this,c));return this};t.k=function(a,c){u.k(this.b,a,c);return this};
|
24 |
-
t.M=function(a){a&&(this.$?a.call(this):(this.Qa===b&&(this.Qa=[]),this.Qa.push(a)));return this};t.Ta=function(){this.$=f;var a=this.Qa;if(a&&0<a.length){for(var c=0,d=a.length;c<d;c++)a[c].call(this);this.Qa=[];this.k("ready")}};t.p=function(a){u.p(this.b,a);return this};t.w=function(a){u.w(this.b,a);return this};t.show=function(){this.b.style.display="block";return this};t.v=function(){this.b.style.display="none";return this};t.ja=function(){this.w("vjs-fade-out");this.p("vjs-fade-in");return this};
|
25 |
-
t.Ga=function(){this.w("vjs-fade-in");this.p("vjs-fade-out");return this};t.oc=function(){this.p("vjs-lock-showing");return this};t.Ua=function(){this.w("vjs-lock-showing");return this};t.disable=function(){this.v();this.show=m();this.ja=m()};t.width=function(a,c){return A(this,"width",a,c)};t.height=function(a,c){return A(this,"height",a,c)};t.Kc=function(a,c){return this.width(a,f).height(c)};
|
26 |
-
function A(a,c,d,e){if(d!==b)return a.b.style[c]=-1!==(""+d).indexOf("%")||-1!==(""+d).indexOf("px")?d:"auto"===d?"":d+"px",e||a.k("resize"),a;if(!a.b)return 0;d=a.b.style[c];e=d.indexOf("px");return-1!==e?parseInt(d.slice(0,e),10):parseInt(a.b["offset"+u.Y(c)],10)}
|
27 |
-
u.o=u.c.extend({g:function(a,c){u.c.call(this,a,c);var d=l;this.d("touchstart",function(){d=f});this.d("touchmove",function(){d=l});var e=this;this.d("touchend",function(a){d&&e.n(a);a.preventDefault();a.stopPropagation()});this.d("click",this.n);this.d("focus",this.La);this.d("blur",this.Ka)}});t=u.o.prototype;
|
28 |
-
t.e=function(a,c){c=u.i.B({className:this.P(),innerHTML:'<div class="vjs-control-content"><span class="vjs-control-text">'+(this.pa||"Need Text")+"</span></div>",ad:"button","aria-live":"polite",tabIndex:0},c);return u.c.prototype.e.call(this,a,c)};t.P=function(){return"vjs-control "+u.c.prototype.P.call(this)};t.n=m();t.La=function(){u.d(document,"keyup",u.bind(this,this.aa))};t.aa=function(a){if(32==a.which||13==a.which)a.preventDefault(),this.n()};
|
29 |
-
t.Ka=function(){u.t(document,"keyup",u.bind(this,this.aa))};u.J=u.c.extend({g:function(a,c){u.c.call(this,a,c);this.Fc=this.R[this.f.barName];this.handle=this.R[this.f.handleName];a.d(this.qc,u.bind(this,this.update));this.d("mousedown",this.Ma);this.d("touchstart",this.Ma);this.d("focus",this.La);this.d("blur",this.Ka);this.d("click",this.n);this.a.d("controlsvisible",u.bind(this,this.update));a.M(u.bind(this,this.update));this.K={}}});t=u.J.prototype;
|
30 |
-
t.e=function(a,c){c=c||{};c.className+=" vjs-slider";c=u.i.B({ad:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},c);return u.c.prototype.e.call(this,a,c)};t.Ma=function(a){a.preventDefault();u.Gc();this.K.move=u.bind(this,this.Gb);this.K.end=u.bind(this,this.Hb);u.d(document,"mousemove",this.K.move);u.d(document,"mouseup",this.K.end);u.d(document,"touchmove",this.K.move);u.d(document,"touchend",this.K.end);this.Gb(a)};
|
31 |
-
t.Hb=function(){u.ld();u.t(document,"mousemove",this.K.move,l);u.t(document,"mouseup",this.K.end,l);u.t(document,"touchmove",this.K.move,l);u.t(document,"touchend",this.K.end,l);this.update()};t.update=function(){if(this.b){var a,c=this.xb(),d=this.handle,e=this.Fc;isNaN(c)&&(c=0);a=c;if(d){a=this.b.offsetWidth;var g=d.s().offsetWidth;a=g?g/a:0;c*=1-a;a=c+a/2;d.s().style.left=u.round(100*c,2)+"%"}e.s().style.width=u.round(100*a,2)+"%"}};
|
32 |
-
function B(a,c){var d,e,g,j;d=a.b;e=u.Oc(d);j=g=d.offsetWidth;d=a.handle;if(a.f.md)return j=e.top,e=c.changedTouches?c.changedTouches[0].pageY:c.pageY,d&&(d=d.s().offsetHeight,j+=d/2,g-=d),Math.max(0,Math.min(1,(j-e+g)/g));g=e.left;e=c.changedTouches?c.changedTouches[0].pageX:c.pageX;d&&(d=d.s().offsetWidth,g+=d/2,j-=d);return Math.max(0,Math.min(1,(e-g)/j))}t.La=function(){u.d(document,"keyup",u.bind(this,this.aa))};
|
33 |
-
t.aa=function(a){37==a.which?(a.preventDefault(),this.vc()):39==a.which&&(a.preventDefault(),this.wc())};t.Ka=function(){u.t(document,"keyup",u.bind(this,this.aa))};t.n=function(a){a.stopImmediatePropagation();a.preventDefault()};u.ha=u.c.extend();u.ha.prototype.defaultValue=0;u.ha.prototype.e=function(a,c){c=c||{};c.className+=" vjs-slider-handle";c=u.i.B({innerHTML:'<span class="vjs-control-text">'+this.defaultValue+"</span>"},c);return u.c.prototype.e.call(this,"div",c)};u.na=u.c.extend();
|
34 |
-
function ca(a,c){a.X(c);c.d("click",u.bind(a,function(){this.Ua()}))}u.na.prototype.e=function(){var a=this.options().Ic||"ul";this.ra=u.e(a,{className:"vjs-menu-content"});a=u.c.prototype.e.call(this,"div",{append:this.ra,className:"vjs-menu"});a.appendChild(this.ra);u.d(a,"click",function(a){a.preventDefault();a.stopImmediatePropagation()});return a};u.I=u.o.extend({g:function(a,c){u.o.call(this,a,c);this.selected(c.selected)}});
|
35 |
-
u.I.prototype.e=function(a,c){return u.o.prototype.e.call(this,"li",u.i.B({className:"vjs-menu-item",innerHTML:this.f.label},c))};u.I.prototype.n=function(){this.selected(f)};u.I.prototype.selected=function(a){a?(this.p("vjs-selected"),this.b.setAttribute("aria-selected",f)):(this.w("vjs-selected"),this.b.setAttribute("aria-selected",l))};
|
36 |
-
u.ea=u.o.extend({g:function(a,c){u.o.call(this,a,c);this.ua=this.Fa();this.X(this.ua);this.G&&0===this.G.length&&this.v();this.d("keyup",this.aa);this.b.setAttribute("aria-haspopup",f);this.b.setAttribute("role","button")}});t=u.ea.prototype;t.oa=l;t.Fa=function(){var a=new u.na(this.a);this.options().title&&a.s().appendChild(u.e("li",{className:"vjs-menu-title",innerHTML:u.Y(this.A),jd:-1}));if(this.G=this.sb())for(var c=0;c<this.G.length;c++)ca(a,this.G[c]);return a};t.sb=m();
|
37 |
-
t.P=function(){return this.className+" vjs-menu-button "+u.o.prototype.P.call(this)};t.La=m();t.Ka=m();t.n=function(){this.Q("mouseout",u.bind(this,function(){this.ua.Ua();this.b.blur()}));this.oa?C(this):D(this)};t.aa=function(a){a.preventDefault();32==a.which||13==a.which?this.oa?C(this):D(this):27==a.which&&this.oa&&C(this)};function D(a){a.oa=f;a.ua.oc();a.b.setAttribute("aria-pressed",f);a.G&&0<a.G.length&&a.G[0].s().focus()}function C(a){a.oa=l;a.ua.Ua();a.b.setAttribute("aria-pressed",l)}
|
38 |
-
u.ga=u.c.extend({g:function(a,c,d){this.N=a;c=u.i.B(da(a),c);this.r={};this.rc=c.poster;this.Ea=c.controls;c.customControlsOnMobile!==f&&(u.Ub||u.ab)?(a.controls=c.controls,this.Ea=l):a.controls=l;u.c.call(this,this,c,d);this.Q("play",function(a){u.k(this.b,{type:"firstplay",target:this.b})||(a.preventDefault(),a.stopPropagation(),a.stopImmediatePropagation())});this.d("ended",this.Vc);this.d("play",this.Jb);this.d("firstplay",this.Wc);this.d("pause",this.Ib);this.d("progress",this.Yc);this.d("durationchange",
|
39 |
-
this.Uc);this.d("error",this.Fb);this.d("fullscreenchange",this.Xc);u.Na[this.L]=this;c.plugins&&u.i.sa(c.plugins,function(a,c){this[a](c)},this)}});t=u.ga.prototype;t.f=u.options;t.C=function(){u.Na[this.L]=h;this.N&&this.N.player&&(this.N.player=h);this.b&&this.b.player&&(this.b.player=h);clearInterval(this.Pa);this.va();this.h&&this.h.C();u.c.prototype.C.call(this)};
|
40 |
-
function da(a){var c={sources:[],tracks:[]};u.i.B(c,u.wb(a));if(a.hasChildNodes())for(var d,e=a.childNodes,g=0,j=e.length;g<j;g++)a=e[g],d=a.nodeName.toLowerCase(),"source"===d?c.sources.push(u.wb(a)):"track"===d&&c.tracks.push(u.wb(a));return c}
|
41 |
-
t.e=function(){var a=this.b=u.c.prototype.e.call(this,"div"),c=this.N;c.removeAttribute("width");c.removeAttribute("height");if(c.hasChildNodes())for(var d=c.childNodes.length,e=0,g=c.childNodes;e<d;e++)("source"==g[0].nodeName.toLowerCase()||"track"==g[0].nodeName.toLowerCase())&&c.removeChild(g[0]);c.id=c.id||"vjs_video_"+u.u++;a.id=c.id;a.className=c.className;c.id+="_html5_api";c.className="vjs-tech";c.player=a.player=this;this.p("vjs-paused");this.width(this.f.width,f);this.height(this.f.height,
|
42 |
-
f);c.parentNode&&c.parentNode.insertBefore(a,c);u.yb(c,a);return a};
|
43 |
-
function E(a,c,d){a.h?F(a):"Html5"!==c&&a.N&&(a.b.removeChild(a.N),a.N.pc=h,a.N=h);a.ba=c;a.$=l;var e=u.i.B({source:d,parentEl:a.b},a.f[c.toLowerCase()]);d&&(d.src==a.r.src&&0<a.r.currentTime&&(e.startTime=a.r.currentTime),a.r.src=d.src);a.h=new window.videojs[c](a,e);a.h.M(function(){this.a.Ta();if(!this.j.Lb){var a=this.a;a.Db=f;a.Pa=setInterval(u.bind(a,function(){this.r.nb<this.buffered().end(0)?this.k("progress"):1==G(this)&&(clearInterval(this.Pa),this.k("progress"))}),500);a.h.Q("progress",
|
44 |
-
function(){this.j.Lb=f;var a=this.a;a.Db=l;clearInterval(a.Pa)})}this.j.Ob||(a=this.a,a.Eb=f,a.d("play",a.xc),a.d("pause",a.va),a.h.Q("timeupdate",function(){this.j.Ob=f;H(this.a)}))})}function F(a){a.$=l;a.h.C();a.Db&&(a.Db=l,clearInterval(a.Pa));a.Eb&&H(a);a.h=l}function H(a){a.Eb=l;a.va();a.t("play",a.xc);a.t("pause",a.va)}t.xc=function(){this.fc&&this.va();this.fc=setInterval(u.bind(this,function(){this.k("timeupdate")}),250)};t.va=function(){clearInterval(this.fc)};
|
45 |
-
t.Vc=function(){this.f.loop&&(this.currentTime(0),this.play())};t.Jb=function(){u.w(this.b,"vjs-paused");u.p(this.b,"vjs-playing")};t.Wc=function(){this.f.starttime&&this.currentTime(this.f.starttime)};t.Ib=function(){u.w(this.b,"vjs-playing");u.p(this.b,"vjs-paused")};t.Yc=function(){1==G(this)&&this.k("loadedalldata")};t.Uc=function(){this.duration(I(this,"duration"))};t.Fb=function(a){u.log("Video Error",a)};t.Xc=function(){this.F?this.p("vjs-fullscreen"):this.w("vjs-fullscreen")};
|
46 |
-
function J(a,c,d){if(a.h&&a.h.$)a.h.M(function(){this[c](d)});else try{a.h[c](d)}catch(e){throw u.log(e),e;}}function I(a,c){if(a.h.$)try{return a.h[c]()}catch(d){throw a.h[c]===b?u.log("Video.js: "+c+" method not defined for "+a.ba+" playback technology.",d):"TypeError"==d.name?(u.log("Video.js: "+c+" unavailable on "+a.ba+" playback technology element.",d),a.h.$=l):u.log(d),d;}}t.play=function(){J(this,"play");return this};t.pause=function(){J(this,"pause");return this};
|
47 |
-
t.paused=function(){return I(this,"paused")===l?l:f};t.currentTime=function(a){return a!==b?(this.r.vd=a,J(this,"setCurrentTime",a),this.Eb&&this.k("timeupdate"),this):this.r.currentTime=I(this,"currentTime")||0};t.duration=function(a){return a!==b?(this.r.duration=parseFloat(a),this):this.r.duration};t.buffered=function(){var a=I(this,"buffered"),c=this.r.nb=this.r.nb||0;a&&(0<a.length&&a.end(0)!==c)&&(c=a.end(0),this.r.nb=c);return u.tb(0,c)};
|
48 |
-
function G(a){return a.duration()?a.buffered().end(0)/a.duration():0}t.volume=function(a){if(a!==b)return a=Math.max(0,Math.min(1,parseFloat(a))),this.r.volume=a,J(this,"setVolume",a),u.dd(a),this;a=parseFloat(I(this,"volume"));return isNaN(a)?1:a};t.muted=function(a){return a!==b?(J(this,"setMuted",a),this):I(this,"muted")||l};t.Sa=function(){return I(this,"supportsFullScreen")||l};
|
49 |
-
t.Ra=function(){var a=u.Nb.Ra;this.F=f;a?(u.d(document,a.Z,u.bind(this,function(){this.F=document[a.F];this.F===l&&u.t(document,a.Z,arguments.callee)})),this.h.j.Ia===l&&this.f.flash.iFrameMode!==f&&(this.pause(),F(this),u.d(document,a.Z,u.bind(this,function(){u.t(document,a.Z,arguments.callee);E(this,this.ba,{src:this.r.src})}))),this.b[a.tc](),this.k("fullscreenchange")):this.h.Sa()?J(this,"enterFullScreen"):(this.Qc=f,this.Lc=document.documentElement.style.overflow,u.d(document,"keydown",u.bind(this,
|
50 |
-
this.ic)),document.documentElement.style.overflow="hidden",u.p(document.body,"vjs-full-window"),this.k("enterFullWindow"),this.k("fullscreenchange"));return this};function K(a){var c=u.Nb.Ra;a.F=l;c?(a.h.j.Ia===l&&a.f.flash.iFrameMode!==f&&(a.pause(),F(a),u.d(document,c.Z,u.bind(a,function(){u.t(document,c.Z,arguments.callee);E(this,this.ba,{src:this.r.src})}))),document[c.pb](),a.k("fullscreenchange")):a.h.Sa()?J(a,"exitFullScreen"):(L(a),a.k("fullscreenchange"))}
|
51 |
-
t.ic=function(a){27===a.keyCode&&(this.F===f?K(this):L(this))};function L(a){a.Qc=l;u.t(document,"keydown",a.ic);document.documentElement.style.overflow=a.Lc;u.w(document.body,"vjs-full-window");a.k("exitFullWindow")}
|
52 |
-
t.src=function(a){if(a instanceof Array){var c;a:{c=a;for(var d=0,e=this.f.techOrder;d<e.length;d++){var g=u.Y(e[d]),j=window.videojs[g];if(j.isSupported())for(var k=0,q=c;k<q.length;k++){var n=q[k];if(j.canPlaySource(n)){c={source:n,h:g};break a}}}c=l}c?(a=c.source,c=c.h,c==this.ba?this.src(a):E(this,c,a)):this.b.appendChild(u.e("p",{innerHTML:'Sorry, no compatible source and playback technology were found for this video. Try using another browser like <a href="http://bit.ly/ccMUEC">Chrome</a> or download the latest <a href="http://adobe.ly/mwfN1">Adobe Flash Player</a>.'}))}else a instanceof
|
53 |
-
Object?window.videojs[this.ba].canPlaySource(a)?this.src(a.src):this.src([a]):(this.r.src=a,this.$?(J(this,"src",a),"auto"==this.f.preload&&this.load(),this.f.autoplay&&this.play()):this.M(function(){this.src(a)}));return this};t.load=function(){J(this,"load");return this};t.currentSrc=function(){return I(this,"currentSrc")||this.r.src||""};t.Oa=function(a){return a!==b?(J(this,"setPreload",a),this.f.preload=a,this):I(this,"preload")};
|
54 |
-
t.autoplay=function(a){return a!==b?(J(this,"setAutoplay",a),this.f.autoplay=a,this):I(this,"autoplay")};t.loop=function(a){return a!==b?(J(this,"setLoop",a),this.f.loop=a,this):I(this,"loop")};t.poster=function(a){a!==b&&(this.rc=a);return this.rc};t.controls=function(a){a!==b&&this.Ea!==a&&(this.Ea=!!a,this.k("controlschange"));return this.Ea};t.error=function(){return I(this,"error")};var M,N,O;O=document.createElement("div");N={};
|
55 |
-
O.rd!==b?(N.tc="requestFullscreen",N.pb="exitFullscreen",N.Z="fullscreenchange",N.F="fullScreen"):(document.mozCancelFullScreen?(M="moz",N.F=M+"FullScreen"):(M="webkit",N.F=M+"IsFullScreen"),O[M+"RequestFullScreen"]&&(N.tc=M+"RequestFullScreen",N.pb=M+"CancelFullScreen"),N.Z=M+"fullscreenchange");document[N.pb]&&(u.Nb.Ra=N);
|
56 |
-
u.da=u.c.extend({g:function(a,c){u.c.call(this,a,c);a.controls()||this.disable();a.Q("play",u.bind(this,function(){var a,c=u.bind(this,this.ja),g=u.bind(this,this.Ga);this.ja();"ontouchstart"in window||(this.a.d("mouseover",c),this.a.d("mouseout",g),this.a.d("pause",u.bind(this,this.oc)),this.a.d("play",u.bind(this,this.Ua)));a=l;this.a.d("touchstart",function(){a=f});this.a.d("touchmove",function(){a=l});this.a.d("touchend",u.bind(this,function(c){var e;a&&(e=this.s().className.search("fade-in"),
|
57 |
-
-1!==e?this.Ga():this.ja());a=l;this.a.paused()||c.preventDefault()}))}))}});u.da.prototype.f={wd:"play",children:{playToggle:{},currentTimeDisplay:{},timeDivider:{},durationDisplay:{},remainingTimeDisplay:{},progressControl:{},fullscreenToggle:{},volumeControl:{},muteToggle:{}}};u.da.prototype.e=function(){return u.e("div",{className:"vjs-control-bar"})};u.da.prototype.ja=function(){u.c.prototype.ja.call(this);this.a.k("controlsvisible")};
|
58 |
-
u.da.prototype.Ga=function(){u.c.prototype.Ga.call(this);this.a.k("controlshidden")};u.Xb=u.o.extend({g:function(a,c){u.o.call(this,a,c);a.d("play",u.bind(this,this.Jb));a.d("pause",u.bind(this,this.Ib))}});t=u.Xb.prototype;t.pa="Play";t.P=function(){return"vjs-play-control "+u.o.prototype.P.call(this)};t.n=function(){this.a.paused()?this.a.play():this.a.pause()};t.Jb=function(){u.w(this.b,"vjs-paused");u.p(this.b,"vjs-playing");this.b.children[0].children[0].innerHTML="Pause"};
|
59 |
-
t.Ib=function(){u.w(this.b,"vjs-playing");u.p(this.b,"vjs-paused");this.b.children[0].children[0].innerHTML="Play"};u.Ya=u.c.extend({g:function(a,c){u.c.call(this,a,c);a.d("timeupdate",u.bind(this,this.ya))}});
|
60 |
-
u.Ya.prototype.e=function(){var a=u.c.prototype.e.call(this,"div",{className:"vjs-current-time vjs-time-controls vjs-control"});this.content=u.e("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00',"aria-live":"off"});a.appendChild(u.e("div").appendChild(this.content));return a};
|
61 |
-
u.Ya.prototype.ya=function(){var a=this.a.Mb?this.a.r.currentTime:this.a.currentTime();this.content.innerHTML='<span class="vjs-control-text">Current Time </span>'+u.Ha(a,this.a.duration())};u.Za=u.c.extend({g:function(a,c){u.c.call(this,a,c);a.d("timeupdate",u.bind(this,this.ya))}});
|
62 |
-
u.Za.prototype.e=function(){var a=u.c.prototype.e.call(this,"div",{className:"vjs-duration vjs-time-controls vjs-control"});this.content=u.e("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">Duration Time </span>0:00',"aria-live":"off"});a.appendChild(u.e("div").appendChild(this.content));return a};u.Za.prototype.ya=function(){this.a.duration()&&(this.content.innerHTML='<span class="vjs-control-text">Duration Time </span>'+u.Ha(this.a.duration()))};
|
63 |
-
u.ac=u.c.extend({g:function(a,c){u.c.call(this,a,c)}});u.ac.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-time-divider",innerHTML:"<div><span>/</span></div>"})};u.gb=u.c.extend({g:function(a,c){u.c.call(this,a,c);a.d("timeupdate",u.bind(this,this.ya))}});
|
64 |
-
u.gb.prototype.e=function(){var a=u.c.prototype.e.call(this,"div",{className:"vjs-remaining-time vjs-time-controls vjs-control"});this.content=u.e("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">Remaining Time </span>-0:00',"aria-live":"off"});a.appendChild(u.e("div").appendChild(this.content));return a};
|
65 |
-
u.gb.prototype.ya=function(){this.a.duration()&&this.a.duration()&&(this.content.innerHTML='<span class="vjs-control-text">Remaining Time </span>-'+u.Ha(this.a.duration()-this.a.currentTime()))};u.Aa=u.o.extend({g:function(a,c){u.o.call(this,a,c)}});u.Aa.prototype.pa="Fullscreen";u.Aa.prototype.P=function(){return"vjs-fullscreen-control "+u.o.prototype.P.call(this)};
|
66 |
-
u.Aa.prototype.n=function(){this.a.F?(K(this.a),this.b.children[0].children[0].innerHTML="Fullscreen"):(this.a.Ra(),this.b.children[0].children[0].innerHTML="Non-Fullscreen")};u.fb=u.c.extend({g:function(a,c){u.c.call(this,a,c)}});u.fb.prototype.f={children:{seekBar:{}}};u.fb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-progress-control vjs-control"})};u.Yb=u.J.extend({g:function(a,c){u.J.call(this,a,c);a.d("timeupdate",u.bind(this,this.xa));a.M(u.bind(this,this.xa))}});
|
67 |
-
t=u.Yb.prototype;t.f={children:{loadProgressBar:{},playProgressBar:{},seekHandle:{}},barName:"playProgressBar",handleName:"seekHandle"};t.qc="timeupdate";t.e=function(){return u.J.prototype.e.call(this,"div",{className:"vjs-progress-holder","aria-label":"video progress bar"})};t.xa=function(){var a=this.a.Mb?this.a.r.currentTime:this.a.currentTime();this.b.setAttribute("aria-valuenow",u.round(100*this.xb(),2));this.b.setAttribute("aria-valuetext",u.Ha(a,this.a.duration()))};
|
68 |
-
t.xb=function(){return this.a.currentTime()/this.a.duration()};t.Ma=function(a){u.J.prototype.Ma.call(this,a);this.a.Mb=f;this.nd=!this.a.paused();this.a.pause()};t.Gb=function(a){a=B(this,a)*this.a.duration();a==this.a.duration()&&(a-=0.1);this.a.currentTime(a)};t.Hb=function(a){u.J.prototype.Hb.call(this,a);this.a.Mb=l;this.nd&&this.a.play()};t.wc=function(){this.a.currentTime(this.a.currentTime()+5)};t.vc=function(){this.a.currentTime(this.a.currentTime()-5)};
|
69 |
-
u.bb=u.c.extend({g:function(a,c){u.c.call(this,a,c);a.d("progress",u.bind(this,this.update))}});u.bb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text">Loaded: 0%</span>'})};u.bb.prototype.update=function(){this.b.style&&(this.b.style.width=u.round(100*G(this.a),2)+"%")};u.Wb=u.c.extend({g:function(a,c){u.c.call(this,a,c)}});
|
70 |
-
u.Wb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-play-progress",innerHTML:'<span class="vjs-control-text">Progress: 0%</span>'})};u.hb=u.ha.extend();u.hb.prototype.defaultValue="00:00";u.hb.prototype.e=function(){return u.ha.prototype.e.call(this,"div",{className:"vjs-seek-handle"})};u.kb=u.c.extend({g:function(a,c){u.c.call(this,a,c);a.h&&(a.h.j&&a.h.j.T===l)&&this.p("vjs-hidden");a.d("loadstart",u.bind(this,function(){a.h.j&&a.h.j.T===l?this.p("vjs-hidden"):this.w("vjs-hidden")}))}});
|
71 |
-
u.kb.prototype.f={children:{volumeBar:{}}};u.kb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-volume-control vjs-control"})};u.jb=u.J.extend({g:function(a,c){u.J.call(this,a,c);a.d("volumechange",u.bind(this,this.xa));a.M(u.bind(this,this.xa));setTimeout(u.bind(this,this.update),0)}});t=u.jb.prototype;t.xa=function(){this.b.setAttribute("aria-valuenow",u.round(100*this.a.volume(),2));this.b.setAttribute("aria-valuetext",u.round(100*this.a.volume(),2)+"%")};
|
72 |
-
t.f={children:{volumeLevel:{},volumeHandle:{}},barName:"volumeLevel",handleName:"volumeHandle"};t.qc="volumechange";t.e=function(){return u.J.prototype.e.call(this,"div",{className:"vjs-volume-bar","aria-label":"volume level"})};t.Gb=function(a){this.a.volume(B(this,a))};t.xb=function(){return this.a.muted()?0:this.a.volume()};t.wc=function(){this.a.volume(this.a.volume()+0.1)};t.vc=function(){this.a.volume(this.a.volume()-0.1)};u.bc=u.c.extend({g:function(a,c){u.c.call(this,a,c)}});
|
73 |
-
u.bc.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})};u.lb=u.ha.extend();u.lb.prototype.defaultValue="00:00";u.lb.prototype.e=function(){return u.ha.prototype.e.call(this,"div",{className:"vjs-volume-handle"})};
|
74 |
-
u.fa=u.o.extend({g:function(a,c){u.o.call(this,a,c);a.d("volumechange",u.bind(this,this.update));a.h&&(a.h.j&&a.h.j.T===l)&&this.p("vjs-hidden");a.d("loadstart",u.bind(this,function(){a.h.j&&a.h.j.T===l?this.p("vjs-hidden"):this.w("vjs-hidden")}))}});u.fa.prototype.e=function(){return u.o.prototype.e.call(this,"div",{className:"vjs-mute-control vjs-control",innerHTML:'<div><span class="vjs-control-text">Mute</span></div>'})};u.fa.prototype.n=function(){this.a.muted(this.a.muted()?l:f)};
|
75 |
-
u.fa.prototype.update=function(){var a=this.a.volume(),c=3;0===a||this.a.muted()?c=0:0.33>a?c=1:0.67>a&&(c=2);this.a.muted()?"Unmute"!=this.b.children[0].children[0].innerHTML&&(this.b.children[0].children[0].innerHTML="Unmute"):"Mute"!=this.b.children[0].children[0].innerHTML&&(this.b.children[0].children[0].innerHTML="Mute");for(a=0;4>a;a++)u.w(this.b,"vjs-vol-"+a);u.p(this.b,"vjs-vol-"+c)};
|
76 |
-
u.Ca=u.ea.extend({g:function(a,c){u.ea.call(this,a,c);a.d("volumechange",u.bind(this,this.update));a.h&&(a.h.j&&a.h.j.T===l)&&this.p("vjs-hidden");a.d("loadstart",u.bind(this,function(){a.h.j&&a.h.j.T===l?this.p("vjs-hidden"):this.w("vjs-hidden")}));this.p("vjs-menu-button")}});u.Ca.prototype.Fa=function(){var a=new u.na(this.a,{Ic:"div"}),c=new u.jb(this.a,u.i.B({md:f},this.f.zd));a.X(c);return a};u.Ca.prototype.n=function(){u.fa.prototype.n.call(this);u.ea.prototype.n.call(this)};
|
77 |
-
u.Ca.prototype.e=function(){return u.o.prototype.e.call(this,"div",{className:"vjs-volume-menu-button vjs-menu-button vjs-control",innerHTML:'<div><span class="vjs-control-text">Mute</span></div>'})};u.Ca.prototype.update=u.fa.prototype.update;u.eb=u.o.extend({g:function(a,c){u.o.call(this,a,c);(!a.poster()||!a.controls())&&this.v();a.d("play",u.bind(this,this.v))}});
|
78 |
-
u.eb.prototype.e=function(){var a=u.e("div",{className:"vjs-poster",tabIndex:-1}),c=this.a.poster();c&&("backgroundSize"in a.style?a.style.backgroundImage='url("'+c+'")':a.appendChild(u.e("img",{src:c})));return a};u.eb.prototype.n=function(){this.a.play()};
|
79 |
-
u.Vb=u.c.extend({g:function(a,c){u.c.call(this,a,c);a.d("canplay",u.bind(this,this.v));a.d("canplaythrough",u.bind(this,this.v));a.d("playing",u.bind(this,this.v));a.d("seeked",u.bind(this,this.v));a.d("seeking",u.bind(this,this.show));a.d("seeked",u.bind(this,this.v));a.d("error",u.bind(this,this.show));a.d("waiting",u.bind(this,this.show))}});u.Vb.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-loading-spinner"})};
|
80 |
-
u.Wa=u.o.extend({g:function(a,c){u.o.call(this,a,c);a.controls()||this.v();a.d("play",u.bind(this,this.v))}});u.Wa.prototype.e=function(){return u.o.prototype.e.call(this,"div",{className:"vjs-big-play-button",innerHTML:"<span></span>","aria-label":"play video"})};u.Wa.prototype.n=function(){this.a.play()};u.q=u.c.extend({g:function(a,c,d){u.c.call(this,a,c,d)}});u.q.prototype.n=u.ab?m():function(){this.a.controls()&&(this.a.paused()?this.a.play():this.a.pause())};u.q.prototype.j={T:f,Ia:l,Lb:l,Ob:l};
|
81 |
-
u.media={};u.media.Va="play pause paused currentTime setCurrentTime duration buffered volume setVolume muted setMuted width height supportsFullScreen enterFullScreen src load currentSrc preload setPreload autoplay setAutoplay loop setLoop error networkState readyState seeking initialTime startOffsetTime played seekable ended videoTracks audioTracks videoWidth videoHeight textTracks defaultPlaybackRate playbackRate mediaGroup controller controls defaultMuted".split(" ");
|
82 |
-
function ea(){var a=u.media.Va[i];return function(){throw Error('The "'+a+"\" method is not available on the playback technology's API");}}for(var i=u.media.Va.length-1;0<=i;i--)u.q.prototype[u.media.Va[i]]=ea();
|
83 |
-
u.m=u.q.extend({g:function(a,c,d){this.j.T=u.m.Hc();this.j.Sc=!u.Ub;this.j.Ia=f;u.q.call(this,a,c,d);(c=c.source)&&this.b.currentSrc==c.src?a.k("loadstart"):c&&(this.b.src=c.src);a.M(function(){this.f.autoplay&&this.paused()&&(this.N.poster=h,this.play())});this.d("click",this.n);for(a=u.m.$a.length-1;0<=a;a--)u.d(this.b,u.m.$a[a],u.bind(this.a,this.Nc));this.Ta()}});t=u.m.prototype;t.C=function(){u.q.prototype.C.call(this)};
|
84 |
-
t.e=function(){var a=this.a,c=a.N;if(!c||this.j.Sc===l)c?(a.s().removeChild(c),c=c.cloneNode(l)):c=u.e("video",{id:a.id()+"_html5_api",className:"vjs-tech"}),c.player=a,u.yb(c,a.s());for(var d=["autoplay","preload","loop","muted"],e=d.length-1;0<=e;e--){var g=d[e];a.f[g]!==h&&(c[g]=a.f[g])}return c};t.Nc=function(a){this.k(a);a.stopPropagation()};t.play=function(){this.b.play()};t.pause=function(){this.b.pause()};t.paused=function(){return this.b.paused};t.currentTime=function(){return this.b.currentTime};
|
85 |
-
t.cd=function(a){try{this.b.currentTime=a}catch(c){u.log(c,"Video is not ready. (Video.js)")}};t.duration=function(){return this.b.duration||0};t.buffered=function(){return this.b.buffered};t.volume=function(){return this.b.volume};t.hd=function(a){this.b.volume=a};t.muted=function(){return this.b.muted};t.fd=function(a){this.b.muted=a};t.width=function(){return this.b.offsetWidth};t.height=function(){return this.b.offsetHeight};
|
86 |
-
t.Sa=function(){return"function"==typeof this.b.webkitEnterFullScreen&&(/Android/.test(u.O)||!/Chrome|Mac OS X 10.5/.test(u.O))?f:l};t.src=function(a){this.b.src=a};t.load=function(){this.b.load()};t.currentSrc=function(){return this.b.currentSrc};t.Oa=function(){return this.b.Oa};t.gd=function(a){this.b.Oa=a};t.autoplay=function(){return this.b.autoplay};t.bd=function(a){this.b.autoplay=a};t.loop=function(){return this.b.loop};t.ed=function(a){this.b.loop=a};t.error=function(){return this.b.error};
|
87 |
-
u.m.isSupported=function(){return!!document.createElement("video").canPlayType};u.m.ob=function(a){return!!document.createElement("video").canPlayType(a.type)};u.m.Hc=function(){var a=u.ib.volume;u.ib.volume=a/2+0.1;return a!==u.ib.volume};u.m.$a="loadstart suspend abort error emptied stalled loadedmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate progress play pause ratechange volumechange".split(" ");
|
88 |
-
u.ab&&3>u.yc&&(document.createElement("video").constructor.prototype.canPlayType=function(a){return a&&-1!=a.toLowerCase().indexOf("video/mp4")?"maybe":""});
|
89 |
-
u.l=u.q.extend({g:function(a,c,d){u.q.call(this,a,c,d);d=c.source;var e=c.parentEl,g=this.b=u.e("div",{id:a.id()+"_temp_flash"}),j=a.id()+"_flash_api";a=a.f;var k=u.i.B({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:a.autoplay,preload:a.Oa,loop:a.loop,muted:a.muted},c.flashVars),q=u.i.B({wmode:"opaque",bgcolor:"#000000"},c.params),n=u.i.B({id:j,name:j,"class":"vjs-tech"},c.attributes);d&&(k.src=encodeURIComponent(u.jc(d.src)));
|
90 |
-
u.yb(g,e);c.startTime&&this.M(function(){this.load();this.play();this.currentTime(c.startTime)});if(c.iFrameMode===f&&!u.zc){var s=u.e("iframe",{id:j+"_iframe",name:j+"_iframe",className:"vjs-tech",scrolling:"no",marginWidth:0,marginHeight:0,frameBorder:0});k.readyFunction="ready";k.eventProxyFunction="events";k.errorEventProxyFunction="errors";u.d(s,"load",u.bind(this,function(){var a,d=s.contentWindow;a=s.contentDocument?s.contentDocument:s.contentWindow.document;a.write(u.l.kc(c.swf,k,q,n));d.player=
|
91 |
-
this.a;d.ready=u.bind(this.a,function(c){c=a.getElementById(c);var d=this.h;d.b=c;u.d(c,"click",d.bind(d.n));u.l.qb(d)});d.events=u.bind(this.a,function(a,c){this&&"flash"===this.ba&&this.k(c)});d.errors=u.bind(this.a,function(a,c){u.log("Flash Error",c)})}));g.parentNode.replaceChild(s,g)}else u.l.Mc(c.swf,g,k,q,n)}});t=u.l.prototype;t.C=function(){u.q.prototype.C.call(this)};t.play=function(){this.b.vjs_play()};t.pause=function(){this.b.vjs_pause()};
|
92 |
-
t.src=function(a){a=u.jc(a);this.b.vjs_src(a);if(this.a.autoplay()){var c=this;setTimeout(function(){c.play()},0)}};t.load=function(){this.b.vjs_load()};t.poster=function(){this.b.vjs_getProperty("poster")};t.buffered=function(){return u.tb(0,this.b.vjs_getProperty("buffered"))};t.Sa=r(l);var P=u.l.prototype,Q="preload currentTime defaultPlaybackRate playbackRate autoplay loop mediaGroup controller controls volume muted defaultMuted".split(" "),R="error currentSrc networkState readyState seeking initialTime duration startOffsetTime paused played seekable ended videoTracks audioTracks videoWidth videoHeight textTracks".split(" ");
|
93 |
-
function fa(){var a=Q[S],c=a.charAt(0).toUpperCase()+a.slice(1);P["set"+c]=function(c){return this.b.vjs_setProperty(a,c)}}function T(a){P[a]=function(){return this.b.vjs_getProperty(a)}}var S;for(S=0;S<Q.length;S++)T(Q[S]),fa();for(S=0;S<R.length;S++)T(R[S]);u.l.isSupported=function(){return 10<=u.l.version()[0]};u.l.ob=function(a){if(a.type in u.l.Pc)return"maybe"};u.l.Pc={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"};
|
94 |
-
u.l.onReady=function(a){a=u.s(a);var c=a.player||a.parentNode.player,d=c.h;a.player=c;d.b=a;d.d("click",d.n);u.l.qb(d)};u.l.qb=function(a){a.s().vjs_getProperty?a.Ta():setTimeout(function(){u.l.qb(a)},50)};u.l.onEvent=function(a,c){u.s(a).player.k(c)};u.l.onError=function(a,c){u.s(a).player.k("error");u.log("Flash Error",c,a)};
|
95 |
-
u.l.version=function(){var a="0,0,0";try{a=(new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(c){try{navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(a=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(d){}}return a.split(",")};
|
96 |
-
u.l.Mc=function(a,c,d,e,g){a=u.l.kc(a,d,e,g);a=u.e("div",{innerHTML:a}).childNodes[0];d=c.parentNode;c.parentNode.replaceChild(a,c);var j=d.childNodes[0];setTimeout(function(){j.style.display="block"},1E3)};
|
97 |
-
u.l.kc=function(a,c,d,e){var g="",j="",k="";c&&u.i.sa(c,function(a,c){g+=a+"="+c+"&"});d=u.i.B({movie:a,flashvars:g,allowScriptAccess:"always",allowNetworking:"all"},d);u.i.sa(d,function(a,c){j+='<param name="'+a+'" value="'+c+'" />'});e=u.i.B({data:a,width:"100%",height:"100%"},e);u.i.sa(e,function(a,c){k+=a+'="'+c+'" '});return'<object type="application/x-shockwave-flash"'+k+">"+j+"</object>"};
|
98 |
-
u.Dc=u.c.extend({g:function(a,c,d){u.c.call(this,a,c,d);if(!a.f.sources||0===a.f.sources.length){c=0;for(d=a.f.techOrder;c<d.length;c++){var e=u.Y(d[c]),g=window.videojs[e];if(g&&g.isSupported()){E(a,e);break}}}else a.src(a.f.sources)}});function U(a){a.wa=a.wa||[];return a.wa}function V(a,c,d){for(var e=a.wa,g=0,j=e.length,k,q;g<j;g++)k=e[g],k.id()===c?(k.show(),q=k):d&&(k.H()==d&&0<k.mode())&&k.disable();(c=q?q.H():d?d:l)&&a.k(c+"trackchange")}
|
99 |
-
u.U=u.c.extend({g:function(a,c){u.c.call(this,a,c);this.L=c.id||"vjs_"+c.kind+"_"+c.language+"_"+u.u++;this.uc=c.src;this.Jc=c["default"]||c.dflt;this.kd=c.title;this.ud=c.srclang;this.Rc=c.label;this.ia=[];this.cc=[];this.ka=this.la=0;this.a.d("fullscreenchange",u.bind(this,this.Ec))}});t=u.U.prototype;t.H=p("A");t.src=p("uc");t.ub=p("Jc");t.title=p("kd");t.label=p("Rc");t.readyState=p("la");t.mode=p("ka");t.Ec=function(){this.b.style.fontSize=this.a.F?140*(screen.width/this.a.width())+"%":""};
|
100 |
-
t.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-"+this.A+" vjs-text-track"})};t.show=function(){W(this);this.ka=2;u.c.prototype.show.call(this)};t.v=function(){W(this);this.ka=1;u.c.prototype.v.call(this)};t.disable=function(){2==this.ka&&this.v();this.a.t("timeupdate",u.bind(this,this.update,this.L));this.a.t("ended",u.bind(this,this.reset,this.L));this.reset();this.a.R.textTrackDisplay.removeChild(this);this.ka=0};
|
101 |
-
function W(a){0===a.la&&a.load();0===a.ka&&(a.a.d("timeupdate",u.bind(a,a.update,a.L)),a.a.d("ended",u.bind(a,a.reset,a.L)),("captions"===a.A||"subtitles"===a.A)&&a.a.R.textTrackDisplay.X(a))}t.load=function(){0===this.la&&(this.la=1,u.get(this.uc,u.bind(this,this.Zc),u.bind(this,this.Fb)))};t.Fb=function(a){this.error=a;this.la=3;this.k("error")};
|
102 |
-
t.Zc=function(a){var c,d;a=a.split("\n");for(var e="",g=1,j=a.length;g<j;g++)if(e=u.trim(a[g])){-1==e.indexOf("--\x3e")?(c=e,e=u.trim(a[++g])):c=this.ia.length;c={id:c,index:this.ia.length};d=e.split(" --\x3e ");c.startTime=X(d[0]);c.ta=X(d[1]);for(d=[];a[++g]&&(e=u.trim(a[g]));)d.push(e);c.text=d.join("<br/>");this.ia.push(c)}this.la=2;this.k("loaded")};
|
103 |
-
function X(a){var c=a.split(":");a=0;var d,e,g;3==c.length?(d=c[0],e=c[1],c=c[2]):(d=0,e=c[0],c=c[1]);c=c.split(/\s+/);c=c.splice(0,1)[0];c=c.split(/\.|,/);g=parseFloat(c[1]);c=c[0];a+=3600*parseFloat(d);a+=60*parseFloat(e);a+=parseFloat(c);g&&(a+=g/1E3);return a}
|
104 |
-
t.update=function(){if(0<this.ia.length){var a=this.a.currentTime();if(this.Kb===b||a<this.Kb||this.Ja<=a){var c=this.ia,d=this.a.duration(),e=0,g=l,j=[],k,q,n,s;a>=this.Ja||this.Ja===b?s=this.vb!==b?this.vb:0:(g=f,s=this.Cb!==b?this.Cb:c.length-1);for(;;){n=c[s];if(n.ta<=a)e=Math.max(e,n.ta),n.Da&&(n.Da=l);else if(a<n.startTime){if(d=Math.min(d,n.startTime),n.Da&&(n.Da=l),!g)break}else g?(j.splice(0,0,n),q===b&&(q=s),k=s):(j.push(n),k===b&&(k=s),q=s),d=Math.min(d,n.ta),e=Math.max(e,n.startTime),
|
105 |
-
n.Da=f;if(g)if(0===s)break;else s--;else if(s===c.length-1)break;else s++}this.cc=j;this.Ja=d;this.Kb=e;this.vb=k;this.Cb=q;a=this.cc;c="";d=0;for(e=a.length;d<e;d++)c+='<span class="vjs-tt-cue">'+a[d].text+"</span>";this.b.innerHTML=c;this.k("cuechange")}}};t.reset=function(){this.Ja=0;this.Kb=this.a.duration();this.Cb=this.vb=0};u.Rb=u.U.extend();u.Rb.prototype.A="captions";u.Zb=u.U.extend();u.Zb.prototype.A="subtitles";u.Tb=u.U.extend();u.Tb.prototype.A="chapters";
|
106 |
-
u.$b=u.c.extend({g:function(a,c,d){u.c.call(this,a,c,d);if(a.f.tracks&&0<a.f.tracks.length){c=this.a;a=a.f.tracks;var e;for(d=0;d<a.length;d++){e=a[d];var g=c,j=e.kind,k=e.label,q=e.language,n=e;e=g.wa=g.wa||[];n=n||{};n.kind=j;n.label=k;n.language=q;j=u.Y(j||"subtitles");g=new window.videojs[j+"Track"](g,n);e.push(g)}}}});u.$b.prototype.e=function(){return u.c.prototype.e.call(this,"div",{className:"vjs-text-track-display"})};
|
107 |
-
u.W=u.I.extend({g:function(a,c){var d=this.ca=c.track;c.label=d.label();c.selected=d.ub();u.I.call(this,a,c);this.a.d(d.H()+"trackchange",u.bind(this,this.update))}});u.W.prototype.n=function(){u.I.prototype.n.call(this);V(this.a,this.ca.L,this.ca.H())};u.W.prototype.update=function(){2==this.ca.mode()?this.selected(f):this.selected(l)};u.cb=u.W.extend({g:function(a,c){c.track={H:function(){return c.kind},pc:a,label:function(){return c.kind+" off"},ub:r(l),mode:r(l)};u.W.call(this,a,c);this.selected(f)}});
|
108 |
-
u.cb.prototype.n=function(){u.W.prototype.n.call(this);V(this.a,this.ca.L,this.ca.H())};u.cb.prototype.update=function(){for(var a=U(this.a),c=0,d=a.length,e,g=f;c<d;c++)e=a[c],e.H()==this.ca.H()&&2==e.mode()&&(g=l);g?this.selected(f):this.selected(l)};u.V=u.ea.extend({g:function(a,c){u.ea.call(this,a,c);1>=this.G.length&&this.v()}});
|
109 |
-
u.V.prototype.sb=function(){var a=[],c;a.push(new u.cb(this.a,{kind:this.A}));for(var d=0;d<U(this.a).length;d++)c=U(this.a)[d],c.H()===this.A&&a.push(new u.W(this.a,{track:c}));return a};u.za=u.V.extend({g:function(a,c,d){u.V.call(this,a,c,d);this.b.setAttribute("aria-label","Captions Menu")}});u.za.prototype.A="captions";u.za.prototype.pa="Captions";u.za.prototype.className="vjs-captions-button";u.Ba=u.V.extend({g:function(a,c,d){u.V.call(this,a,c,d);this.b.setAttribute("aria-label","Subtitles Menu")}});
|
110 |
-
u.Ba.prototype.A="subtitles";u.Ba.prototype.pa="Subtitles";u.Ba.prototype.className="vjs-subtitles-button";u.Sb=u.V.extend({g:function(a,c,d){u.V.call(this,a,c,d);this.b.setAttribute("aria-label","Chapters Menu")}});t=u.Sb.prototype;t.A="chapters";t.pa="Chapters";t.className="vjs-chapters-button";t.sb=function(){for(var a=[],c,d=0;d<U(this.a).length;d++)c=U(this.a)[d],c.H()===this.A&&a.push(new u.W(this.a,{track:c}));return a};
|
111 |
-
t.Fa=function(){for(var a=U(this.a),c=0,d=a.length,e,g,j=this.G=[];c<d;c++)if(e=a[c],e.H()==this.A&&e.ub()){if(2>e.readyState()){this.sd=e;e.d("loaded",u.bind(this,this.Fa));return}g=e;break}a=this.ua=new u.na(this.a);a.b.appendChild(u.e("li",{className:"vjs-menu-title",innerHTML:u.Y(this.A),jd:-1}));if(g){e=g.ia;for(var k,c=0,d=e.length;c<d;c++)k=e[c],k=new u.Xa(this.a,{track:g,cue:k}),j.push(k),a.X(k)}0<this.G.length&&this.show();return a};
|
112 |
-
u.Xa=u.I.extend({g:function(a,c){var d=this.ca=c.track,e=this.cue=c.cue,g=a.currentTime();c.label=e.text;c.selected=e.startTime<=g&&g<e.ta;u.I.call(this,a,c);d.d("cuechange",u.bind(this,this.update))}});u.Xa.prototype.n=function(){u.I.prototype.n.call(this);this.a.currentTime(this.cue.startTime);this.update(this.cue.startTime)};u.Xa.prototype.update=function(){var a=this.cue,c=this.a.currentTime();a.startTime<=c&&c<a.ta?this.selected(f):this.selected(l)};
|
113 |
-
u.i.B(u.da.prototype.f.children,{subtitlesButton:{},captionsButton:{},chaptersButton:{}});
|
114 |
-
if("undefined"!==typeof window.JSON&&"function"===window.JSON.parse)u.JSON=window.JSON;else{u.JSON={};var Y=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;u.JSON.parse=function(a,c){function d(a,e){var k,q,n=a[e];if(n&&"object"===typeof n)for(k in n)Object.prototype.hasOwnProperty.call(n,k)&&(q=d(n,k),q!==b?n[k]=q:delete n[k]);return c.call(a,e,n)}var e;a=String(a);Y.lastIndex=0;Y.test(a)&&(a=a.replace(Y,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));
|
115 |
-
if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),"function"===typeof c?d({"":e},""):e;throw new SyntaxError("JSON.parse(): invalid or malformed JSON data");}}
|
116 |
-
u.dc=function(){var a,c,d=document.getElementsByTagName("video");if(d&&0<d.length)for(var e=0,g=d.length;e<g;e++)if((c=d[e])&&c.getAttribute)c.player===b&&(a=c.getAttribute("data-setup"),a!==h&&(a=u.JSON.parse(a||"{}"),v(c,a)));else{u.mb();break}else u.od||u.mb()};u.mb=function(){setTimeout(u.dc,1)};u.Q(window,"load",function(){u.od=f});u.mb();u.$c=function(a,c){u.ga.prototype[a]=c};var Z=this;Z.pd=f;function $(a,c){var d=a.split("."),e=Z;!(d[0]in e)&&e.execScript&&e.execScript("var "+d[0]);for(var g;d.length&&(g=d.shift());)!d.length&&c!==b?e[g]=c:e=e[g]?e[g]:e[g]={}};$("videojs",u);$("_V_",u);$("videojs.options",u.options);$("videojs.cache",u.qa);$("videojs.Component",u.c);u.c.prototype.dispose=u.c.prototype.C;u.c.prototype.createEl=u.c.prototype.e;u.c.prototype.el=u.c.prototype.s;u.c.prototype.addChild=u.c.prototype.X;u.c.prototype.children=u.c.prototype.children;u.c.prototype.on=u.c.prototype.d;u.c.prototype.off=u.c.prototype.t;u.c.prototype.one=u.c.prototype.Q;u.c.prototype.trigger=u.c.prototype.k;u.c.prototype.triggerReady=u.c.prototype.Ta;
|
117 |
-
u.c.prototype.show=u.c.prototype.show;u.c.prototype.hide=u.c.prototype.v;u.c.prototype.width=u.c.prototype.width;u.c.prototype.height=u.c.prototype.height;u.c.prototype.dimensions=u.c.prototype.Kc;u.c.prototype.ready=u.c.prototype.M;$("videojs.Player",u.ga);u.ga.prototype.dispose=u.ga.prototype.C;$("videojs.MediaLoader",u.Dc);$("videojs.TextTrackDisplay",u.$b);$("videojs.ControlBar",u.da);$("videojs.Button",u.o);$("videojs.PlayToggle",u.Xb);$("videojs.FullscreenToggle",u.Aa);
|
118 |
-
$("videojs.BigPlayButton",u.Wa);$("videojs.LoadingSpinner",u.Vb);$("videojs.CurrentTimeDisplay",u.Ya);$("videojs.DurationDisplay",u.Za);$("videojs.TimeDivider",u.ac);$("videojs.RemainingTimeDisplay",u.gb);$("videojs.Slider",u.J);$("videojs.ProgressControl",u.fb);$("videojs.SeekBar",u.Yb);$("videojs.LoadProgressBar",u.bb);$("videojs.PlayProgressBar",u.Wb);$("videojs.SeekHandle",u.hb);$("videojs.VolumeControl",u.kb);$("videojs.VolumeBar",u.jb);$("videojs.VolumeLevel",u.bc);
|
119 |
-
$("videojs.VolumeHandle",u.lb);$("videojs.MuteToggle",u.fa);$("videojs.PosterImage",u.eb);$("videojs.Menu",u.na);$("videojs.MenuItem",u.I);$("videojs.SubtitlesButton",u.Ba);$("videojs.CaptionsButton",u.za);$("videojs.ChaptersButton",u.Sb);$("videojs.MediaTechController",u.q);u.q.prototype.features=u.q.prototype.j;u.q.prototype.j.volumeControl=u.q.prototype.j.T;u.q.prototype.j.fullscreenResize=u.q.prototype.j.Ia;u.q.prototype.j.progressEvents=u.q.prototype.j.Lb;u.q.prototype.j.timeupdateEvents=u.q.prototype.j.Ob;
|
120 |
-
$("videojs.Html5",u.m);u.m.Events=u.m.$a;u.m.isSupported=u.m.isSupported;u.m.canPlaySource=u.m.ob;u.m.prototype.setCurrentTime=u.m.prototype.cd;u.m.prototype.setVolume=u.m.prototype.hd;u.m.prototype.setMuted=u.m.prototype.fd;u.m.prototype.setPreload=u.m.prototype.gd;u.m.prototype.setAutoplay=u.m.prototype.bd;u.m.prototype.setLoop=u.m.prototype.ed;$("videojs.Flash",u.l);u.l.isSupported=u.l.isSupported;u.l.canPlaySource=u.l.ob;u.l.onReady=u.l.onReady;$("videojs.TextTrack",u.U);u.U.prototype.label=u.U.prototype.label;
|
121 |
-
$("videojs.CaptionsTrack",u.Rb);$("videojs.SubtitlesTrack",u.Zb);$("videojs.ChaptersTrack",u.Tb);$("videojs.autoSetup",u.dc);$("videojs.plugin",u.$c);$("videojs.createTimeRange",u.tb);})();//@ sourceMappingURL=video.js.map
|
122 |
-
|
123 |
-
|
124 |
-
videojs.options.flash.swf = videojsdata.swf;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lng/featured-video-plus-de_DE.mo
CHANGED
Binary file
|
lng/featured-video-plus-de_DE.po
CHANGED
@@ -1,668 +1,651 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: featured-video-plus 1.3 de_DE\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
-
"Last-Translator: Alexander Höreth <
|
7 |
-
"Language-Team: a.hoereth <a.hoereth@gmail.com>\n"
|
8 |
-
"Language: de_DE\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.
|
13 |
-
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
-
"X-Poedit-Basepath: ..\n"
|
15 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
-
"X-Poedit-SearchPath-0: php\n"
|
17 |
-
|
18 |
-
#: php/backend.php:
|
19 |
-
msgid "Video URL"
|
20 |
-
msgstr "Video URL"
|
21 |
-
|
22 |
-
#: php/backend.php:
|
23 |
-
msgid "Fallback: same video, different format"
|
24 |
-
msgstr "Fallback: gleiche Video, anderes Format"
|
25 |
-
|
26 |
-
#: php/backend.php:
|
27 |
-
#: php/backend.php:
|
28 |
-
msgid "Featured Video"
|
29 |
-
msgstr "Beitragsvideo"
|
30 |
-
|
31 |
-
#: php/backend.php:
|
32 |
-
msgid "Outdated WordPress Version"
|
33 |
-
msgstr "Veraltete WordPress Version"
|
34 |
-
|
35 |
-
#: php/backend.php:
|
36 |
-
#, php-format
|
37 |
-
msgid ""
|
38 |
-
"There is WordPress 3.5 out there! The plugin supports older versions way "
|
39 |
-
"back to 3.1 - but %s is defenitly to old!"
|
40 |
-
msgstr ""
|
41 |
-
"Es gibt schon WordPress 3.5! Das Plugin unterstützt alle Versionen ab 3.1 - "
|
42 |
-
"aber %s ist wirklich zu alt!"
|
43 |
-
|
44 |
-
#: php/backend.php:
|
45 |
-
msgid "Set Featured Video"
|
46 |
-
msgstr "Beitragsvideo festlegen"
|
47 |
-
|
48 |
-
#: php/backend.php:
|
49 |
-
msgid "Set featured video"
|
50 |
-
msgstr "Beitragsvideo festlegen"
|
51 |
-
|
52 |
-
#: php/backend.php:
|
53 |
-
msgid "
|
54 |
-
msgstr "
|
55 |
-
|
56 |
-
#: php/backend.php:
|
57 |
-
msgid "
|
58 |
-
msgstr "
|
59 |
-
|
60 |
-
#: php/backend.php:
|
61 |
-
msgid "
|
62 |
-
msgstr "
|
63 |
-
|
64 |
-
#: php/backend.php:
|
65 |
-
msgid "
|
66 |
-
msgstr "
|
67 |
-
|
68 |
-
#: php/backend.php:
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
"
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
msgid "
|
90 |
-
msgstr "
|
91 |
-
|
92 |
-
#: php/backend.php:
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
"
|
101 |
-
"
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
msgstr "
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
"
|
116 |
-
|
117 |
-
|
118 |
-
"
|
119 |
-
|
120 |
-
|
121 |
-
"
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
"%
|
128 |
-
|
129 |
-
|
130 |
-
"
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
msgid ""
|
135 |
-
"
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
"
|
144 |
-
"
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
"
|
149 |
-
"
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
"
|
160 |
-
msgstr ""
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
"
|
173 |
-
|
174 |
-
|
175 |
-
"
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
msgid ""
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
"
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
"
|
196 |
-
"
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
"
|
207 |
-
"
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
#: php/
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
#: php/settings.php:
|
238 |
-
msgid "
|
239 |
-
msgstr "
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
msgid "
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
#: php/settings.php:
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
"
|
265 |
-
|
266 |
-
"
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
msgid ""
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
#: php/settings.php:
|
278 |
-
msgid "
|
279 |
-
msgstr "
|
280 |
-
|
281 |
-
#: php/settings.php:
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
msgstr ""
|
295 |
-
"
|
296 |
-
"
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
msgid ""
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
#: php/settings.php:
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
"
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
msgstr ""
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
#: php/settings.php:
|
361 |
-
msgid "
|
362 |
-
msgstr "
|
363 |
-
|
364 |
-
#: php/settings.php:
|
365 |
-
msgid "
|
366 |
-
msgstr "
|
367 |
-
|
368 |
-
#: php/settings.php:
|
369 |
-
msgid "
|
370 |
-
msgstr "
|
371 |
-
|
372 |
-
#: php/settings.php:
|
373 |
-
msgid "
|
374 |
-
msgstr "
|
375 |
-
|
376 |
-
#: php/settings.php:
|
377 |
-
msgid "
|
378 |
-
msgstr "
|
379 |
-
|
380 |
-
#: php/settings.php:
|
381 |
-
msgid "
|
382 |
-
msgstr "
|
383 |
-
|
384 |
-
#: php/settings.php:
|
385 |
-
msgid ""
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
"
|
392 |
-
"
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
#: php/settings.php:
|
439 |
-
msgid "
|
440 |
-
msgstr "
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
msgid "
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
"
|
471 |
-
"
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
"
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
"
|
485 |
-
|
486 |
-
|
487 |
-
"
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
"
|
498 |
-
"
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
"
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
"
|
511 |
-
|
512 |
-
"
|
513 |
-
|
514 |
-
"für
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
"
|
530 |
-
|
531 |
-
|
532 |
-
"
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
"
|
545 |
-
|
546 |
-
"
|
547 |
-
"
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
"
|
555 |
-
"
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
"
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
"
|
565 |
-
"
|
566 |
-
"
|
567 |
-
|
568 |
-
|
569 |
-
"
|
570 |
-
"
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
"
|
576 |
-
|
577 |
-
|
578 |
-
msgstr ""
|
579 |
-
|
580 |
-
|
581 |
-
"
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
"
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
"
|
593 |
-
|
594 |
-
|
595 |
-
#~
|
596 |
-
|
597 |
-
#~
|
598 |
-
#~
|
599 |
-
#~ "
|
600 |
-
#~
|
601 |
-
|
602 |
-
#~ "
|
603 |
-
|
604 |
-
|
605 |
-
#~
|
606 |
-
#~ "
|
607 |
-
#~ "
|
608 |
-
#~ msgstr ""
|
609 |
-
#~ "
|
610 |
-
#~ "
|
611 |
-
|
612 |
-
#~ msgid ""
|
613 |
-
#~
|
614 |
-
|
615 |
-
#~
|
616 |
-
#~
|
617 |
-
#~ "
|
618 |
-
|
619 |
-
|
620 |
-
#~
|
621 |
-
|
622 |
-
|
623 |
-
#~ "
|
624 |
-
#~ "
|
625 |
-
|
626 |
-
#~
|
627 |
-
#~ "
|
628 |
-
|
629 |
-
#~
|
630 |
-
#~
|
631 |
-
|
632 |
-
#~ msgid "
|
633 |
-
#~
|
634 |
-
#~ "
|
635 |
-
#~ "
|
636 |
-
|
637 |
-
#~
|
638 |
-
#~
|
639 |
-
|
640 |
-
|
641 |
-
#~
|
642 |
-
|
643 |
-
#~
|
644 |
-
#~ "
|
645 |
-
#~ msgstr ""
|
646 |
-
#~ "
|
647 |
-
#~ "
|
648 |
-
|
649 |
-
|
650 |
-
#~ "
|
651 |
-
#~ "
|
652 |
-
#~ "interface."
|
653 |
-
#~ msgstr ""
|
654 |
-
#~ "Version %s integriert mehr Einstellungsmöglichkeiten, "
|
655 |
-
#~ "Internationalisierung, besseres Fehlerbehandlung und LiveLeak Videos "
|
656 |
-
#~ "(experimentell)."
|
657 |
-
|
658 |
-
#~ msgid ""
|
659 |
-
#~ "Featured Video Plus was <strong>upgraded</strong>. Version <strong>%s</"
|
660 |
-
#~ "strong> now supports <strong>local videos</strong> and many more "
|
661 |
-
#~ "customization settings."
|
662 |
-
#~ msgstr ""
|
663 |
-
#~ "Version %s integriert <strong>lokale Videos</strong>, LiveLeak Videos "
|
664 |
-
#~ "(experimentell), mehr Einstellungsmöglichkeiten, Internationalisierung "
|
665 |
-
#~ "und besseres Fehlerbehandlung."
|
666 |
-
|
667 |
-
#~ msgid "YouTube, Vimeo, Dailymotion; Local Media"
|
668 |
-
#~ msgstr "Video Formate"
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: featured-video-plus 1.3 de_DE\n"
|
4 |
+
"POT-Creation-Date: 2014-01-02 19:58+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-01-02 19:59+0100\n"
|
6 |
+
"Last-Translator: Alexander Höreth <hello@yrnxt.com>\n"
|
7 |
+
"Language-Team: a.hoereth <a.hoereth@gmail.com>\n"
|
8 |
+
"Language: de_DE\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.6.3\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
+
"X-Poedit-Basepath: ..\n"
|
15 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
+
"X-Poedit-SearchPath-0: php\n"
|
17 |
+
|
18 |
+
#: php/backend.php:31
|
19 |
+
msgid "Video URL"
|
20 |
+
msgstr "Video URL"
|
21 |
+
|
22 |
+
#: php/backend.php:32
|
23 |
+
msgid "Fallback: same video, different format"
|
24 |
+
msgstr "Fallback: gleiche Video, anderes Format"
|
25 |
+
|
26 |
+
#: php/backend.php:93 php/backend.php:683 php/backend.php:690
|
27 |
+
#: php/backend.php:707 php/backend.php:709
|
28 |
+
msgid "Featured Video"
|
29 |
+
msgstr "Beitragsvideo"
|
30 |
+
|
31 |
+
#: php/backend.php:124
|
32 |
+
msgid "Outdated WordPress Version"
|
33 |
+
msgstr "Veraltete WordPress Version"
|
34 |
+
|
35 |
+
#: php/backend.php:124
|
36 |
+
#, php-format
|
37 |
+
msgid ""
|
38 |
+
"There is WordPress 3.5 out there! The plugin supports older versions way "
|
39 |
+
"back to 3.1 - but %s is defenitly to old!"
|
40 |
+
msgstr ""
|
41 |
+
"Es gibt schon WordPress 3.5! Das Plugin unterstützt alle Versionen ab 3.1 - "
|
42 |
+
"aber %s ist wirklich zu alt!"
|
43 |
+
|
44 |
+
#: php/backend.php:136
|
45 |
+
msgid "Set Featured Video"
|
46 |
+
msgstr "Beitragsvideo festlegen"
|
47 |
+
|
48 |
+
#: php/backend.php:136
|
49 |
+
msgid "Set featured video"
|
50 |
+
msgstr "Beitragsvideo festlegen"
|
51 |
+
|
52 |
+
#: php/backend.php:146 php/backend.php:640
|
53 |
+
msgid "Supported Video Formats"
|
54 |
+
msgstr "Unterstützte Videoformate"
|
55 |
+
|
56 |
+
#: php/backend.php:146
|
57 |
+
msgid "or"
|
58 |
+
msgstr "oder"
|
59 |
+
|
60 |
+
#: php/backend.php:146
|
61 |
+
msgid "More information"
|
62 |
+
msgstr "Mehr Informationen"
|
63 |
+
|
64 |
+
#: php/backend.php:153
|
65 |
+
msgid "Hint"
|
66 |
+
msgstr "Hinweis"
|
67 |
+
|
68 |
+
#: php/backend.php:153
|
69 |
+
#, php-format
|
70 |
+
msgid "Take a look into the %sContextual Help%s."
|
71 |
+
msgstr "Wirf einen Blick in die %sHilfe%s."
|
72 |
+
|
73 |
+
#: php/backend.php:159 php/settings.php:390
|
74 |
+
msgid "Featured Image"
|
75 |
+
msgstr "Beitragsbild"
|
76 |
+
|
77 |
+
#: php/backend.php:159
|
78 |
+
msgid ""
|
79 |
+
"For automatically displaying the Featured Video a Featured Image is required."
|
80 |
+
msgstr ""
|
81 |
+
"Um das Artikelvideo automatisch im Theme anzeigen zu können, muss ein "
|
82 |
+
"Artikelbild festgelegt werden."
|
83 |
+
|
84 |
+
#: php/backend.php:164
|
85 |
+
msgid "Set as Featured Image"
|
86 |
+
msgstr "Als Beitragsbild festlegen"
|
87 |
+
|
88 |
+
#: php/backend.php:168
|
89 |
+
msgid "The current theme does not support Featured Images"
|
90 |
+
msgstr "Das aktuelle Theme nutzt keine Beitragsbilder."
|
91 |
+
|
92 |
+
#: php/backend.php:168
|
93 |
+
#, php-format
|
94 |
+
msgid ""
|
95 |
+
"To display Featured Videos you need to use the <code>Shortcode</code> or "
|
96 |
+
"<code>PHP functions</code>. To hide this notice deactivate "<em>Replace "
|
97 |
+
"Featured Images</em>" in the %sMedia Settings%s."
|
98 |
+
msgstr ""
|
99 |
+
"Damit Beitragsvideos in deinem Theme angezeigt werden, musst du den "
|
100 |
+
"<code>Shortcode</code> oder die <code>PHP-Funktionen</code> verwenden. Um "
|
101 |
+
"diese Warnung zu verstecken, deaktiviere "<em>Artikelbilder ersetzen</"
|
102 |
+
"em>" in deinen %sMedien Einstellungen%s."
|
103 |
+
|
104 |
+
#: php/backend.php:634
|
105 |
+
#, php-format
|
106 |
+
msgid ""
|
107 |
+
"To use local videos, copy the <code>Link To Media File</code> from your "
|
108 |
+
"%sMedia Library%s and paste it into the text field."
|
109 |
+
msgstr ""
|
110 |
+
"Um lokale Videos zu nutzen, kopiere den <code>Link zur Medien-Datei</code> "
|
111 |
+
"aus deiner %sMediathek%s und füge ihn in das Textfeld ein."
|
112 |
+
|
113 |
+
#: php/backend.php:635
|
114 |
+
msgid ""
|
115 |
+
"To use local videos as Featured Videos WordPress 3.6 or higher is required."
|
116 |
+
msgstr ""
|
117 |
+
"Um lokale Videos als Beitragsvideos zu nutzen wird WordPress 3.6 oder höher "
|
118 |
+
"benötigt."
|
119 |
+
|
120 |
+
#: php/backend.php:642
|
121 |
+
msgid "Converting your videos"
|
122 |
+
msgstr "Videos konvertieren"
|
123 |
+
|
124 |
+
#: php/backend.php:643
|
125 |
+
#, php-format
|
126 |
+
msgid ""
|
127 |
+
"Take a look at the %sMiro Video Converter%s. It is open source, lightweight "
|
128 |
+
"and compatible with Windows, Mac and Linux."
|
129 |
+
msgstr ""
|
130 |
+
"Schau dir den %sMiro Video Converter%s an. Er is Open Source, klein, einfach "
|
131 |
+
"zu verwenden und mit Windows, Mac und Linux kompatibel."
|
132 |
+
|
133 |
+
#: php/backend.php:644
|
134 |
+
msgid "Fixing upload errors"
|
135 |
+
msgstr "Videoupload Fehler beheben"
|
136 |
+
|
137 |
+
#: php/backend.php:646
|
138 |
+
#, php-format
|
139 |
+
msgid ""
|
140 |
+
"Read %sthis%s on how to increase the <strong>maximum file upload size</"
|
141 |
+
"strong>."
|
142 |
+
msgstr ""
|
143 |
+
"Lies %sdas hier%s, um zu erfahren, wie man das <strong>Dateigrößenlimit</"
|
144 |
+
"strong> erhöht."
|
145 |
+
|
146 |
+
#: php/backend.php:651
|
147 |
+
msgid ""
|
148 |
+
"These are some of the tested URL formats. Everything in bold is required, "
|
149 |
+
"everything in brackets is optional."
|
150 |
+
msgstr ""
|
151 |
+
"Das hier sind einige getestete URL Formate. Alles fettgedruckte ist "
|
152 |
+
"notwendig, alles in Klammern optional."
|
153 |
+
|
154 |
+
#: php/backend.php:683 php/backend.php:707
|
155 |
+
msgid "Local Media"
|
156 |
+
msgstr "Lokale Medien"
|
157 |
+
|
158 |
+
#: php/backend.php:690 php/backend.php:709
|
159 |
+
msgid "Valid URLs"
|
160 |
+
msgstr "Video URLs"
|
161 |
+
|
162 |
+
#: php/settings.php:21
|
163 |
+
msgid "Featured Videos"
|
164 |
+
msgstr "Beitragsvideos"
|
165 |
+
|
166 |
+
#: php/settings.php:23
|
167 |
+
msgid "Usage"
|
168 |
+
msgstr "Anwendung"
|
169 |
+
|
170 |
+
#: php/settings.php:24
|
171 |
+
msgid "Autoplay"
|
172 |
+
msgstr ""
|
173 |
+
|
174 |
+
#: php/settings.php:25
|
175 |
+
msgid "Video Sizing"
|
176 |
+
msgstr "Videogröße"
|
177 |
+
|
178 |
+
#: php/settings.php:26
|
179 |
+
msgid "Video Align"
|
180 |
+
msgstr "Video-Ausrichtung"
|
181 |
+
|
182 |
+
#: php/settings.php:27
|
183 |
+
msgid "Local Video Options"
|
184 |
+
msgstr "Lokale Videos"
|
185 |
+
|
186 |
+
#: php/settings.php:28
|
187 |
+
msgid "YouTube Options"
|
188 |
+
msgstr "YouTube Optionen"
|
189 |
+
|
190 |
+
#: php/settings.php:29
|
191 |
+
msgid "Vimeo Options"
|
192 |
+
msgstr "Vimeo Optionen"
|
193 |
+
|
194 |
+
#: php/settings.php:30
|
195 |
+
msgid "Dailymotion Options"
|
196 |
+
msgstr "Dailymotion Optionen"
|
197 |
+
|
198 |
+
#: php/settings.php:31
|
199 |
+
msgid "Support"
|
200 |
+
msgstr "Support"
|
201 |
+
|
202 |
+
#: php/settings.php:45
|
203 |
+
#, php-format
|
204 |
+
msgid ""
|
205 |
+
"To display your featured videos you can either make use of the automatic "
|
206 |
+
"replacement, use the %s or manually edit your theme's source files to make "
|
207 |
+
"use of the plugins PHP-functions."
|
208 |
+
msgstr ""
|
209 |
+
"Um die Artikelvideos anzuzeigen kannst du entweder das automatische Ersetzen "
|
210 |
+
"der Artikelbilder nutzen, auf den %s zurückgreifen oder manuel die PHP-"
|
211 |
+
"Funktionen in deine Theme Dateien integrieren."
|
212 |
+
|
213 |
+
#: php/settings.php:46
|
214 |
+
#, php-format
|
215 |
+
msgid ""
|
216 |
+
"For more information about Shortcode and PHP functions see the %sContextual "
|
217 |
+
"Help%s."
|
218 |
+
msgstr ""
|
219 |
+
"Für mehr Informationen über den Shortcode und die PHP-Funktionen schaue in "
|
220 |
+
"die %sHilfe%s."
|
221 |
+
|
222 |
+
#: php/settings.php:62
|
223 |
+
msgid "Replace featured image automatically if possible"
|
224 |
+
msgstr "Ersetze Artikelvideos wenn möglich"
|
225 |
+
|
226 |
+
#: php/settings.php:62 php/settings.php:90 php/settings.php:112
|
227 |
+
#: php/settings.php:122 php/settings.php:143
|
228 |
+
msgid "default"
|
229 |
+
msgstr "default"
|
230 |
+
|
231 |
+
#: php/settings.php:63
|
232 |
+
msgid "Open video overlay when featured image is clicked. Define width below!"
|
233 |
+
msgstr ""
|
234 |
+
"Öffne eine video lightbox wenn das Artikelbild angeklickt wird. Gib unten "
|
235 |
+
"eine Breite an!"
|
236 |
+
|
237 |
+
#: php/settings.php:64
|
238 |
+
msgid "Replace featured image with video on click and auto play if possible"
|
239 |
+
msgstr ""
|
240 |
+
"Ersetze das Artikelbild mit dem Video wenn es angeklickt wird und spiele es "
|
241 |
+
"wenn möglich sofort ab"
|
242 |
+
|
243 |
+
#: php/settings.php:65
|
244 |
+
msgid "None of the above: Manually use PHP-functions or shortcodes"
|
245 |
+
msgstr ""
|
246 |
+
"Nichts von den obenstehenden: Nutze die PHP-Funktionen oder den Shortcode"
|
247 |
+
|
248 |
+
#: php/settings.php:66
|
249 |
+
#, php-format
|
250 |
+
msgid ""
|
251 |
+
"The first three options require your theme to make use of WordPress' "
|
252 |
+
"%sfeatured image%s capabilities."
|
253 |
+
msgstr ""
|
254 |
+
"Die ersten drei Optionen setzen voraus, dass dein Theme die WordPress' "
|
255 |
+
"%sArtikelbild%s funktionen nutzt."
|
256 |
+
|
257 |
+
#: php/settings.php:70
|
258 |
+
msgid "The current theme does not support featured images"
|
259 |
+
msgstr "Das aktuelle Theme nutzt keine Beitragsbilder"
|
260 |
+
|
261 |
+
#: php/settings.php:70
|
262 |
+
msgid ""
|
263 |
+
"To display Featured Videos you need to use the <code>Shortcode</code> or "
|
264 |
+
"<code>PHP functions</code>."
|
265 |
+
msgstr ""
|
266 |
+
"Um Artikelvideos anzuzeigen musst du den <code>Shortcode</code> oder die "
|
267 |
+
"<code>PHP-Funktionen</code> nutzen."
|
268 |
+
|
269 |
+
#: php/settings.php:86
|
270 |
+
msgid "yes"
|
271 |
+
msgstr "ja"
|
272 |
+
|
273 |
+
#: php/settings.php:88
|
274 |
+
msgid "auto"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: php/settings.php:90
|
278 |
+
msgid "no"
|
279 |
+
msgstr "nein"
|
280 |
+
|
281 |
+
#: php/settings.php:109
|
282 |
+
msgid "Width"
|
283 |
+
msgstr "Breite"
|
284 |
+
|
285 |
+
#: php/settings.php:119
|
286 |
+
msgid "Height"
|
287 |
+
msgstr "Höhe"
|
288 |
+
|
289 |
+
#: php/settings.php:128
|
290 |
+
msgid ""
|
291 |
+
"When using <code>auto</code> the video will be adjusted to fit it's parent "
|
292 |
+
"element while sticking to it's ratio. Using a <code>fixed</code> height and "
|
293 |
+
"width might result in <em>not so pretty</em> black bars."
|
294 |
+
msgstr ""
|
295 |
+
"Wenn <code>auto</code> gesetzt ist, wird das jeweilige Video automatisch an "
|
296 |
+
"das Elternelement angepasst. Dabei wird versucht, die Seitenverhältnisse "
|
297 |
+
"beizubehalten. Feste Breite und/oder Höhe kann zu <em>nicht so schönen</em> "
|
298 |
+
"schwarzen Balken führen."
|
299 |
+
|
300 |
+
#: php/settings.php:142
|
301 |
+
msgid "left"
|
302 |
+
msgstr "links"
|
303 |
+
|
304 |
+
#: php/settings.php:143
|
305 |
+
msgid "center"
|
306 |
+
msgstr "zentriert"
|
307 |
+
|
308 |
+
#: php/settings.php:144
|
309 |
+
msgid "right"
|
310 |
+
msgstr "rechts"
|
311 |
+
|
312 |
+
#: php/settings.php:157
|
313 |
+
msgid "Use featured image as video thumbnail"
|
314 |
+
msgstr "Artikelbild als video thumbnail nutzen"
|
315 |
+
|
316 |
+
#: php/settings.php:158
|
317 |
+
msgid "Loop videos"
|
318 |
+
msgstr "Videoschleife"
|
319 |
+
|
320 |
+
#: php/settings.php:179
|
321 |
+
msgid "Light Theme"
|
322 |
+
msgstr "Helles Design"
|
323 |
+
|
324 |
+
#: php/settings.php:180
|
325 |
+
msgid "Fullscreen Button"
|
326 |
+
msgstr "Vollbildschalter"
|
327 |
+
|
328 |
+
#: php/settings.php:188
|
329 |
+
msgid "Info"
|
330 |
+
msgstr "Info"
|
331 |
+
|
332 |
+
#: php/settings.php:190
|
333 |
+
msgid "Related Videos"
|
334 |
+
msgstr "Verwandte Videos"
|
335 |
+
|
336 |
+
#: php/settings.php:191
|
337 |
+
msgid "Javascript API"
|
338 |
+
msgstr ""
|
339 |
+
|
340 |
+
#: php/settings.php:192
|
341 |
+
msgid "White Progressbar"
|
342 |
+
msgstr "Weißer Fortschrittsbalken"
|
343 |
+
|
344 |
+
#: php/settings.php:194 php/settings.php:247
|
345 |
+
msgid "Logo"
|
346 |
+
msgstr "Logo"
|
347 |
+
|
348 |
+
#: php/settings.php:216
|
349 |
+
msgid "Portrait"
|
350 |
+
msgstr "Portrait"
|
351 |
+
|
352 |
+
#: php/settings.php:217
|
353 |
+
msgid "Title"
|
354 |
+
msgstr "Titel"
|
355 |
+
|
356 |
+
#: php/settings.php:218
|
357 |
+
msgid "Byline"
|
358 |
+
msgstr "Author"
|
359 |
+
|
360 |
+
#: php/settings.php:221
|
361 |
+
msgid "Color"
|
362 |
+
msgstr "Farbe"
|
363 |
+
|
364 |
+
#: php/settings.php:225
|
365 |
+
msgid "Vimeo Plus Videos might ignore these settings."
|
366 |
+
msgstr "Vimeo Plus Videos können diese Einstellungen ignorieren."
|
367 |
+
|
368 |
+
#: php/settings.php:248
|
369 |
+
msgid "Videoinfo"
|
370 |
+
msgstr "Videoinfo"
|
371 |
+
|
372 |
+
#: php/settings.php:249
|
373 |
+
msgid "Syndication Key"
|
374 |
+
msgstr "Syndication Schlüssel"
|
375 |
+
|
376 |
+
#: php/settings.php:253
|
377 |
+
msgid "Foreground"
|
378 |
+
msgstr "Vordergrund"
|
379 |
+
|
380 |
+
#: php/settings.php:258
|
381 |
+
msgid "Highlight"
|
382 |
+
msgstr "Hervorhebung"
|
383 |
+
|
384 |
+
#: php/settings.php:263
|
385 |
+
msgid "Background"
|
386 |
+
msgstr "Hintergrund"
|
387 |
+
|
388 |
+
#: php/settings.php:280
|
389 |
+
#, php-format
|
390 |
+
msgid ""
|
391 |
+
"If you have found a bug or are missing a specific video service, please "
|
392 |
+
"%slet me know%s in the support forum. Elsewise, if you like the plugin: "
|
393 |
+
"Please %srate it!%s"
|
394 |
+
msgstr ""
|
395 |
+
"Wenn du einen Fehler gefunden hast oder einen bestimmten Video-Anbieter "
|
396 |
+
"vermisst, %ssag bescheid%s; Ansonsten, wenn dir das Plugin gefällt, bitte "
|
397 |
+
"%sbewerte es!%s"
|
398 |
+
|
399 |
+
#: php/settings.php:365
|
400 |
+
msgid "Displays the video in its default size."
|
401 |
+
msgstr "Stellt das Video in seiner Standardgröße dar."
|
402 |
+
|
403 |
+
#: php/settings.php:369
|
404 |
+
msgid ""
|
405 |
+
"Displays the video with an width of 300 pixel. Height will be fitted to the "
|
406 |
+
"aspect ratio."
|
407 |
+
msgstr ""
|
408 |
+
"Stellt das Video mit einer breite von 300 Pixeln dar. Die Höhe wird "
|
409 |
+
"automatisch angepasst, so dass das Seitenverhältniss erhalten bleibt."
|
410 |
+
|
411 |
+
#: php/settings.php:373
|
412 |
+
msgid "Displays the video with an fixed width and height."
|
413 |
+
msgstr "Stellt das Video mit fester Breite und Höhe dar."
|
414 |
+
|
415 |
+
#: php/settings.php:387
|
416 |
+
#, php-format
|
417 |
+
msgid ""
|
418 |
+
"All parameters are optional. If %s the current post's id will be used. %s is "
|
419 |
+
"either a string keyword (thumbnail, medium, large or full) or a 2-item array "
|
420 |
+
"representing width and height in pixels, e.g. array(32,32)."
|
421 |
+
msgstr ""
|
422 |
+
"Alle Parameter sind optional. Wenn %s gilt, wird die ID des aktuellen "
|
423 |
+
"Beitrags genutzt. %s ist entweder ein String (thumbnail, medium, large oder "
|
424 |
+
"full) oder ein Array mit zwei Stellen (Breite und Höhe); Zum Beispiel "
|
425 |
+
"array(32,32)."
|
426 |
+
|
427 |
+
#: php/settings.php:390
|
428 |
+
#, php-format
|
429 |
+
msgid ""
|
430 |
+
"The functions are implemented corresponding to the original %sfunctions%s: "
|
431 |
+
"They are intended to be used and to act the same way. Take a look into the "
|
432 |
+
"WordPress Codex for further guidance:"
|
433 |
+
msgstr ""
|
434 |
+
"Die Funktionen sind nach den original %sFunktionen%s implementiert. Sie "
|
435 |
+
"sollten genauso genutzt werden können und sich genauso verhalten. Schau dir "
|
436 |
+
"für mehr Informationen den WordPress Codex an:"
|
437 |
+
|
438 |
+
#: php/settings.php:413 php/settings.php:436
|
439 |
+
msgid "PHP-Functions"
|
440 |
+
msgstr "PHP-Funktionen"
|
441 |
+
|
442 |
+
#~ msgid "Set Featured Video Fallback"
|
443 |
+
#~ msgstr "Beitragsvideo-Ersatz festlegen"
|
444 |
+
|
445 |
+
#~ msgid "Set featured video fallback"
|
446 |
+
#~ msgstr "Beitragsvideo Fallback festlegen"
|
447 |
+
|
448 |
+
#~ msgid "Fallback Video"
|
449 |
+
#~ msgstr "Fallback Video"
|
450 |
+
|
451 |
+
#~ msgid ""
|
452 |
+
#~ "The two input fields should contain the same video but in distinct "
|
453 |
+
#~ "formats."
|
454 |
+
#~ msgstr ""
|
455 |
+
#~ "Die zwei Eingabefelder sollen das gleiche Video in unterschiedlichen "
|
456 |
+
#~ "Formaten enthalten."
|
457 |
+
|
458 |
+
#~ msgid ""
|
459 |
+
#~ "To use local videos, copy the <code>File URL</code> from your %sMedia "
|
460 |
+
#~ "Library%s and paste it into the text field."
|
461 |
+
#~ msgstr ""
|
462 |
+
#~ "Um lokale Videos zu nutzen, kopiere die <code>Datei-URL</code> aus deiner "
|
463 |
+
#~ "%sMediathek%s und füge sie in das Textfeld ein."
|
464 |
+
|
465 |
+
#~ msgid ""
|
466 |
+
#~ "The second text field is intended to hold the URL to the same video in a "
|
467 |
+
#~ "different format. It will be used as fallback if the primary file can not "
|
468 |
+
#~ "be played."
|
469 |
+
#~ msgstr ""
|
470 |
+
#~ "Das zweite Textfeld ist für eine URL zu dem gleichen Video in einem "
|
471 |
+
#~ "anderen Videoformat gedacht. Dieses zweite Video wird dann als Fallback "
|
472 |
+
#~ "benutzt, falls das erste Video nicht kompatibel ist."
|
473 |
+
|
474 |
+
#~ msgid ""
|
475 |
+
#~ "WordPress by default does not support <code>webM</code>. The plugin "
|
476 |
+
#~ "activates it, but under some conditions this might not be enough. %sHere"
|
477 |
+
#~ "%s you can get more information on this."
|
478 |
+
#~ msgstr ""
|
479 |
+
#~ "Normalerweise unterstützt WordPress kein <code>webM</code>. Das Plugin "
|
480 |
+
#~ "aktiviert die unterstützung, aber manchmal reicht das noch nicht. %sHier"
|
481 |
+
#~ "%s gibt es mehr Informationen."
|
482 |
+
|
483 |
+
#~ msgid "Flash Fallback"
|
484 |
+
#~ msgstr "Flash Fallback"
|
485 |
+
|
486 |
+
#~ msgid ""
|
487 |
+
#~ "The video player, %sVIDEOJS%s, features an Adobe Flash fallback. All you "
|
488 |
+
#~ "need to do is provide an <code>mp4</code>-video."
|
489 |
+
#~ msgstr ""
|
490 |
+
#~ "Der Video Player, %sVIDEOJS%s, bietet einen Adobe Flash Fallback. Du "
|
491 |
+
#~ "musst einfach nur ein <code>mp4</code>-Video einbinden."
|
492 |
+
|
493 |
+
#~ msgid ""
|
494 |
+
#~ "YouTube, Vimeo and Dailymotion videos can autoplay when a single post/"
|
495 |
+
#~ "page is being viewed."
|
496 |
+
#~ msgstr ""
|
497 |
+
#~ "Wenn gesetzt, starten YouTube, Vimeo und Dailymotion Videos automatisch "
|
498 |
+
#~ "wenn sie auf der Seite eines einzelnen Beitrags angezeigt werden."
|
499 |
+
|
500 |
+
#~ msgid "Use CDN"
|
501 |
+
#~ msgstr "Nutze CDN"
|
502 |
+
|
503 |
+
#~ msgid "Include JS"
|
504 |
+
#~ msgstr "JS einbinden"
|
505 |
+
|
506 |
+
#~ msgid "Include CSS"
|
507 |
+
#~ msgstr "CSS einbinden"
|
508 |
+
|
509 |
+
#~ msgid ""
|
510 |
+
#~ "Disabling JS and/or CSS will break the local video player. Disable only "
|
511 |
+
#~ "when you want to replace VideoJS with a different script and know what "
|
512 |
+
#~ "you are doing."
|
513 |
+
#~ msgstr ""
|
514 |
+
#~ "JS und/oder CSS einbindung ist für die richtige Darstellung von lokalen "
|
515 |
+
#~ "Videos notwendig. Nutze diese funktionen nur wenn du VideoJS durch ein "
|
516 |
+
#~ "anderes Skript austauschen willst und weißt was du tust."
|
517 |
+
|
518 |
+
#~ msgid "Featured Video Plus was <strong>upgraded</strong>."
|
519 |
+
#~ msgstr "Featured Video Plus wurde <strong>aktualisiert</strong>."
|
520 |
+
|
521 |
+
#~ msgid ""
|
522 |
+
#~ "%s brings new options for YouTube and local videos, fixes a whole bunch "
|
523 |
+
#~ "of glitches and introduces a new PHP-function."
|
524 |
+
#~ msgstr ""
|
525 |
+
#~ "%s bringt neue Einstellungsmöglichkeiten für YouTube und lokale Videos, "
|
526 |
+
#~ "behebt einige Fehler und baut eine neue PHP-Funktion ein."
|
527 |
+
|
528 |
+
#~ msgid "If you like the plugin, please %srate it%s."
|
529 |
+
#~ msgstr "Wenn dir das Plugin gefällt, bitte %sbewerte es%s."
|
530 |
+
|
531 |
+
#~ msgid ""
|
532 |
+
#~ "%s <strong>ajax</strong>ifies the Featured Video box, introduces new "
|
533 |
+
#~ "options for YouTube and local videos and a new PHP-function."
|
534 |
+
#~ msgstr ""
|
535 |
+
#~ "In %s wurde die Featured Video box überarbeitet und unterstützt nun AJAX. "
|
536 |
+
#~ "Außerdem gibt es neue Optionen in den Medieneinstellungen, besonders für "
|
537 |
+
#~ "YouTube und lokale Videos."
|
538 |
+
|
539 |
+
#~ msgid ""
|
540 |
+
#~ "%s features a seamless <strong>WP3.5 Media Manager</strong> integration, "
|
541 |
+
#~ "an all new <strong>ajax</strong>ified metabox, time-links (#t=4m2s) for "
|
542 |
+
#~ "YouTube and Dailymotion, new PHP functions for developers and more."
|
543 |
+
#~ msgstr ""
|
544 |
+
#~ "%s integriert den <strong>WP3.5 Media Manager</strong> nahtlos, "
|
545 |
+
#~ "unterstützt nun AJAX, bietet time-links für YouTube und "
|
546 |
+
#~ "Dailymotion(#t=4m2s), einige neue Einstellungen und neue PHP Funktionen "
|
547 |
+
#~ "für Entwickler."
|
548 |
+
|
549 |
+
#~ msgid ""
|
550 |
+
#~ "%s features a seamless WP3.5 Media Manager integration, an ajaxified "
|
551 |
+
#~ "metabox, time-links (#t=4m2s) for YouTube and Dailymotion, more "
|
552 |
+
#~ "customization settings and internationalization."
|
553 |
+
#~ msgstr ""
|
554 |
+
#~ "%s integriert den <strong>WP3.5 Media Manager</strong> nahtlos, bringt "
|
555 |
+
#~ "AJAX, bietet time-links für YouTube und Dailymotion(#t=4m2s), mehr "
|
556 |
+
#~ "Einstellungen und Internationalisierung."
|
557 |
+
|
558 |
+
#~ msgid ""
|
559 |
+
#~ "%s features support for <strong>Local Videos</strong>, a seamless WP3.5 "
|
560 |
+
#~ "Media Manager integration, an ajaxified metabox, time-links (#t=4m2s) for "
|
561 |
+
#~ "YouTube and Dailymotion and many more customization settings."
|
562 |
+
#~ msgstr ""
|
563 |
+
#~ "%s integriert unterstützung für <strong>lokale Videos</strong>, den neuen "
|
564 |
+
#~ "WP3.5 Media Manager, eine überarbeitete AJAX-Metabox, time-links "
|
565 |
+
#~ "(#t=4m2s) für YouTube und Dailymotion und viele neue "
|
566 |
+
#~ "Einstellungsmöglichkeiten."
|
567 |
+
|
568 |
+
#~ msgid ""
|
569 |
+
#~ "Featured Video Plus is <strong>ready to use</strong>. There is a new box "
|
570 |
+
#~ "on post & page edit screens for you to add videos. <strong>Take a look at "
|
571 |
+
#~ "your new %sMedia Settings%s</strong>."
|
572 |
+
#~ msgstr ""
|
573 |
+
#~ "Featured Video Plus wurde <strong>aktiviert</strong>. Beim bearbeiten "
|
574 |
+
#~ "deiner Einträge gibt es eine neue Box um Artikelvideos hinzuzufügen. "
|
575 |
+
#~ "Außerdem: <strong>Schau in deine %sMedien Einstellungen%s</strong>."
|
576 |
+
|
577 |
+
#~ msgid "Replace Featured Images"
|
578 |
+
#~ msgstr "Beitragsbilder ersetzen"
|
579 |
+
|
580 |
+
#~ msgid ""
|
581 |
+
#~ "If a Featured Video is available it can be displayed in place of the "
|
582 |
+
#~ "Featured Image. Still, a Featured Image is required."
|
583 |
+
#~ msgstr ""
|
584 |
+
#~ "Wenn ein Artikelvideo vorhanden ist kann es anstelle des Artikelbildes "
|
585 |
+
#~ "angezeigt werden. Dafür muss trotzdem ein Artikelbild gesetzt sein!"
|
586 |
+
|
587 |
+
#~ msgid ""
|
588 |
+
#~ "The plugin logs it's version, the WordPress version and WordPress "
|
589 |
+
#~ "language for internal statistics. Those help for future plugin "
|
590 |
+
#~ "development."
|
591 |
+
#~ msgstr ""
|
592 |
+
#~ "Das Plugin speichert seine Version, die WordPress Version und WordPress "
|
593 |
+
#~ "Spracheinstellung für eigene Statistiken."
|
594 |
+
|
595 |
+
#~ msgid ""
|
596 |
+
#~ "No personal user information is being collected. Still, you can easily "
|
597 |
+
#~ "Opt-Out and have the data deleted:"
|
598 |
+
#~ msgstr ""
|
599 |
+
#~ "Es werden keine persönlichen Nutzerinformationen gespeichert. Wenn du "
|
600 |
+
#~ "willst kannst du dich abmelden und deine Daten werden gelöscht:"
|
601 |
+
|
602 |
+
#~ msgid "VIDEOJS Player Options"
|
603 |
+
#~ msgstr "VIDEOJS Player Optionen"
|
604 |
+
|
605 |
+
#~ msgid ""
|
606 |
+
#~ "%s features more customization settings, internationalization, better "
|
607 |
+
#~ "error handling and experimental LiveLeak integration."
|
608 |
+
#~ msgstr ""
|
609 |
+
#~ "%s integriert mehr Einstellungsmöglichkeiten, Internationalisierung, "
|
610 |
+
#~ "bessere Fehlerbehandlung und experimentelle LiveLeak Integration."
|
611 |
+
|
612 |
+
#~ msgid "Align"
|
613 |
+
#~ msgstr "Ausrichtung"
|
614 |
+
|
615 |
+
#~ msgid "Found a bug or <strong>missing a specific video service</strong>?"
|
616 |
+
#~ msgstr ""
|
617 |
+
#~ "Hast du einen Fehler gefunden oder <strong>fehlt dir eine bestimmte Video "
|
618 |
+
#~ "Plattform</strong>?"
|
619 |
+
|
620 |
+
#~ msgid "Do you like the plugin?"
|
621 |
+
#~ msgstr "Gefällt dir das Plugin?"
|
622 |
+
|
623 |
+
#~ msgid "rate it"
|
624 |
+
#~ msgstr "bewerte es"
|
625 |
+
|
626 |
+
#~ msgid ""
|
627 |
+
#~ "All parameters are optional. If %s the current post's id will be used."
|
628 |
+
#~ msgstr ""
|
629 |
+
#~ "Alle Parameter sind optional. Wenn %s gilt, wird die ID vom aktuellen "
|
630 |
+
#~ "Eintrag verwendet."
|
631 |
+
|
632 |
+
#~ msgid ""
|
633 |
+
#~ "Featured Video Plus was <strong>upgraded</strong>. Version <strong>%s</"
|
634 |
+
#~ "strong> features more customization settings and a more dynamic admin "
|
635 |
+
#~ "interface."
|
636 |
+
#~ msgstr ""
|
637 |
+
#~ "Version %s integriert mehr Einstellungsmöglichkeiten, "
|
638 |
+
#~ "Internationalisierung, besseres Fehlerbehandlung und LiveLeak Videos "
|
639 |
+
#~ "(experimentell)."
|
640 |
+
|
641 |
+
#~ msgid ""
|
642 |
+
#~ "Featured Video Plus was <strong>upgraded</strong>. Version <strong>%s</"
|
643 |
+
#~ "strong> now supports <strong>local videos</strong> and many more "
|
644 |
+
#~ "customization settings."
|
645 |
+
#~ msgstr ""
|
646 |
+
#~ "Version %s integriert <strong>lokale Videos</strong>, LiveLeak Videos "
|
647 |
+
#~ "(experimentell), mehr Einstellungsmöglichkeiten, Internationalisierung "
|
648 |
+
#~ "und besseres Fehlerbehandlung."
|
649 |
+
|
650 |
+
#~ msgid "YouTube, Vimeo, Dailymotion; Local Media"
|
651 |
+
#~ msgstr "Video Formate"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lng/featured-video-plus-es_ES.mo
ADDED
Binary file
|
lng/featured-video-plus-es_ES.po
ADDED
@@ -0,0 +1,667 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: featured-video-plus 1.3 de_DE\n"
|
4 |
+
"POT-Creation-Date: 2013-04-30 00:01+0100\n"
|
5 |
+
"PO-Revision-Date: 2013-12-19 13:02+0100\n"
|
6 |
+
"Last-Translator: jelena kovacevic <jecajeca260@gmail.com>\n"
|
7 |
+
"Language-Team: a.hoereth <a.hoereth@gmail.com>\n"
|
8 |
+
"Language: de_DE\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.6.3\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
+
"X-Poedit-Basepath: ..\n"
|
15 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
+
"X-Poedit-SearchPath-0: php\n"
|
17 |
+
|
18 |
+
#: php/backend.php:32
|
19 |
+
msgid "Video URL"
|
20 |
+
msgstr "URL del vídeo"
|
21 |
+
|
22 |
+
#: php/backend.php:33
|
23 |
+
msgid "Fallback: same video, different format"
|
24 |
+
msgstr "Fallback: Mismo video, diferente formato"
|
25 |
+
|
26 |
+
#: php/backend.php:92 php/backend.php:707 php/backend.php:714
|
27 |
+
#: php/backend.php:731 php/backend.php:733
|
28 |
+
msgid "Featured Video"
|
29 |
+
msgstr "Video destacado"
|
30 |
+
|
31 |
+
#: php/backend.php:123
|
32 |
+
msgid "Outdated WordPress Version"
|
33 |
+
msgstr "Versión de WordPress fuera de fecha"
|
34 |
+
|
35 |
+
#: php/backend.php:123
|
36 |
+
#, php-format
|
37 |
+
msgid ""
|
38 |
+
"There is WordPress 3.5 out there! The plugin supports older versions way "
|
39 |
+
"back to 3.1 - but %s is defenitly to old!"
|
40 |
+
msgstr ""
|
41 |
+
"¡Ya está afuera el WordPress 3.5! El plugin soporta versiones anteriores "
|
42 |
+
"hasta el 3.1 - ¡pero %s es definitivamente muy viejo!"
|
43 |
+
|
44 |
+
#: php/backend.php:134
|
45 |
+
msgid "Set Featured Video"
|
46 |
+
msgstr "Asignar Video Destacado"
|
47 |
+
|
48 |
+
#: php/backend.php:134
|
49 |
+
msgid "Set featured video"
|
50 |
+
msgstr "Asignar video destacado"
|
51 |
+
|
52 |
+
#: php/backend.php:143
|
53 |
+
msgid "Set Featured Video Fallback"
|
54 |
+
msgstr "Asignar Fallback de Video Destacado "
|
55 |
+
|
56 |
+
#: php/backend.php:143
|
57 |
+
msgid "Set featured video fallback"
|
58 |
+
msgstr "Asignar fallback de video destacado "
|
59 |
+
|
60 |
+
#: php/backend.php:152 php/backend.php:659
|
61 |
+
msgid "Supported Video Formats"
|
62 |
+
msgstr "Formatos de Video Soportados"
|
63 |
+
|
64 |
+
#: php/backend.php:152
|
65 |
+
msgid "or"
|
66 |
+
msgstr "o"
|
67 |
+
|
68 |
+
#: php/backend.php:152 php/backend.php:658
|
69 |
+
msgid "More information"
|
70 |
+
msgstr "Más información"
|
71 |
+
|
72 |
+
#: php/backend.php:157
|
73 |
+
msgid "Fallback Video"
|
74 |
+
msgstr "Video de Fallback"
|
75 |
+
|
76 |
+
#: php/backend.php:157
|
77 |
+
msgid ""
|
78 |
+
"The two input fields should contain the same video but in distinct formats."
|
79 |
+
msgstr ""
|
80 |
+
"Los dos campos de entrada deben contener el mismo video pero en formatos "
|
81 |
+
"diferentes."
|
82 |
+
|
83 |
+
#: php/backend.php:164
|
84 |
+
msgid "Hint"
|
85 |
+
msgstr "Pista"
|
86 |
+
|
87 |
+
#: php/backend.php:164
|
88 |
+
#, php-format
|
89 |
+
msgid "Take a look into the %sContextual Help%s."
|
90 |
+
msgstr "Eche un vistazo a la %sAyuda Contextual%s."
|
91 |
+
|
92 |
+
#: php/backend.php:170 php/settings.php:401
|
93 |
+
msgid "Featured Image"
|
94 |
+
msgstr "Foto principal"
|
95 |
+
|
96 |
+
#: php/backend.php:170
|
97 |
+
msgid ""
|
98 |
+
"For automatically displaying the Featured Video a Featured Image is required."
|
99 |
+
msgstr ""
|
100 |
+
"Para mostrar de manera automática el Video Principal una Imagen Principal es "
|
101 |
+
"requerida."
|
102 |
+
|
103 |
+
#: php/backend.php:175
|
104 |
+
msgid "Set as Featured Image"
|
105 |
+
msgstr "Establecer como imagen Principal"
|
106 |
+
|
107 |
+
#: php/backend.php:179
|
108 |
+
msgid "The current theme does not support Featured Images"
|
109 |
+
msgstr "El tema actual no soporta Imágenes Destacadas"
|
110 |
+
|
111 |
+
#: php/backend.php:179
|
112 |
+
#, php-format
|
113 |
+
msgid ""
|
114 |
+
"To display Featured Videos you need to use the <code>Shortcode</code> or "
|
115 |
+
"<code>PHP functions</code>. To hide this notice deactivate "<em>Replace "
|
116 |
+
"Featured Images</em>" in the %sMedia Settings%s."
|
117 |
+
msgstr ""
|
118 |
+
"Para mostrar Videos Destacados usted necesita usar el <code>Código corto</"
|
119 |
+
"code> o las <code>funciones PHP</code>. Para ocultar este mensaje desactive "
|
120 |
+
""<em>Reemplazar Imágenes Destacadas</em>" en %sAjustes de Media%s."
|
121 |
+
|
122 |
+
#: php/backend.php:653
|
123 |
+
#, php-format
|
124 |
+
msgid ""
|
125 |
+
"To use local videos, copy the <code>Link To Media File</code> from your "
|
126 |
+
"%sMedia Library%s and paste it into the text field."
|
127 |
+
msgstr ""
|
128 |
+
"Para usar los videos locales, copie el <code>Link To Media File</code> desde "
|
129 |
+
"su %sMedia Library%s y péguelo en el campo de texto."
|
130 |
+
|
131 |
+
#: php/backend.php:654
|
132 |
+
#, php-format
|
133 |
+
msgid ""
|
134 |
+
"To use local videos, copy the <code>File URL</code> from your %sMedia Library"
|
135 |
+
"%s and paste it into the text field."
|
136 |
+
msgstr ""
|
137 |
+
"Para usar los videos locales, copie lal <code>File URL</code> de su %sMedia "
|
138 |
+
"Library%s y péguelo en el campo de texto."
|
139 |
+
|
140 |
+
#: php/backend.php:658
|
141 |
+
msgid ""
|
142 |
+
"The second text field is intended to hold the URL to the same video in a "
|
143 |
+
"different format. It will be used as fallback if the primary file can not be "
|
144 |
+
"played."
|
145 |
+
msgstr ""
|
146 |
+
"El segundo campo de texto está pensado para tener la URL para el mismo video "
|
147 |
+
"en un formato diferente. Será usado como fallback si el archivo primario no "
|
148 |
+
"puede ser reproducido."
|
149 |
+
|
150 |
+
#: php/backend.php:661
|
151 |
+
msgid "Converting your videos"
|
152 |
+
msgstr "Convirtiendo sus videos"
|
153 |
+
|
154 |
+
#: php/backend.php:662
|
155 |
+
#, php-format
|
156 |
+
msgid ""
|
157 |
+
"Take a look at the %sMiro Video Converter%s. It is open source, lightweight "
|
158 |
+
"and compatible with Windows, Mac and Linux."
|
159 |
+
msgstr ""
|
160 |
+
"Échele un vistazo al %sMiro Video Converter%s. Es de código abierto, de poco "
|
161 |
+
"tamaño y compatible con Windows, Mac y Linux."
|
162 |
+
|
163 |
+
#: php/backend.php:663
|
164 |
+
msgid "Fixing upload errors"
|
165 |
+
msgstr "Arreglando errores de subida"
|
166 |
+
|
167 |
+
#: php/backend.php:665
|
168 |
+
#, php-format
|
169 |
+
msgid ""
|
170 |
+
"Read %sthis%s on how to increase the <strong>maximum file upload size</"
|
171 |
+
"strong>."
|
172 |
+
msgstr ""
|
173 |
+
"Lea %sesto%s sobre la forma de aumentar <strong>el tamaño máximo de los "
|
174 |
+
"archivos subidos</strong>."
|
175 |
+
|
176 |
+
#: php/backend.php:666
|
177 |
+
#, php-format
|
178 |
+
msgid ""
|
179 |
+
"WordPress by default does not support <code>webM</code>. The plugin "
|
180 |
+
"activates it, but under some conditions this might not be enough. %sHere%s "
|
181 |
+
"you can get more information on this."
|
182 |
+
msgstr ""
|
183 |
+
"WordPress en los ajustes por defecto no soporta <code>webM</code>. El plugin "
|
184 |
+
"lo activa, pero en algunas condiciones puede no ser suficiente. %sAquí%s "
|
185 |
+
"usted puede ver más al respecto."
|
186 |
+
|
187 |
+
#: php/backend.php:668
|
188 |
+
msgid "Flash Fallback"
|
189 |
+
msgstr "Fallback del Flash "
|
190 |
+
|
191 |
+
#: php/backend.php:669
|
192 |
+
#, php-format
|
193 |
+
msgid ""
|
194 |
+
"The video player, %sVIDEOJS%s, features an Adobe Flash fallback. All you "
|
195 |
+
"need to do is provide an <code>mp4</code>-video."
|
196 |
+
msgstr ""
|
197 |
+
"El reproductor de video, %sVIDEOJS%s, tiene un fallback de Adobe Flash. Todo "
|
198 |
+
"lo que usted necesita es proveer un video <code>mp4</code>."
|
199 |
+
|
200 |
+
#: php/backend.php:673
|
201 |
+
msgid ""
|
202 |
+
"These are some of the tested URL formats. Everything in bold is required, "
|
203 |
+
"everything in brackets is optional."
|
204 |
+
msgstr ""
|
205 |
+
"Hay algunos de los formatos de URL probados. Todo lo que está en negrita es "
|
206 |
+
"obligatorio, todo lo que está en corchete es opcional."
|
207 |
+
|
208 |
+
#: php/backend.php:707 php/backend.php:731
|
209 |
+
msgid "Local Media"
|
210 |
+
msgstr "Media local"
|
211 |
+
|
212 |
+
#: php/backend.php:714 php/backend.php:733
|
213 |
+
msgid "Valid URLs"
|
214 |
+
msgstr "URLs válidos"
|
215 |
+
|
216 |
+
#: php/settings.php:21
|
217 |
+
msgid "Featured Videos"
|
218 |
+
msgstr "Videos Principales"
|
219 |
+
|
220 |
+
#: php/settings.php:23
|
221 |
+
msgid "Usage"
|
222 |
+
msgstr "Uso"
|
223 |
+
|
224 |
+
#: php/settings.php:24
|
225 |
+
msgid "Autoplay"
|
226 |
+
msgstr "Autoplay"
|
227 |
+
|
228 |
+
#: php/settings.php:25
|
229 |
+
msgid "Video Sizing"
|
230 |
+
msgstr "Tamaño del video"
|
231 |
+
|
232 |
+
#: php/settings.php:26
|
233 |
+
msgid "Video Align"
|
234 |
+
msgstr "Alineación de Video"
|
235 |
+
|
236 |
+
#: php/settings.php:27
|
237 |
+
msgid "Local Video Options"
|
238 |
+
msgstr "Opciones de video local"
|
239 |
+
|
240 |
+
#: php/settings.php:28
|
241 |
+
msgid "YouTube Options"
|
242 |
+
msgstr "Opciones de YouTube"
|
243 |
+
|
244 |
+
#: php/settings.php:29
|
245 |
+
msgid "Vimeo Options"
|
246 |
+
msgstr "Opciones de Video"
|
247 |
+
|
248 |
+
#: php/settings.php:30
|
249 |
+
msgid "Dailymotion Options"
|
250 |
+
msgstr "Opciones de movimiento diario"
|
251 |
+
|
252 |
+
#: php/settings.php:31
|
253 |
+
msgid "Support"
|
254 |
+
msgstr "Soporte"
|
255 |
+
|
256 |
+
#: php/settings.php:45
|
257 |
+
#, php-format
|
258 |
+
msgid ""
|
259 |
+
"To display your featured videos you can either make use of the automatic "
|
260 |
+
"replacement, use the %s or manually edit your theme's source files to make "
|
261 |
+
"use of the plugins PHP-functions."
|
262 |
+
msgstr ""
|
263 |
+
"Para visualizar tus videos destacados puede hacer uso de la sustitución "
|
264 |
+
"automática, utilice el %s o edite manualmente los archivos de origen de su "
|
265 |
+
"tema para hacer uso de los plugins de funciones de PHP."
|
266 |
+
|
267 |
+
#: php/settings.php:46
|
268 |
+
#, php-format
|
269 |
+
msgid ""
|
270 |
+
"For more information about Shortcode and PHP functions see the %sContextual "
|
271 |
+
"Help%s."
|
272 |
+
msgstr ""
|
273 |
+
"Para más información acerca del código corto y de las funciones de PHP vea "
|
274 |
+
"la %s Ayuda Contextual%s."
|
275 |
+
|
276 |
+
#: php/settings.php:62
|
277 |
+
msgid "Replace featured image automatically if possible"
|
278 |
+
msgstr "Reemplazar la imagen principal automáticamente si es posible"
|
279 |
+
|
280 |
+
#: php/settings.php:62 php/settings.php:89 php/settings.php:112
|
281 |
+
#: php/settings.php:122 php/settings.php:143
|
282 |
+
msgid "default"
|
283 |
+
msgstr "por defecto"
|
284 |
+
|
285 |
+
#: php/settings.php:63
|
286 |
+
msgid "Open video overlay when featured image is clicked. Define width below!"
|
287 |
+
msgstr ""
|
288 |
+
"Abrir la superposición de video cuando a la imagen destacada se le hace "
|
289 |
+
"clic. ¡Defina el ancho debajo!"
|
290 |
+
|
291 |
+
#: php/settings.php:64
|
292 |
+
msgid "Replace featured image with video on click and auto play if possible"
|
293 |
+
msgstr ""
|
294 |
+
"Reemplazar la imagen destacada con el video al hacer clic y con auto "
|
295 |
+
"ejecución si es posible"
|
296 |
+
|
297 |
+
#: php/settings.php:65
|
298 |
+
msgid "None of the above: Manually use PHP-functions or shortcodes"
|
299 |
+
msgstr ""
|
300 |
+
"Ninguna de las anteriores: Utilice manualmente las funciones de PHP o los "
|
301 |
+
"códigos cortos"
|
302 |
+
|
303 |
+
#: php/settings.php:66
|
304 |
+
#, php-format
|
305 |
+
msgid ""
|
306 |
+
"The first three options require your theme to make use of WordPress' "
|
307 |
+
"%sfeatured image%s capabilities."
|
308 |
+
msgstr ""
|
309 |
+
"Las tres primeras opciones requieren de su tema para hacer uso de las "
|
310 |
+
"capacidades de '%simagen estacada%s de WordPress."
|
311 |
+
|
312 |
+
#: php/settings.php:71
|
313 |
+
msgid "The current theme does not support featured images"
|
314 |
+
msgstr "El tema actual no soporta imágenes principales"
|
315 |
+
|
316 |
+
#: php/settings.php:71
|
317 |
+
msgid ""
|
318 |
+
"To display Featured Videos you need to use the <code>Shortcode</code> or "
|
319 |
+
"<code>PHP functions</code>."
|
320 |
+
msgstr ""
|
321 |
+
"Para visualizar Videos Destacados usted necesita usar el <code>Código corto "
|
322 |
+
"</code> o las <code> funciones de PHP </code>."
|
323 |
+
|
324 |
+
#: php/settings.php:87
|
325 |
+
msgid "yes"
|
326 |
+
msgstr "sí"
|
327 |
+
|
328 |
+
#: php/settings.php:89
|
329 |
+
msgid "no"
|
330 |
+
msgstr "no"
|
331 |
+
|
332 |
+
#: php/settings.php:90
|
333 |
+
msgid ""
|
334 |
+
"YouTube, Vimeo and Dailymotion videos can autoplay when a single post/page "
|
335 |
+
"is being viewed."
|
336 |
+
msgstr ""
|
337 |
+
"Los videos de YouTube, Vimeo y Dailymotion se reproducirán automáticamente "
|
338 |
+
"cuando se esté viendo un post/página simple."
|
339 |
+
|
340 |
+
#: php/settings.php:109
|
341 |
+
msgid "Width"
|
342 |
+
msgstr "Ancho"
|
343 |
+
|
344 |
+
#: php/settings.php:119
|
345 |
+
msgid "Height"
|
346 |
+
msgstr "Largo"
|
347 |
+
|
348 |
+
#: php/settings.php:128
|
349 |
+
msgid ""
|
350 |
+
"When using <code>auto</code> the video will be adjusted to fit it's parent "
|
351 |
+
"element while sticking to it's ratio. Using a <code>fixed</code> height and "
|
352 |
+
"width might result in <em>not so pretty</em> black bars."
|
353 |
+
msgstr ""
|
354 |
+
"Cuando se usa <code>auto</code> el video será ajustado para encajar su "
|
355 |
+
"elemento padre mientras se mantiene con su radio. Usar un largo y ancho "
|
356 |
+
"<code>fijo</code> puede resultar en bandas negras <em>no muy bonitas</em>."
|
357 |
+
|
358 |
+
#: php/settings.php:142
|
359 |
+
msgid "left"
|
360 |
+
msgstr "izquierda"
|
361 |
+
|
362 |
+
#: php/settings.php:143
|
363 |
+
msgid "center"
|
364 |
+
msgstr "centro"
|
365 |
+
|
366 |
+
#: php/settings.php:144
|
367 |
+
msgid "right"
|
368 |
+
msgstr "derecha"
|
369 |
+
|
370 |
+
#: php/settings.php:163
|
371 |
+
msgid "Use CDN"
|
372 |
+
msgstr "Utilice CDN"
|
373 |
+
|
374 |
+
#: php/settings.php:164
|
375 |
+
msgid "Include JS"
|
376 |
+
msgstr "Incluir JS"
|
377 |
+
|
378 |
+
#: php/settings.php:165
|
379 |
+
msgid "Include CSS"
|
380 |
+
msgstr "Incluir CSS"
|
381 |
+
|
382 |
+
#: php/settings.php:166
|
383 |
+
msgid ""
|
384 |
+
"Disabling JS and/or CSS will break the local video player. Disable only when "
|
385 |
+
"you want to replace VideoJS with a different script and know what you are "
|
386 |
+
"doing."
|
387 |
+
msgstr ""
|
388 |
+
"Deshabilitar JS y CSS presentará problemas en su reproductor de video. "
|
389 |
+
"Deshabilitar sólo cuando se desea reemplazar VideoJS con un script diferente "
|
390 |
+
"y se sabe lo que se está haciendo."
|
391 |
+
|
392 |
+
#: php/settings.php:167
|
393 |
+
msgid "Use featured image as video thumbnail"
|
394 |
+
msgstr "Utilice la imagen en miniatura en el video"
|
395 |
+
|
396 |
+
#: php/settings.php:188
|
397 |
+
msgid "Light Theme"
|
398 |
+
msgstr "Tema Light"
|
399 |
+
|
400 |
+
#: php/settings.php:189
|
401 |
+
msgid "Fullscreen Button"
|
402 |
+
msgstr "Botón de Pantalla Completa"
|
403 |
+
|
404 |
+
#: php/settings.php:197
|
405 |
+
msgid "Info"
|
406 |
+
msgstr "Información"
|
407 |
+
|
408 |
+
#: php/settings.php:199
|
409 |
+
msgid "Related Videos"
|
410 |
+
msgstr "Videos relacionados"
|
411 |
+
|
412 |
+
#: php/settings.php:200
|
413 |
+
msgid "Javascript API"
|
414 |
+
msgstr "API de Javascript "
|
415 |
+
|
416 |
+
#: php/settings.php:201
|
417 |
+
msgid "White Progressbar"
|
418 |
+
msgstr "Barra de Progreso Blanca"
|
419 |
+
|
420 |
+
#: php/settings.php:203 php/settings.php:256
|
421 |
+
msgid "Logo"
|
422 |
+
msgstr "Logo"
|
423 |
+
|
424 |
+
#: php/settings.php:225
|
425 |
+
msgid "Portrait"
|
426 |
+
msgstr "Retrato"
|
427 |
+
|
428 |
+
#: php/settings.php:226
|
429 |
+
msgid "Title"
|
430 |
+
msgstr "Título"
|
431 |
+
|
432 |
+
#: php/settings.php:227
|
433 |
+
msgid "Byline"
|
434 |
+
msgstr "Esquinado"
|
435 |
+
|
436 |
+
#: php/settings.php:230
|
437 |
+
msgid "Color"
|
438 |
+
msgstr "Color"
|
439 |
+
|
440 |
+
#: php/settings.php:234
|
441 |
+
msgid "Vimeo Plus Videos might ignore these settings."
|
442 |
+
msgstr "Vimeo Plus Videos puede ignorar estos ajustes."
|
443 |
+
|
444 |
+
#: php/settings.php:257
|
445 |
+
msgid "Videoinfo"
|
446 |
+
msgstr "Información del video"
|
447 |
+
|
448 |
+
#: php/settings.php:258
|
449 |
+
msgid "Syndication Key"
|
450 |
+
msgstr "Llave de Sindicación"
|
451 |
+
|
452 |
+
#: php/settings.php:262
|
453 |
+
msgid "Foreground"
|
454 |
+
msgstr "Primer Plano"
|
455 |
+
|
456 |
+
#: php/settings.php:267
|
457 |
+
msgid "Highlight"
|
458 |
+
msgstr "Destacar"
|
459 |
+
|
460 |
+
#: php/settings.php:272
|
461 |
+
msgid "Background"
|
462 |
+
msgstr "Fondo"
|
463 |
+
|
464 |
+
#: php/settings.php:289
|
465 |
+
#, php-format
|
466 |
+
msgid ""
|
467 |
+
"If you have found a bug or are missing a specific video service, please "
|
468 |
+
"%slet me know%s in the support forum. Elsewise, if you like the plugin: "
|
469 |
+
"Please %srate it!%s"
|
470 |
+
msgstr ""
|
471 |
+
"Si usted a encontrado algún error o le falta un servicio de vídeo "
|
472 |
+
"específico, por favor %shágamelo saber%s en el foro de soporte. Dígame si el "
|
473 |
+
"plugin le gusta: Por favor %sevalúelo%s"
|
474 |
+
|
475 |
+
#: php/settings.php:376
|
476 |
+
msgid "Displays the video in its default size."
|
477 |
+
msgstr "Visualizar el video en su tamaño por defecto."
|
478 |
+
|
479 |
+
#: php/settings.php:380
|
480 |
+
msgid ""
|
481 |
+
"Displays the video with an width of 300 pixel. Height will be fitted to the "
|
482 |
+
"aspect ratio."
|
483 |
+
msgstr ""
|
484 |
+
"Visualizar el video con un ancho de 300 pixeles. El largo puede ser definido "
|
485 |
+
"en el aspect ratio."
|
486 |
+
|
487 |
+
#: php/settings.php:384
|
488 |
+
msgid "Displays the video with an fixed width and height."
|
489 |
+
msgstr "Visualizar el video con un ancho y una altura fijos."
|
490 |
+
|
491 |
+
#: php/settings.php:398
|
492 |
+
#, php-format
|
493 |
+
msgid ""
|
494 |
+
"All parameters are optional. If %s the current post's id will be used. %s is "
|
495 |
+
"either a string keyword (thumbnail, medium, large or full) or a 2-item array "
|
496 |
+
"representing width and height in pixels, e.g. array(32,32)."
|
497 |
+
msgstr ""
|
498 |
+
"Todos los parámetros son opcionales. Si%s se utiliza el id del mensaje "
|
499 |
+
"actual. %s o es una palabra clave de cadena (miniatura, medio, largo o "
|
500 |
+
"completo) o una matriz de 2 elementos que representa el ancho y la altura en "
|
501 |
+
"píxeles, e.j. array(32,32)."
|
502 |
+
|
503 |
+
#: php/settings.php:401
|
504 |
+
#, php-format
|
505 |
+
msgid ""
|
506 |
+
"The functions are implemented corresponding to the original %sfunctions%s: "
|
507 |
+
"They are intended to be used and to act the same way. Take a look into the "
|
508 |
+
"WordPress Codex for further guidance:"
|
509 |
+
msgstr ""
|
510 |
+
"Las funciones están implementadas correspondiendo con las %sfunciones%s "
|
511 |
+
"originales: Ellas están destinadas a ser utilizadas y actuar de la misma "
|
512 |
+
"manera. Eche un vistazo en el Codex de WordPress para obtener más ayuda:"
|
513 |
+
|
514 |
+
#: php/settings.php:424 php/settings.php:447
|
515 |
+
msgid "PHP-Functions"
|
516 |
+
msgstr "Funciones de PHP"
|
517 |
+
|
518 |
+
#: php/upgrade.php:164 php/upgrade.php:175 php/upgrade.php:186
|
519 |
+
#: php/upgrade.php:197 php/upgrade.php:208
|
520 |
+
msgid "Featured Video Plus was <strong>upgraded</strong>."
|
521 |
+
msgstr "Featured Video Plus fue <strong>actualizado</strong>."
|
522 |
+
|
523 |
+
#: php/upgrade.php:164
|
524 |
+
#, php-format
|
525 |
+
msgid ""
|
526 |
+
"%s brings new options for YouTube and local videos, fixes a whole bunch of "
|
527 |
+
"glitches and introduces a new PHP-function."
|
528 |
+
msgstr ""
|
529 |
+
"%s trae nuevas opciones para YouTube y vídeos locales, corrige un montón de "
|
530 |
+
"problemas técnicos e introduce una nueva función de PHP."
|
531 |
+
|
532 |
+
#: php/upgrade.php:164 php/upgrade.php:175 php/upgrade.php:186
|
533 |
+
#: php/upgrade.php:197 php/upgrade.php:208
|
534 |
+
#, php-format
|
535 |
+
msgid "If you like the plugin, please %srate it%s."
|
536 |
+
msgstr "Si le gusta este plugin, por favor %sevalúelo%s."
|
537 |
+
|
538 |
+
#: php/upgrade.php:175
|
539 |
+
#, php-format
|
540 |
+
msgid ""
|
541 |
+
"%s <strong>ajax</strong>ifies the Featured Video box, introduces new options "
|
542 |
+
"for YouTube and local videos and a new PHP-function."
|
543 |
+
msgstr ""
|
544 |
+
"%s <strong>ajax</strong>ifies el cuadro de Video Principal, introduce nuevas "
|
545 |
+
"opciones para YouTube y videos locales y una nueva función PHP."
|
546 |
+
|
547 |
+
#: php/upgrade.php:186
|
548 |
+
#, php-format
|
549 |
+
msgid ""
|
550 |
+
"%s features a seamless <strong>WP3.5 Media Manager</strong> integration, an "
|
551 |
+
"all new <strong>ajax</strong>ified metabox, time-links (#t=4m2s) for YouTube "
|
552 |
+
"and Dailymotion, new PHP functions for developers and more."
|
553 |
+
msgstr ""
|
554 |
+
"%s tiene una integración transparente con <strong>WP3.5 Media Manager</"
|
555 |
+
"strong>, y una nueva meta caja <strong>ajax</strong>ified, enlaces-tiempo "
|
556 |
+
"(#t=4m2s) para YouTube y Dailymotion, nuevas funciones PHP para "
|
557 |
+
"desarrolladores y más."
|
558 |
+
|
559 |
+
#: php/upgrade.php:197
|
560 |
+
#, php-format
|
561 |
+
msgid ""
|
562 |
+
"%s features a seamless WP3.5 Media Manager integration, an ajaxified "
|
563 |
+
"metabox, time-links (#t=4m2s) for YouTube and Dailymotion, more "
|
564 |
+
"customization settings and internationalization."
|
565 |
+
msgstr ""
|
566 |
+
"%s tiene una integración transparente con WP3.5 Media Manager, y una nueva "
|
567 |
+
"meta caja <strong>ajax</strong>ified, enlaces-tiempo (#t=4m2s) para YouTube "
|
568 |
+
"y Dailymotion, más ajustes de personalización e internacionalización."
|
569 |
+
|
570 |
+
#: php/upgrade.php:208
|
571 |
+
#, php-format
|
572 |
+
msgid ""
|
573 |
+
"%s features support for <strong>Local Videos</strong>, a seamless WP3.5 "
|
574 |
+
"Media Manager integration, an ajaxified metabox, time-links (#t=4m2s) for "
|
575 |
+
"YouTube and Dailymotion and many more customization settings."
|
576 |
+
msgstr ""
|
577 |
+
"%s incluye soporte para <strong>Videos Locales</strong>, una perfecta "
|
578 |
+
"integración con WP3.5 Media Manager, una meta caja ajaxified, enlaces-tiempo "
|
579 |
+
"(#t=4m2s) para YouTube y Dailymotion, y muchos más ajustes de "
|
580 |
+
"personalización."
|
581 |
+
|
582 |
+
#: php/upgrade.php:220
|
583 |
+
#, php-format
|
584 |
+
msgid ""
|
585 |
+
"Featured Video Plus is <strong>ready to use</strong>. There is a new box on "
|
586 |
+
"post & page edit screens for you to add videos. <strong>Take a look at your "
|
587 |
+
"new %sMedia Settings%s</strong>."
|
588 |
+
msgstr ""
|
589 |
+
"Featured Video Plus está <strong>listo para usarse</strong>. Hay un nuevo "
|
590 |
+
"cuadro en sus pantallas de edición de posts y páginas para adicionar videos. "
|
591 |
+
"<strong>Mire su nuevos %sAjustes de Media%s</strong>."
|
592 |
+
|
593 |
+
#~ msgid "Replace Featured Images"
|
594 |
+
#~ msgstr "Beitragsbilder ersetzen"
|
595 |
+
|
596 |
+
#~ msgid ""
|
597 |
+
#~ "If a Featured Video is available it can be displayed in place of the "
|
598 |
+
#~ "Featured Image. Still, a Featured Image is required."
|
599 |
+
#~ msgstr ""
|
600 |
+
#~ "Wenn ein Artikelvideo vorhanden ist kann es anstelle des Artikelbildes "
|
601 |
+
#~ "angezeigt werden. Dafür muss trotzdem ein Artikelbild gesetzt sein!"
|
602 |
+
|
603 |
+
#~ msgid ""
|
604 |
+
#~ "The plugin logs it's version, the WordPress version and WordPress "
|
605 |
+
#~ "language for internal statistics. Those help for future plugin "
|
606 |
+
#~ "development."
|
607 |
+
#~ msgstr ""
|
608 |
+
#~ "Das Plugin speichert seine Version, die WordPress Version und WordPress "
|
609 |
+
#~ "Spracheinstellung für eigene Statistiken."
|
610 |
+
|
611 |
+
#~ msgid ""
|
612 |
+
#~ "No personal user information is being collected. Still, you can easily "
|
613 |
+
#~ "Opt-Out and have the data deleted:"
|
614 |
+
#~ msgstr ""
|
615 |
+
#~ "Es werden keine persönlichen Nutzerinformationen gespeichert. Wenn du "
|
616 |
+
#~ "willst kannst du dich abmelden und deine Daten werden gelöscht:"
|
617 |
+
|
618 |
+
#~ msgid "VIDEOJS Player Options"
|
619 |
+
#~ msgstr "VIDEOJS Player Optionen"
|
620 |
+
|
621 |
+
#~ msgid ""
|
622 |
+
#~ "%s features more customization settings, internationalization, better "
|
623 |
+
#~ "error handling and experimental LiveLeak integration."
|
624 |
+
#~ msgstr ""
|
625 |
+
#~ "%s integriert mehr Einstellungsmöglichkeiten, Internationalisierung, "
|
626 |
+
#~ "bessere Fehlerbehandlung und experimentelle LiveLeak Integration."
|
627 |
+
|
628 |
+
#~ msgid "Align"
|
629 |
+
#~ msgstr "Ausrichtung"
|
630 |
+
|
631 |
+
#~ msgid "Found a bug or <strong>missing a specific video service</strong>?"
|
632 |
+
#~ msgstr ""
|
633 |
+
#~ "Hast du einen Fehler gefunden oder <strong>fehlt dir eine bestimmte Video "
|
634 |
+
#~ "Plattform</strong>?"
|
635 |
+
|
636 |
+
#~ msgid "Do you like the plugin?"
|
637 |
+
#~ msgstr "Gefällt dir das Plugin?"
|
638 |
+
|
639 |
+
#~ msgid "rate it"
|
640 |
+
#~ msgstr "bewerte es"
|
641 |
+
|
642 |
+
#~ msgid ""
|
643 |
+
#~ "All parameters are optional. If %s the current post's id will be used."
|
644 |
+
#~ msgstr ""
|
645 |
+
#~ "Alle Parameter sind optional. Wenn %s gilt, wird die ID vom aktuellen "
|
646 |
+
#~ "Eintrag verwendet."
|
647 |
+
|
648 |
+
#~ msgid ""
|
649 |
+
#~ "Featured Video Plus was <strong>upgraded</strong>. Version <strong>%s</"
|
650 |
+
#~ "strong> features more customization settings and a more dynamic admin "
|
651 |
+
#~ "interface."
|
652 |
+
#~ msgstr ""
|
653 |
+
#~ "Version %s integriert mehr Einstellungsmöglichkeiten, "
|
654 |
+
#~ "Internationalisierung, besseres Fehlerbehandlung und LiveLeak Videos "
|
655 |
+
#~ "(experimentell)."
|
656 |
+
|
657 |
+
#~ msgid ""
|
658 |
+
#~ "Featured Video Plus was <strong>upgraded</strong>. Version <strong>%s</"
|
659 |
+
#~ "strong> now supports <strong>local videos</strong> and many more "
|
660 |
+
#~ "customization settings."
|
661 |
+
#~ msgstr ""
|
662 |
+
#~ "Version %s integriert <strong>lokale Videos</strong>, LiveLeak Videos "
|
663 |
+
#~ "(experimentell), mehr Einstellungsmöglichkeiten, Internationalisierung "
|
664 |
+
#~ "und besseres Fehlerbehandlung."
|
665 |
+
|
666 |
+
#~ msgid "YouTube, Vimeo, Dailymotion; Local Media"
|
667 |
+
#~ msgstr "Video Formate"
|
lng/featured-video-plus.pot
CHANGED
@@ -1,511 +1,392 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: featured-video-plus 1.3\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
-
"Last-Translator: Alexander Höreth <
|
7 |
-
"Language-Team: a.hoereth <a.hoereth@gmail.com>\n"
|
8 |
-
"Language: en\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.
|
13 |
-
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
-
"X-Poedit-Basepath: ..\n"
|
15 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
-
"X-Poedit-SearchPath-0: php\n"
|
17 |
-
|
18 |
-
#: php/backend.php:
|
19 |
-
msgid "Video URL"
|
20 |
-
msgstr ""
|
21 |
-
|
22 |
-
#: php/backend.php:
|
23 |
-
msgid "Fallback: same video, different format"
|
24 |
-
msgstr ""
|
25 |
-
|
26 |
-
#: php/backend.php:
|
27 |
-
#: php/backend.php:
|
28 |
-
msgid "Featured Video"
|
29 |
-
msgstr ""
|
30 |
-
|
31 |
-
#: php/backend.php:
|
32 |
-
msgid "Outdated WordPress Version"
|
33 |
-
msgstr ""
|
34 |
-
|
35 |
-
#: php/backend.php:
|
36 |
-
#, php-format
|
37 |
-
msgid ""
|
38 |
-
"There is WordPress 3.5 out there! The plugin supports older versions way "
|
39 |
-
"back to 3.1 - but %s is defenitly to old!"
|
40 |
-
msgstr ""
|
41 |
-
|
42 |
-
#: php/backend.php:
|
43 |
-
msgid "Set Featured Video"
|
44 |
-
msgstr ""
|
45 |
-
|
46 |
-
#: php/backend.php:
|
47 |
-
msgid "Set featured video"
|
48 |
-
msgstr ""
|
49 |
-
|
50 |
-
#: php/backend.php:
|
51 |
-
msgid "
|
52 |
-
msgstr ""
|
53 |
-
|
54 |
-
#: php/backend.php:
|
55 |
-
msgid "
|
56 |
-
msgstr ""
|
57 |
-
|
58 |
-
#: php/backend.php:
|
59 |
-
msgid "
|
60 |
-
msgstr ""
|
61 |
-
|
62 |
-
#: php/backend.php:
|
63 |
-
msgid "
|
64 |
-
msgstr ""
|
65 |
-
|
66 |
-
#: php/backend.php:
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
msgid "
|
86 |
-
msgstr ""
|
87 |
-
|
88 |
-
#: php/backend.php:
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
msgid "
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
"
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
"
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
"
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
"
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
"
|
154 |
-
msgstr ""
|
155 |
-
|
156 |
-
#: php/
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
"
|
162 |
-
msgstr ""
|
163 |
-
|
164 |
-
#: php/
|
165 |
-
msgid "
|
166 |
-
msgstr ""
|
167 |
-
|
168 |
-
#: php/
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
"
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
msgid "
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
msgid "
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
msgid "
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
"
|
234 |
-
"
|
235 |
-
msgstr ""
|
236 |
-
|
237 |
-
#: php/settings.php:
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
#: php/settings.php:
|
250 |
-
msgid "
|
251 |
-
msgstr ""
|
252 |
-
|
253 |
-
#: php/settings.php:
|
254 |
-
msgid "
|
255 |
-
msgstr ""
|
256 |
-
|
257 |
-
#: php/settings.php:
|
258 |
-
msgid "
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
msgstr ""
|
271 |
-
|
272 |
-
#: php/settings.php:
|
273 |
-
msgid "
|
274 |
-
msgstr ""
|
275 |
-
|
276 |
-
#: php/settings.php:
|
277 |
-
msgid ""
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
msgstr ""
|
295 |
-
|
296 |
-
#: php/settings.php:
|
297 |
-
msgid "
|
298 |
-
msgstr ""
|
299 |
-
|
300 |
-
#: php/settings.php:
|
301 |
-
msgid "
|
302 |
-
msgstr ""
|
303 |
-
|
304 |
-
#: php/settings.php:
|
305 |
-
msgid ""
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
"
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
msgstr ""
|
369 |
-
|
370 |
-
#: php/settings.php:
|
371 |
-
msgid "
|
372 |
-
msgstr ""
|
373 |
-
|
374 |
-
#: php/settings.php:
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
msgstr ""
|
381 |
-
|
382 |
-
#: php/settings.php:
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
msgstr ""
|
389 |
-
|
390 |
-
#: php/settings.php:
|
391 |
-
msgid "
|
392 |
-
msgstr ""
|
393 |
-
|
394 |
-
#: php/settings.php:257
|
395 |
-
msgid "Videoinfo"
|
396 |
-
msgstr ""
|
397 |
-
|
398 |
-
#: php/settings.php:258
|
399 |
-
msgid "Syndication Key"
|
400 |
-
msgstr ""
|
401 |
-
|
402 |
-
#: php/settings.php:262
|
403 |
-
msgid "Foreground"
|
404 |
-
msgstr ""
|
405 |
-
|
406 |
-
#: php/settings.php:267
|
407 |
-
msgid "Highlight"
|
408 |
-
msgstr ""
|
409 |
-
|
410 |
-
#: php/settings.php:272
|
411 |
-
msgid "Background"
|
412 |
-
msgstr ""
|
413 |
-
|
414 |
-
#: php/settings.php:289
|
415 |
-
#, php-format
|
416 |
-
msgid ""
|
417 |
-
"If you have found a bug or are missing a specific video service, please "
|
418 |
-
"%slet me know%s in the support forum. Elsewise, if you like the plugin: "
|
419 |
-
"Please %srate it!%s"
|
420 |
-
msgstr ""
|
421 |
-
|
422 |
-
#: php/settings.php:376
|
423 |
-
msgid "Displays the video in its default size."
|
424 |
-
msgstr ""
|
425 |
-
|
426 |
-
#: php/settings.php:380
|
427 |
-
msgid ""
|
428 |
-
"Displays the video with an width of 300 pixel. Height will be fitted to the "
|
429 |
-
"aspect ratio."
|
430 |
-
msgstr ""
|
431 |
-
|
432 |
-
#: php/settings.php:384
|
433 |
-
msgid "Displays the video with an fixed width and height."
|
434 |
-
msgstr ""
|
435 |
-
|
436 |
-
#: php/settings.php:398
|
437 |
-
#, php-format
|
438 |
-
msgid ""
|
439 |
-
"All parameters are optional. If %s the current post's id will be used. %s is "
|
440 |
-
"either a string keyword (thumbnail, medium, large or full) or a 2-item array "
|
441 |
-
"representing width and height in pixels, e.g. array(32,32)."
|
442 |
-
msgstr ""
|
443 |
-
|
444 |
-
#: php/settings.php:401
|
445 |
-
#, php-format
|
446 |
-
msgid ""
|
447 |
-
"The functions are implemented corresponding to the original %sfunctions%s: "
|
448 |
-
"They are intended to be used and to act the same way. Take a look into the "
|
449 |
-
"WordPress Codex for further guidance:"
|
450 |
-
msgstr ""
|
451 |
-
|
452 |
-
#: php/settings.php:424 php/settings.php:447
|
453 |
-
msgid "PHP-Functions"
|
454 |
-
msgstr ""
|
455 |
-
|
456 |
-
#: php/upgrade.php:164 php/upgrade.php:175 php/upgrade.php:186
|
457 |
-
#: php/upgrade.php:197 php/upgrade.php:208
|
458 |
-
msgid "Featured Video Plus was <strong>upgraded</strong>."
|
459 |
-
msgstr ""
|
460 |
-
|
461 |
-
#: php/upgrade.php:164
|
462 |
-
#, php-format
|
463 |
-
msgid ""
|
464 |
-
"%s brings new options for YouTube and local videos, fixes a whole bunch of "
|
465 |
-
"glitches and introduces a new PHP-function."
|
466 |
-
msgstr ""
|
467 |
-
|
468 |
-
#: php/upgrade.php:164 php/upgrade.php:175 php/upgrade.php:186
|
469 |
-
#: php/upgrade.php:197 php/upgrade.php:208
|
470 |
-
#, php-format
|
471 |
-
msgid "If you like the plugin, please %srate it%s."
|
472 |
-
msgstr ""
|
473 |
-
|
474 |
-
#: php/upgrade.php:175
|
475 |
-
#, php-format
|
476 |
-
msgid ""
|
477 |
-
"%s <strong>ajax</strong>ifies the Featured Video box, introduces new options "
|
478 |
-
"for YouTube and local videos and a new PHP-function."
|
479 |
-
msgstr ""
|
480 |
-
|
481 |
-
#: php/upgrade.php:186
|
482 |
-
#, php-format
|
483 |
-
msgid ""
|
484 |
-
"%s features a seamless <strong>WP3.5 Media Manager</strong> integration, an "
|
485 |
-
"all new <strong>ajax</strong>ified metabox, time-links (#t=4m2s) for YouTube "
|
486 |
-
"and Dailymotion, new PHP functions for developers and more."
|
487 |
-
msgstr ""
|
488 |
-
|
489 |
-
#: php/upgrade.php:197
|
490 |
-
#, php-format
|
491 |
-
msgid ""
|
492 |
-
"%s features a seamless WP3.5 Media Manager integration, an ajaxified "
|
493 |
-
"metabox, time-links (#t=4m2s) for YouTube and Dailymotion, more "
|
494 |
-
"customization settings and internationalization."
|
495 |
-
msgstr ""
|
496 |
-
|
497 |
-
#: php/upgrade.php:208
|
498 |
-
#, php-format
|
499 |
-
msgid ""
|
500 |
-
"%s features support for <strong>Local Videos</strong>, a seamless WP3.5 "
|
501 |
-
"Media Manager integration, an ajaxified metabox, time-links (#t=4m2s) for "
|
502 |
-
"YouTube and Dailymotion and many more customization settings."
|
503 |
-
msgstr ""
|
504 |
-
|
505 |
-
#: php/upgrade.php:220
|
506 |
-
#, php-format
|
507 |
-
msgid ""
|
508 |
-
"Featured Video Plus is <strong>ready to use</strong>. There is a new box on "
|
509 |
-
"post & page edit screens for you to add videos. <strong>Take a look at your "
|
510 |
-
"new %sMedia Settings%s</strong>."
|
511 |
-
msgstr ""
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: featured-video-plus 1.3\n"
|
4 |
+
"POT-Creation-Date: 2014-01-02 20:31+0100\n"
|
5 |
+
"PO-Revision-Date: 2014-01-02 20:31+0100\n"
|
6 |
+
"Last-Translator: Alexander Höreth <hello@yrnxt.com>\n"
|
7 |
+
"Language-Team: a.hoereth <a.hoereth@gmail.com>\n"
|
8 |
+
"Language: en\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.6.3\n"
|
13 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
14 |
+
"X-Poedit-Basepath: ..\n"
|
15 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
+
"X-Poedit-SearchPath-0: php\n"
|
17 |
+
|
18 |
+
#: php/backend.php:31
|
19 |
+
msgid "Video URL"
|
20 |
+
msgstr ""
|
21 |
+
|
22 |
+
#: php/backend.php:32
|
23 |
+
msgid "Fallback: same video, different format"
|
24 |
+
msgstr ""
|
25 |
+
|
26 |
+
#: php/backend.php:93 php/backend.php:683 php/backend.php:690
|
27 |
+
#: php/backend.php:707 php/backend.php:709
|
28 |
+
msgid "Featured Video"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: php/backend.php:124
|
32 |
+
msgid "Outdated WordPress Version"
|
33 |
+
msgstr ""
|
34 |
+
|
35 |
+
#: php/backend.php:124
|
36 |
+
#, php-format
|
37 |
+
msgid ""
|
38 |
+
"There is WordPress 3.5 out there! The plugin supports older versions way "
|
39 |
+
"back to 3.1 - but %s is defenitly to old!"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: php/backend.php:136
|
43 |
+
msgid "Set Featured Video"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: php/backend.php:136
|
47 |
+
msgid "Set featured video"
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: php/backend.php:146 php/backend.php:640
|
51 |
+
msgid "Supported Video Formats"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#: php/backend.php:146
|
55 |
+
msgid "or"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: php/backend.php:146
|
59 |
+
msgid "More information"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: php/backend.php:153
|
63 |
+
msgid "Hint"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: php/backend.php:153
|
67 |
+
#, php-format
|
68 |
+
msgid "Take a look into the %sContextual Help%s."
|
69 |
+
msgstr ""
|
70 |
+
|
71 |
+
#: php/backend.php:159 php/settings.php:390
|
72 |
+
msgid "Featured Image"
|
73 |
+
msgstr ""
|
74 |
+
|
75 |
+
#: php/backend.php:159
|
76 |
+
msgid ""
|
77 |
+
"For automatically displaying the Featured Video a Featured Image is required."
|
78 |
+
msgstr ""
|
79 |
+
|
80 |
+
#: php/backend.php:164
|
81 |
+
msgid "Set as Featured Image"
|
82 |
+
msgstr ""
|
83 |
+
|
84 |
+
#: php/backend.php:168
|
85 |
+
msgid "The current theme does not support Featured Images"
|
86 |
+
msgstr ""
|
87 |
+
|
88 |
+
#: php/backend.php:168
|
89 |
+
#, php-format
|
90 |
+
msgid ""
|
91 |
+
"To display Featured Videos you need to use the <code>Shortcode</code> or "
|
92 |
+
"<code>PHP functions</code>. To hide this notice deactivate "<em>Replace "
|
93 |
+
"Featured Images</em>" in the %sMedia Settings%s."
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#: php/backend.php:634
|
97 |
+
#, php-format
|
98 |
+
msgid ""
|
99 |
+
"To use local videos, copy the <code>Link To Media File</code> from your "
|
100 |
+
"%sMedia Library%s and paste it into the text field."
|
101 |
+
msgstr ""
|
102 |
+
|
103 |
+
#: php/backend.php:635
|
104 |
+
msgid ""
|
105 |
+
"To use local videos as Featured Videos WordPress 3.6 or higher is required."
|
106 |
+
msgstr ""
|
107 |
+
|
108 |
+
#: php/backend.php:642
|
109 |
+
msgid "Converting your videos"
|
110 |
+
msgstr ""
|
111 |
+
|
112 |
+
#: php/backend.php:643
|
113 |
+
#, php-format
|
114 |
+
msgid ""
|
115 |
+
"Take a look at the %sMiro Video Converter%s. It is open source, lightweight "
|
116 |
+
"and compatible with Windows, Mac and Linux."
|
117 |
+
msgstr ""
|
118 |
+
|
119 |
+
#: php/backend.php:644
|
120 |
+
msgid "Fixing upload errors"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: php/backend.php:646
|
124 |
+
#, php-format
|
125 |
+
msgid ""
|
126 |
+
"Read %sthis%s on how to increase the <strong>maximum file upload size</"
|
127 |
+
"strong>."
|
128 |
+
msgstr ""
|
129 |
+
|
130 |
+
#: php/backend.php:651
|
131 |
+
msgid ""
|
132 |
+
"These are some of the tested URL formats. Everything in bold is required, "
|
133 |
+
"everything in brackets is optional."
|
134 |
+
msgstr ""
|
135 |
+
|
136 |
+
#: php/backend.php:683 php/backend.php:707
|
137 |
+
msgid "Local Media"
|
138 |
+
msgstr ""
|
139 |
+
|
140 |
+
#: php/backend.php:690 php/backend.php:709
|
141 |
+
msgid "Valid URLs"
|
142 |
+
msgstr ""
|
143 |
+
|
144 |
+
#: php/settings.php:21
|
145 |
+
msgid "Featured Videos"
|
146 |
+
msgstr ""
|
147 |
+
|
148 |
+
#: php/settings.php:23
|
149 |
+
msgid "Usage"
|
150 |
+
msgstr ""
|
151 |
+
|
152 |
+
#: php/settings.php:24
|
153 |
+
msgid "Autoplay"
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: php/settings.php:25
|
157 |
+
msgid "Video Sizing"
|
158 |
+
msgstr ""
|
159 |
+
|
160 |
+
#: php/settings.php:26
|
161 |
+
msgid "Video Align"
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: php/settings.php:27
|
165 |
+
msgid "Local Video Options"
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#: php/settings.php:28
|
169 |
+
msgid "YouTube Options"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#: php/settings.php:29
|
173 |
+
msgid "Vimeo Options"
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#: php/settings.php:30
|
177 |
+
msgid "Dailymotion Options"
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: php/settings.php:31
|
181 |
+
msgid "Support"
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: php/settings.php:45
|
185 |
+
#, php-format
|
186 |
+
msgid ""
|
187 |
+
"To display your featured videos you can either make use of the automatic "
|
188 |
+
"replacement, use the %s or manually edit your theme's source files to make "
|
189 |
+
"use of the plugins PHP-functions."
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#: php/settings.php:46
|
193 |
+
#, php-format
|
194 |
+
msgid ""
|
195 |
+
"For more information about Shortcode and PHP functions see the %sContextual "
|
196 |
+
"Help%s."
|
197 |
+
msgstr ""
|
198 |
+
|
199 |
+
#: php/settings.php:62
|
200 |
+
msgid "Replace featured image automatically if possible"
|
201 |
+
msgstr ""
|
202 |
+
|
203 |
+
#: php/settings.php:62 php/settings.php:90 php/settings.php:112
|
204 |
+
#: php/settings.php:122 php/settings.php:143
|
205 |
+
msgid "default"
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: php/settings.php:63
|
209 |
+
msgid "Open video overlay when featured image is clicked. Define width below!"
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: php/settings.php:64
|
213 |
+
msgid "Replace featured image with video on click and auto play if possible"
|
214 |
+
msgstr ""
|
215 |
+
|
216 |
+
#: php/settings.php:65
|
217 |
+
msgid "None of the above: Manually use PHP-functions or shortcodes"
|
218 |
+
msgstr ""
|
219 |
+
|
220 |
+
#: php/settings.php:66
|
221 |
+
#, php-format
|
222 |
+
msgid ""
|
223 |
+
"The first three options require your theme to make use of WordPress' "
|
224 |
+
"%sfeatured image%s capabilities."
|
225 |
+
msgstr ""
|
226 |
+
|
227 |
+
#: php/settings.php:70
|
228 |
+
msgid "The current theme does not support featured images"
|
229 |
+
msgstr ""
|
230 |
+
|
231 |
+
#: php/settings.php:70
|
232 |
+
msgid ""
|
233 |
+
"To display Featured Videos you need to use the <code>Shortcode</code> or "
|
234 |
+
"<code>PHP functions</code>."
|
235 |
+
msgstr ""
|
236 |
+
|
237 |
+
#: php/settings.php:86
|
238 |
+
msgid "yes"
|
239 |
+
msgstr ""
|
240 |
+
|
241 |
+
#: php/settings.php:88
|
242 |
+
msgid "auto"
|
243 |
+
msgstr ""
|
244 |
+
|
245 |
+
#: php/settings.php:90
|
246 |
+
msgid "no"
|
247 |
+
msgstr ""
|
248 |
+
|
249 |
+
#: php/settings.php:109
|
250 |
+
msgid "Width"
|
251 |
+
msgstr ""
|
252 |
+
|
253 |
+
#: php/settings.php:119
|
254 |
+
msgid "Height"
|
255 |
+
msgstr ""
|
256 |
+
|
257 |
+
#: php/settings.php:128
|
258 |
+
msgid ""
|
259 |
+
"When using <code>auto</code> the video will be adjusted to fit it's parent "
|
260 |
+
"element while sticking to it's ratio. Using a <code>fixed</code> height and "
|
261 |
+
"width might result in <em>not so pretty</em> black bars."
|
262 |
+
msgstr ""
|
263 |
+
|
264 |
+
#: php/settings.php:142
|
265 |
+
msgid "left"
|
266 |
+
msgstr ""
|
267 |
+
|
268 |
+
#: php/settings.php:143
|
269 |
+
msgid "center"
|
270 |
+
msgstr ""
|
271 |
+
|
272 |
+
#: php/settings.php:144
|
273 |
+
msgid "right"
|
274 |
+
msgstr ""
|
275 |
+
|
276 |
+
#: php/settings.php:157
|
277 |
+
msgid "Use featured image as video thumbnail"
|
278 |
+
msgstr ""
|
279 |
+
|
280 |
+
#: php/settings.php:158
|
281 |
+
msgid "Loop videos"
|
282 |
+
msgstr ""
|
283 |
+
|
284 |
+
#: php/settings.php:179
|
285 |
+
msgid "Light Theme"
|
286 |
+
msgstr ""
|
287 |
+
|
288 |
+
#: php/settings.php:180
|
289 |
+
msgid "Fullscreen Button"
|
290 |
+
msgstr ""
|
291 |
+
|
292 |
+
#: php/settings.php:188
|
293 |
+
msgid "Info"
|
294 |
+
msgstr ""
|
295 |
+
|
296 |
+
#: php/settings.php:190
|
297 |
+
msgid "Related Videos"
|
298 |
+
msgstr ""
|
299 |
+
|
300 |
+
#: php/settings.php:191
|
301 |
+
msgid "Javascript API"
|
302 |
+
msgstr ""
|
303 |
+
|
304 |
+
#: php/settings.php:192
|
305 |
+
msgid "White Progressbar"
|
306 |
+
msgstr ""
|
307 |
+
|
308 |
+
#: php/settings.php:194 php/settings.php:247
|
309 |
+
msgid "Logo"
|
310 |
+
msgstr ""
|
311 |
+
|
312 |
+
#: php/settings.php:216
|
313 |
+
msgid "Portrait"
|
314 |
+
msgstr ""
|
315 |
+
|
316 |
+
#: php/settings.php:217
|
317 |
+
msgid "Title"
|
318 |
+
msgstr ""
|
319 |
+
|
320 |
+
#: php/settings.php:218
|
321 |
+
msgid "Byline"
|
322 |
+
msgstr ""
|
323 |
+
|
324 |
+
#: php/settings.php:221
|
325 |
+
msgid "Color"
|
326 |
+
msgstr ""
|
327 |
+
|
328 |
+
#: php/settings.php:225
|
329 |
+
msgid "Vimeo Plus Videos might ignore these settings."
|
330 |
+
msgstr ""
|
331 |
+
|
332 |
+
#: php/settings.php:248
|
333 |
+
msgid "Videoinfo"
|
334 |
+
msgstr ""
|
335 |
+
|
336 |
+
#: php/settings.php:249
|
337 |
+
msgid "Syndication Key"
|
338 |
+
msgstr ""
|
339 |
+
|
340 |
+
#: php/settings.php:253
|
341 |
+
msgid "Foreground"
|
342 |
+
msgstr ""
|
343 |
+
|
344 |
+
#: php/settings.php:258
|
345 |
+
msgid "Highlight"
|
346 |
+
msgstr ""
|
347 |
+
|
348 |
+
#: php/settings.php:263
|
349 |
+
msgid "Background"
|
350 |
+
msgstr ""
|
351 |
+
|
352 |
+
#: php/settings.php:280
|
353 |
+
#, php-format
|
354 |
+
msgid ""
|
355 |
+
"If you have found a bug or are missing a specific video service, please "
|
356 |
+
"%slet me know%s in the support forum. Elsewise, if you like the plugin: "
|
357 |
+
"Please %srate it!%s"
|
358 |
+
msgstr ""
|
359 |
+
|
360 |
+
#: php/settings.php:365
|
361 |
+
msgid "Displays the video in its default size."
|
362 |
+
msgstr ""
|
363 |
+
|
364 |
+
#: php/settings.php:369
|
365 |
+
msgid ""
|
366 |
+
"Displays the video with an width of 300 pixel. Height will be fitted to the "
|
367 |
+
"aspect ratio."
|
368 |
+
msgstr ""
|
369 |
+
|
370 |
+
#: php/settings.php:373
|
371 |
+
msgid "Displays the video with an fixed width and height."
|
372 |
+
msgstr ""
|
373 |
+
|
374 |
+
#: php/settings.php:387
|
375 |
+
#, php-format
|
376 |
+
msgid ""
|
377 |
+
"All parameters are optional. If %s the current post's id will be used. %s is "
|
378 |
+
"either a string keyword (thumbnail, medium, large or full) or a 2-item array "
|
379 |
+
"representing width and height in pixels, e.g. array(32,32)."
|
380 |
+
msgstr ""
|
381 |
+
|
382 |
+
#: php/settings.php:390
|
383 |
+
#, php-format
|
384 |
+
msgid ""
|
385 |
+
"The functions are implemented corresponding to the original %sfunctions%s: "
|
386 |
+
"They are intended to be used and to act the same way. Take a look into the "
|
387 |
+
"WordPress Codex for further guidance:"
|
388 |
+
msgstr ""
|
389 |
+
|
390 |
+
#: php/settings.php:413 php/settings.php:436
|
391 |
+
msgid "PHP-Functions"
|
392 |
+
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
php/backend.php
CHANGED
@@ -42,6 +42,7 @@ class featured_video_plus_backend {
|
|
42 |
* @since 1.0
|
43 |
*/
|
44 |
public function enqueue($hook_suffix) {
|
|
|
45 |
// just required on options-media.php and would produce errors pre WordPress 3.1
|
46 |
if( ($hook_suffix == 'options-media.php') && (get_bloginfo('version') >= 3.1) ) {
|
47 |
if( wp_style_is( 'wp-color-picker', 'registered' ) ) {
|
@@ -57,11 +58,13 @@ class featured_video_plus_backend {
|
|
57 |
wp_enqueue_script( 'fvp_settings', FVP_URL . 'js/settings.js', array( 'jquery' ), FVP_VERSION );
|
58 |
}
|
59 |
|
60 |
-
// just required on post.php
|
61 |
if( ($hook_suffix == 'post.php' && isset($_GET['post'])) || $hook_suffix == 'post-new.php' ) {
|
62 |
-
wp_enqueue_script( 'jquery.autosize', FVP_URL .
|
63 |
-
wp_enqueue_script( 'fvp_backend', FVP_URL .
|
64 |
-
|
|
|
|
|
65 |
|
66 |
$options = get_option('fvp-settings');
|
67 |
$upload_dir = wp_upload_dir();
|
@@ -70,14 +73,12 @@ class featured_video_plus_backend {
|
|
70 |
'loading_gif' => get_admin_url(null,'images/loading.gif'),
|
71 |
'default_value' => $this->default_value,
|
72 |
'default_value_sec' => $this->default_value_sec,
|
73 |
-
'wp_35' => get_bloginfo('version') >= 3.5
|
74 |
-
'videojs' => isset($options['local']['enabled']) && $options['local']['enabled']
|
75 |
) );
|
76 |
}
|
77 |
|
78 |
if( $hook_suffix == 'options-media.php' || (($hook_suffix == 'post.php' && isset($_GET['post'])) || $hook_suffix == 'post-new.php') )
|
79 |
-
wp_enqueue_style( 'fvp_backend', FVP_URL .
|
80 |
-
//wp_enqueue_style( 'fvp_backend', FVP_URL . 'css/backend.css', array(), FVP_VERSION ); // development
|
81 |
}
|
82 |
|
83 |
/**
|
@@ -140,23 +141,9 @@ class featured_video_plus_backend {
|
|
140 |
echo '<a href="#" class="fvp_video_choose"><span class="fvp_media_icon"'.$style.'></span></a>'."\n";
|
141 |
echo "</div>\n";
|
142 |
|
143 |
-
$sec = isset($meta['sec']) && !empty($meta['sec']) ? wp_get_attachment_url($meta['sec_id']) : $this->default_value_sec;
|
144 |
-
$class = !isset($meta['sec']) || empty($meta['sec']) ? ' defaultTextActive' : '';
|
145 |
-
echo '<div class="fvp_input_wrapper" id="fvp_sec_wrapper" data-title="'.__('Set Featured Video Fallback', 'featured-video-plus').'" data-button="'.__('Set featured video fallback', 'featured-video-plus').'" data-target="#fvp_sec">'."\n\t";
|
146 |
-
echo '<textarea class="fvp_input'.$class.'" id="fvp_sec" name="fvp_sec" type="text">' . $sec . '</textarea>' . "\n\t";
|
147 |
-
echo '<input type="hidden" class="fvp_mirror" value="'.$sec."\" />\n\t";
|
148 |
-
if( !(get_bloginfo('version') < 3.5) )
|
149 |
-
echo '<a href="#" class="fvp_video_choose"><span class="fvp_media_icon" style="background-image: url(\''.get_bloginfo('wpurl').'/wp-admin/images/media-button.png\');"></span></a>'."\n";
|
150 |
-
echo "</div>\n";
|
151 |
-
|
152 |
// local video format warning
|
153 |
echo '<div id="fvp_localvideo_format_warning" class="fvp_warning fvp_hidden">'."\n\t".'<p class="description">'."\n\t\t";
|
154 |
-
echo '<span style="font-weight: bold;">'.__('Supported Video Formats', 'featured-video-plus').':</span> <code>mp4</code>, <code>webM</code> '.__('or', 'featured-video-plus').' <code>
|
155 |
-
echo "\n\t</p>\n</div>\n";
|
156 |
-
|
157 |
-
// local videos not distinct warning
|
158 |
-
echo '<div id="fvp_localvideo_notdistinct_warning" class="fvp_warning fvp_hidden">'."\n\t".'<p class="description">'."\n\t\t";
|
159 |
-
echo '<span style="font-weight: bold;">'.__('Fallback Video', 'featured-video-plus').':</span> '.__('The two input fields should contain the same video but in distinct formats.', 'featured-video-plus');
|
160 |
echo "\n\t</p>\n</div>\n";
|
161 |
|
162 |
// how to use a local videos notice
|
@@ -282,7 +269,6 @@ class featured_video_plus_backend {
|
|
282 |
'full' => $url,
|
283 |
'id' => isset($data['id']) ? $data['id'] : '',
|
284 |
'sec' => isset($data['sec']) ? $data['sec'] : '',
|
285 |
-
'sec_id'=> isset($data['sec_id']) && !empty($data['sec_id'])? $data['sec_id']: '',
|
286 |
'img' => isset($img) ? $img : '',
|
287 |
'prov' => isset($data['provider']) ? $data['provider'] : '',
|
288 |
'time' => isset($data['time']) ? $data['time'] : '',
|
@@ -312,22 +298,13 @@ class featured_video_plus_backend {
|
|
312 |
|
313 |
// local video
|
314 |
case $local['baseurl']:
|
|
|
|
|
315 |
$ext = pathinfo( $url, PATHINFO_EXTENSION );
|
316 |
-
if(
|
317 |
-
|
318 |
-
$data['id'] = $this->get_post_by_url($url);
|
319 |
-
$data['provider'] = 'local';
|
320 |
-
|
321 |
-
if( !empty($sec) ) {
|
322 |
-
preg_match('/(' . preg_quote($local['baseurl'], '/') . ')/i', $sec, $sec_prov_data);
|
323 |
-
$ext2 = pathinfo( $sec, PATHINFO_EXTENSION );
|
324 |
-
if ( isset($sec_prov_data[1]) && isset($ext2) && $sec_prov_data[1] == $provider && $ext != $ext2 &&
|
325 |
-
($ext2 == 'mp4' || $ext2 == 'ogv' || $ext2 == 'webm' || $ext2 == 'ogg')) {
|
326 |
-
$data['sec_id'] = $this->get_post_by_url($sec);
|
327 |
-
$data['sec'] = $sec;
|
328 |
-
}
|
329 |
-
}
|
330 |
|
|
|
|
|
331 |
break;
|
332 |
|
333 |
// youtube.com
|
@@ -654,23 +631,20 @@ class featured_video_plus_backend {
|
|
654 |
*/
|
655 |
public function help() {
|
656 |
$mediahref = (get_bloginfo('version') >= 3.5) ? '<a href="#" class="insert-media" title="Add Media">' : '<a href="media-upload.php?post_id=4&type=video&TB_iframe=1&width=640&height=207" id="add_video" class="thickbox" title="Add Video">';
|
657 |
-
$general = (get_bloginfo('version') >= 3.
|
658 |
-
sprintf( __('To use local videos
|
659 |
|
660 |
$this->help_localmedia = '
|
661 |
<h4 style="margin-bottom: 0;"></h4>
|
662 |
-
<p>'.$general.'
|
663 |
<h4 style="margin-bottom: 0;">'.__('Supported Video Formats','featured-video-plus').':</h4>
|
664 |
-
<p style="margin-top: 0;"><code>webM</code>, <code>mp4</code>, <code>
|
665 |
<h4 style="margin-bottom: 0;">'.__('Converting your videos','featured-video-plus').':</h4>
|
666 |
<p style="margin-top: 0;">'.sprintf(__('Take a look at the %sMiro Video Converter%s. It is open source, lightweight and compatible with Windows, Mac and Linux.','featured-video-plus'),'<a href="http://www.mirovideoconverter.com/" target="_blank">','</a>').'</p>
|
667 |
<h4 style="margin-bottom: 0;">'.__('Fixing upload errors','featured-video-plus').':</h4>
|
668 |
<ul style="margin-top: 0;">
|
669 |
<li>'.sprintf(__('Read %sthis%s on how to increase the <strong>maximum file upload size</strong>.','featured-video-plus'),'<a href="http://www.wpbeginner.com/wp-tutorials/how-to-increase-the-maximum-file-upload-size-in-wordpress/" target="_blank">','</a>').'</li>
|
670 |
-
|
671 |
-
</ul>
|
672 |
-
<h4 style="margin-bottom: 0;">'.__('Flash Fallback','featured-video-plus').':</h4>
|
673 |
-
<p style="margin-top: 0;">'.sprintf(__('The video player, %sVIDEOJS%s, features an Adobe Flash fallback. All you need to do is provide an <code>mp4</code>-video.', 'featured-video-plus'),'<a href="http://videojs.com/" target="_blank">','</a>')."</p>\n";
|
674 |
|
675 |
$dir = wp_upload_dir();
|
676 |
$this->help_urls = '
|
@@ -686,8 +660,6 @@ class featured_video_plus_backend {
|
|
686 |
<ul><li><code>(http(s)://)(www.)<strong>vimeo.com/<em>UNIQUEID</em></strong>(#stuff)</code></li></ul></li>
|
687 |
<li>Dailymotion:
|
688 |
<ul><li><code>(http(s)://)(www.)<strong>dailymotion.com/video/<em>UNIQUEID</em></strong>(_video_title)(#stuff)</code></li></ul></li>
|
689 |
-
<li>Liveleak:
|
690 |
-
<ul><li><code>(http(s)://)(www.)<strong>liveleak.com/view?i=<em>LIV_ELEAKUNQID</em></strong></code></li></ul></li>
|
691 |
</ul>'."\n";
|
692 |
|
693 |
}
|
42 |
* @since 1.0
|
43 |
*/
|
44 |
public function enqueue($hook_suffix) {
|
45 |
+
$min = SCRIPT_DEBUG ? '' : '.min';
|
46 |
// just required on options-media.php and would produce errors pre WordPress 3.1
|
47 |
if( ($hook_suffix == 'options-media.php') && (get_bloginfo('version') >= 3.1) ) {
|
48 |
if( wp_style_is( 'wp-color-picker', 'registered' ) ) {
|
58 |
wp_enqueue_script( 'fvp_settings', FVP_URL . 'js/settings.js', array( 'jquery' ), FVP_VERSION );
|
59 |
}
|
60 |
|
61 |
+
// just required on post.php and post-new.php
|
62 |
if( ($hook_suffix == 'post.php' && isset($_GET['post'])) || $hook_suffix == 'post-new.php' ) {
|
63 |
+
wp_enqueue_script( 'jquery.autosize', FVP_URL . "js/jquery.autosize$min.js", array( 'jquery' ), FVP_VERSION );
|
64 |
+
wp_enqueue_script( 'fvp_backend', FVP_URL . "js/backend$min.js", array( 'jquery','jquery.autosize' ), FVP_VERSION );
|
65 |
+
|
66 |
+
wp_enqueue_style( 'wp-mediaelement' );
|
67 |
+
wp_enqueue_script( 'wp-mediaelement' );
|
68 |
|
69 |
$options = get_option('fvp-settings');
|
70 |
$upload_dir = wp_upload_dir();
|
73 |
'loading_gif' => get_admin_url(null,'images/loading.gif'),
|
74 |
'default_value' => $this->default_value,
|
75 |
'default_value_sec' => $this->default_value_sec,
|
76 |
+
'wp_35' => get_bloginfo('version') >= 3.5
|
|
|
77 |
) );
|
78 |
}
|
79 |
|
80 |
if( $hook_suffix == 'options-media.php' || (($hook_suffix == 'post.php' && isset($_GET['post'])) || $hook_suffix == 'post-new.php') )
|
81 |
+
wp_enqueue_style( 'fvp_backend', FVP_URL . "css/backend$min.css", array(), FVP_VERSION );
|
|
|
82 |
}
|
83 |
|
84 |
/**
|
141 |
echo '<a href="#" class="fvp_video_choose"><span class="fvp_media_icon"'.$style.'></span></a>'."\n";
|
142 |
echo "</div>\n";
|
143 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
// local video format warning
|
145 |
echo '<div id="fvp_localvideo_format_warning" class="fvp_warning fvp_hidden">'."\n\t".'<p class="description">'."\n\t\t";
|
146 |
+
echo '<span style="font-weight: bold;">'.__('Supported Video Formats', 'featured-video-plus').':</span> <code>mp4</code>, <code>webM</code>, <code>m4v</code>, <code>wmv</code>, <code>flv</code> '.__('or', 'featured-video-plus').' <code>ogv</code>. <a href="http://wordpress.org/extend/plugins/featured-video-plus/faq/">'.__('More information', 'featured-video-plus').'</a>.';
|
|
|
|
|
|
|
|
|
|
|
147 |
echo "\n\t</p>\n</div>\n";
|
148 |
|
149 |
// how to use a local videos notice
|
269 |
'full' => $url,
|
270 |
'id' => isset($data['id']) ? $data['id'] : '',
|
271 |
'sec' => isset($data['sec']) ? $data['sec'] : '',
|
|
|
272 |
'img' => isset($img) ? $img : '',
|
273 |
'prov' => isset($data['provider']) ? $data['provider'] : '',
|
274 |
'time' => isset($data['time']) ? $data['time'] : '',
|
298 |
|
299 |
// local video
|
300 |
case $local['baseurl']:
|
301 |
+
$ext_legal = array( 'mp4', 'm4v', 'webm', 'ogv', 'wmv', 'flv' );
|
302 |
+
|
303 |
$ext = pathinfo( $url, PATHINFO_EXTENSION );
|
304 |
+
if( empty( $ext ) || ! in_array( $ext, $ext_legal ) ) return; // wrong extension
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
305 |
|
306 |
+
$data['id'] = $this->get_post_by_url($url);
|
307 |
+
$data['provider'] = 'local';
|
308 |
break;
|
309 |
|
310 |
// youtube.com
|
631 |
*/
|
632 |
public function help() {
|
633 |
$mediahref = (get_bloginfo('version') >= 3.5) ? '<a href="#" class="insert-media" title="Add Media">' : '<a href="media-upload.php?post_id=4&type=video&TB_iframe=1&width=640&height=207" id="add_video" class="thickbox" title="Add Video">';
|
634 |
+
$general = (get_bloginfo('version') >= 3.6) ? sprintf( __('To use local videos, copy the <code>Link To Media File</code> from your %sMedia Library%s and paste it into the text field.', 'featured-video-plus'), $mediahref, '</a>' ) :
|
635 |
+
sprintf( __('To use local videos as Featured Videos WordPress 3.6 or higher is required.', 'featured-video-plus'), $mediahref, '</a>' );
|
636 |
|
637 |
$this->help_localmedia = '
|
638 |
<h4 style="margin-bottom: 0;"></h4>
|
639 |
+
<p>'.$general.'</p>
|
640 |
<h4 style="margin-bottom: 0;">'.__('Supported Video Formats','featured-video-plus').':</h4>
|
641 |
+
<p style="margin-top: 0;"><code>webM</code>, <code>mp4</code>, <code>ogv</code>, <code>m4v</code>, <code>wmv</code>, <code>flv</code></p>
|
642 |
<h4 style="margin-bottom: 0;">'.__('Converting your videos','featured-video-plus').':</h4>
|
643 |
<p style="margin-top: 0;">'.sprintf(__('Take a look at the %sMiro Video Converter%s. It is open source, lightweight and compatible with Windows, Mac and Linux.','featured-video-plus'),'<a href="http://www.mirovideoconverter.com/" target="_blank">','</a>').'</p>
|
644 |
<h4 style="margin-bottom: 0;">'.__('Fixing upload errors','featured-video-plus').':</h4>
|
645 |
<ul style="margin-top: 0;">
|
646 |
<li>'.sprintf(__('Read %sthis%s on how to increase the <strong>maximum file upload size</strong>.','featured-video-plus'),'<a href="http://www.wpbeginner.com/wp-tutorials/how-to-increase-the-maximum-file-upload-size-in-wordpress/" target="_blank">','</a>').'</li>
|
647 |
+
</ul>'."\n";
|
|
|
|
|
|
|
648 |
|
649 |
$dir = wp_upload_dir();
|
650 |
$this->help_urls = '
|
660 |
<ul><li><code>(http(s)://)(www.)<strong>vimeo.com/<em>UNIQUEID</em></strong>(#stuff)</code></li></ul></li>
|
661 |
<li>Dailymotion:
|
662 |
<ul><li><code>(http(s)://)(www.)<strong>dailymotion.com/video/<em>UNIQUEID</em></strong>(_video_title)(#stuff)</code></li></ul></li>
|
|
|
|
|
663 |
</ul>'."\n";
|
664 |
|
665 |
}
|
php/frontend.php
CHANGED
@@ -33,6 +33,7 @@ class featured_video_plus_frontend {
|
|
33 |
* @since 1.0
|
34 |
*/
|
35 |
public function enqueue() {
|
|
|
36 |
$options = get_option('fvp-settings');
|
37 |
|
38 |
$deps = array('jquery');
|
@@ -40,21 +41,16 @@ class featured_video_plus_frontend {
|
|
40 |
wp_enqueue_script('jquery');
|
41 |
|
42 |
if ($options['sizing']['wmode'] == 'auto' && $options['usage']!='overlay') {
|
43 |
-
wp_enqueue_script('jquery.fitvids', FVP_URL .
|
44 |
-
//wp_enqueue_script('fvp_fitvids', FVP_URL . 'js/jquery.fitvids.js', array( 'jquery' ), FVP_VERSION, false ); // development
|
45 |
$deps[] = 'jquery.fitvids';
|
46 |
}
|
47 |
|
48 |
if ($options['usage']=='overlay') {
|
49 |
-
wp_enqueue_script( 'jquery.domwindow', FVP_URL .
|
50 |
-
//wp_enqueue_script( 'jquery.domwindow', FVP_URL . 'js/jquery.domwindow.js', array( 'jquery' ), FVP_VERSION ); // development
|
51 |
$deps[] = 'jquery.domwindow';
|
52 |
}
|
53 |
|
54 |
-
$deps
|
55 |
-
|
56 |
-
wp_enqueue_script( 'fvp_frontend', FVP_URL . 'js/frontend.min.js', $deps, FVP_VERSION ); // production
|
57 |
-
//wp_enqueue_script( 'fvp_frontend', FVP_URL . 'js/frontend.js', array( 'jquery' ), FVP_VERSION ); // development
|
58 |
|
59 |
wp_localize_script( 'fvp_frontend', 'fvpdata', array(
|
60 |
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
@@ -62,13 +58,12 @@ class featured_video_plus_frontend {
|
|
62 |
'fitvids' => isset($options['sizing']['wmode']) && $options['sizing']['wmode']=='auto',
|
63 |
'dynamic' => isset($options['usage']) && $options['usage']=='dynamic',
|
64 |
'overlay' => isset($options['usage']) && $options['usage']=='overlay',
|
65 |
-
'videojs' => isset($options['local']['enabled']) && $options['local']['enabled'],
|
66 |
'opacity' => '75',
|
67 |
'loadingw'=> FVP_URL . 'css/loading_w.gif',
|
68 |
'loadingb'=> FVP_URL . 'css/loading_b.gif'
|
69 |
) );
|
70 |
|
71 |
-
wp_enqueue_style('fvp_frontend', FVP_URL . 'css/frontend.css', array(), FVP_VERSION
|
72 |
}
|
73 |
|
74 |
/**
|
33 |
* @since 1.0
|
34 |
*/
|
35 |
public function enqueue() {
|
36 |
+
$min = SCRIPT_DEBUG ? '' : '.min';
|
37 |
$options = get_option('fvp-settings');
|
38 |
|
39 |
$deps = array('jquery');
|
41 |
wp_enqueue_script('jquery');
|
42 |
|
43 |
if ($options['sizing']['wmode'] == 'auto' && $options['usage']!='overlay') {
|
44 |
+
wp_enqueue_script('jquery.fitvids', FVP_URL . "js/jquery.fitvids$min.js", array( 'jquery' ), FVP_VERSION, false );
|
|
|
45 |
$deps[] = 'jquery.fitvids';
|
46 |
}
|
47 |
|
48 |
if ($options['usage']=='overlay') {
|
49 |
+
wp_enqueue_script( 'jquery.domwindow', FVP_URL . "js/jquery.domwindow$min.js", array( 'jquery' ), FVP_VERSION );
|
|
|
50 |
$deps[] = 'jquery.domwindow';
|
51 |
}
|
52 |
|
53 |
+
wp_enqueue_script( 'fvp_frontend', FVP_URL . "js/frontend$min.js", $deps, FVP_VERSION );
|
|
|
|
|
|
|
54 |
|
55 |
wp_localize_script( 'fvp_frontend', 'fvpdata', array(
|
56 |
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
58 |
'fitvids' => isset($options['sizing']['wmode']) && $options['sizing']['wmode']=='auto',
|
59 |
'dynamic' => isset($options['usage']) && $options['usage']=='dynamic',
|
60 |
'overlay' => isset($options['usage']) && $options['usage']=='overlay',
|
|
|
61 |
'opacity' => '75',
|
62 |
'loadingw'=> FVP_URL . 'css/loading_w.gif',
|
63 |
'loadingb'=> FVP_URL . 'css/loading_b.gif'
|
64 |
) );
|
65 |
|
66 |
+
wp_enqueue_style('fvp_frontend', FVP_URL . 'css/frontend.css', array(), FVP_VERSION );
|
67 |
}
|
68 |
|
69 |
/**
|
php/general.php
CHANGED
@@ -10,56 +10,6 @@
|
|
10 |
*/
|
11 |
class featured_video_plus {
|
12 |
|
13 |
-
public function __construct() {
|
14 |
-
add_action('wp_head', array( &$this, 'videojs_css') );
|
15 |
-
add_action('admin_head-post.php', array( &$this, 'videojs_css') );
|
16 |
-
add_action('admin_head-post-new.php', array( &$this, 'videojs_css') );
|
17 |
-
}
|
18 |
-
|
19 |
-
/**
|
20 |
-
* Enqueue all scripts and styles needed when viewing the frontend and backend.
|
21 |
-
*
|
22 |
-
* @see http://videojs.com/
|
23 |
-
* @since 1.2
|
24 |
-
*/
|
25 |
-
public function enqueue($hook_suffix) {
|
26 |
-
// just required on frontend, post.php and post-new.php
|
27 |
-
if( !is_admin() || ( ($hook_suffix == 'post.php' && isset($_GET['post'])) || $hook_suffix == 'post-new.php') ) {
|
28 |
-
$options = get_option( 'fvp-settings' );
|
29 |
-
|
30 |
-
// http://videojs.com/
|
31 |
-
if( $options['local']['enabled'] ) {
|
32 |
-
if( $options['local']['cdn'] ) {
|
33 |
-
wp_enqueue_script( 'videojs', 'http://vjs.zencdn.net/4.0/video.js',array(), FVP_VERSION, false );
|
34 |
-
wp_enqueue_style( 'videojs', 'http://vjs.zencdn.net/4.0/video-js.css',array(), FVP_VERSION, false );
|
35 |
-
} else {
|
36 |
-
wp_enqueue_script( 'videojs', FVP_URL . 'js/videojs.min.js', array(), FVP_VERSION, false );
|
37 |
-
wp_enqueue_style( 'videojs', FVP_URL . 'css/videojs.min.css', array(), FVP_VERSION, false );
|
38 |
-
wp_localize_script( 'videojs', 'videojsdata', array( 'swf' => FVP_URL . 'js/video-js.swf' ));
|
39 |
-
}
|
40 |
-
}
|
41 |
-
}
|
42 |
-
}
|
43 |
-
|
44 |
-
public function videojs_css() {
|
45 |
-
$options = get_option( 'fvp-settings' );
|
46 |
-
extract($options['local']);
|
47 |
-
if( ! $enabled )
|
48 |
-
return;
|
49 |
-
|
50 |
-
$r = hexdec(substr($background, 0, 2));
|
51 |
-
$g = hexdec(substr($background, 2, 2));
|
52 |
-
$b = hexdec(substr($background, 4, 2));
|
53 |
-
|
54 |
-
$style = "<style type='text/css'>"
|
55 |
-
.".vjs-default-skin{color:#$foreground}"
|
56 |
-
.".vjs-play-progress,.vjs-volume-level{background-color:#$highlight!important}"
|
57 |
-
.".vjs-control-bar,.vjs-big-play-button{background:rgba($r,$g,$b,0.7)!important}"
|
58 |
-
.".vjs-slider{background:rgba($r,$g,$b,0.2333)!important}"
|
59 |
-
."</style>\n";
|
60 |
-
echo $style;
|
61 |
-
}
|
62 |
-
|
63 |
/**
|
64 |
* Returns the featured video html, ready to echo.
|
65 |
*
|
@@ -104,32 +54,28 @@ class featured_video_plus {
|
|
104 |
|
105 |
switch ( $meta['prov'] ) {
|
106 |
case 'local':
|
107 |
-
|
108 |
-
|
109 |
-
if( $ext != 'mp4' && $ext != 'ogv' && $ext != 'webm' && $ext != 'ogg' )
|
110 |
-
break;
|
111 |
|
112 |
-
$
|
113 |
-
if (isset($options['local']['videojs']['poster']) && $options['local']['videojs']['poster'])
|
114 |
-
$poster = has_post_thumbnail($post_id) ? ' poster="'.wp_get_attachment_url( get_post_thumbnail_id($post_id) ).'"' : '';
|
115 |
-
$autoplay = $autoplay == '1' ? ' autoplay' : '';
|
116 |
|
117 |
-
$
|
118 |
-
$
|
|
|
119 |
|
120 |
-
$
|
121 |
-
$embed = "\n\t".'<video id="videojs'.esc_attr($meta['id']).'" class="video-js vjs-default-skin"width="'.$size['width'].'" height="'.$size['height'].'" preload="metadata" data-setup="{}"'.$controls.$loop.$autoplay.$poster.'>';
|
122 |
-
$embed .= "\n\t\t".'<source src="' . $a . '" type="video/'.$ext.'">';
|
123 |
|
124 |
-
|
125 |
-
|
126 |
-
$
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
|
|
|
|
131 |
|
132 |
-
$embed
|
133 |
break;
|
134 |
|
135 |
case 'vimeo':
|
@@ -165,7 +111,7 @@ class featured_video_plus {
|
|
165 |
break;
|
166 |
|
167 |
case 'liveleak':
|
168 |
-
|
169 |
break;
|
170 |
|
171 |
case 'prochan':
|
@@ -177,8 +123,11 @@ class featured_video_plus {
|
|
177 |
break;
|
178 |
}
|
179 |
|
|
|
|
|
|
|
180 |
$containerstyle = isset($options['sizing']['align']) ? ' style="text-align: '.$options['sizing']['align'].'"' : '';
|
181 |
-
$embed = "<div class=\"featured_video_plus\"{$containerstyle}>{$embed}</div>\n\n";
|
182 |
$embed = "\n\n<!-- Featured Video Plus v".FVP_VERSION."-->\n" . $embed;
|
183 |
|
184 |
return $embed;
|
10 |
*/
|
11 |
class featured_video_plus {
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
/**
|
14 |
* Returns the featured video html, ready to echo.
|
15 |
*
|
54 |
|
55 |
switch ( $meta['prov'] ) {
|
56 |
case 'local':
|
57 |
+
// mediaelement.js is only available in WordPress 3.6 and higher.
|
58 |
+
if( get_bloginfo('version') < 3.6 ) break;
|
|
|
|
|
59 |
|
60 |
+
$videourl = wp_get_attachment_url( $meta['id'] );
|
|
|
|
|
|
|
61 |
|
62 |
+
$ext = pathinfo( $videourl, PATHINFO_EXTENSION );
|
63 |
+
if( $ext != 'mp4' && $ext != 'ogv' && $ext != 'webm' && $ext != 'ogg' )
|
64 |
+
break;
|
65 |
|
66 |
+
$videometa = wp_get_attachment_metadata( $meta['id'] );
|
|
|
|
|
67 |
|
68 |
+
$atts = array(
|
69 |
+
'src' => $videourl,
|
70 |
+
'poster' => ! empty( $options['local']['poster'] ) && $options['local']['poster'] && has_post_thumbnail( $post_id ) ? wp_get_attachment_url( get_post_thumbnail_id( $post_id ) ) : '',
|
71 |
+
'loop' => ! empty( $options['local']['loop'] ) && $options['local']['loop'] ? 'on' : 'off',
|
72 |
+
'autoplay' => $autoplay == '1' ? 'on' : null,
|
73 |
+
'preload' => null, // $size['height'], //$size['width'], //
|
74 |
+
'height' => $options['sizing']['hmode' ] == 'auto' && ! is_admin() ? ( $options['sizing']['wmode' ] == 'auto' ? $videometa['height'] * 8 : $videometa['height'] / $videometa['width'] * $videometa['height'] ) : $size['height'],
|
75 |
+
'width' => $options['sizing']['wmode' ] == 'auto' && ! is_admin() ? $videometa['width'] * 8 : $size['width'],
|
76 |
+
);
|
77 |
|
78 |
+
$embed = wp_video_shortcode( $atts );
|
79 |
break;
|
80 |
|
81 |
case 'vimeo':
|
111 |
break;
|
112 |
|
113 |
case 'liveleak':
|
114 |
+
$embed = "\n" . '<iframe width="'.$size['width'].'" height="'.$size['height'].'" src="http://www.liveleak.com/ll_embed?f='.$meta['id'].'" frameborder="0" allowfullscreen></iframe>';
|
115 |
break;
|
116 |
|
117 |
case 'prochan':
|
123 |
break;
|
124 |
}
|
125 |
|
126 |
+
if ( ! $embed ) return '';
|
127 |
+
|
128 |
+
$class = $options['sizing']['wmode' ] == 'auto' ? ' responsive' : '';
|
129 |
$containerstyle = isset($options['sizing']['align']) ? ' style="text-align: '.$options['sizing']['align'].'"' : '';
|
130 |
+
$embed = "<div class=\"featured_video_plus{$class}\"{$containerstyle}>{$embed}</div>\n\n";
|
131 |
$embed = "\n\n<!-- Featured Video Plus v".FVP_VERSION."-->\n" . $embed;
|
132 |
|
133 |
return $embed;
|
php/settings.php
CHANGED
@@ -89,10 +89,6 @@ if( !current_theme_supports('post-thumbnails') )
|
|
89 |
<input type="radio" name="fvp-settings[autoplay]" id="fvp-settings-autoplay-3" value="no" <?php checked( 'no', $autoplay ) ?>/>
|
90 |
<label for="fvp-settings-autoplay-2"> <?php _e('no', 'featured-video-plus'); ?> <span style="font-style: italic;">(<?php _e('default', 'featured-video-plus'); ?>)</span></label>
|
91 |
|
92 |
-
<p class="description"><?php printf(__('%1$syes%2$s is only relevant with manual usage or usage set to default. %1$sauto%2$s behaves differently depending on the usage case (set-able above):', 'featured-video-plus'),'<code>','</code>'); ?><br />
|
93 |
-
<?php _e( 'Autoplay when only a single post is being displayed, the video overlay is opened or the featured image is dynamically replaced with the featured video.', 'featured-video-plus' ); ?></li>
|
94 |
-
</p>
|
95 |
-
|
96 |
<?php }
|
97 |
|
98 |
/**
|
@@ -151,46 +147,15 @@ if( !current_theme_supports('post-thumbnails') )
|
|
151 |
/**
|
152 |
* Displays the settings for local videos
|
153 |
*
|
154 |
-
* @see https://github.com/zencoder/video-js/blob/master/docs/skins.md
|
155 |
-
* @see http://jlofstedt.com/moonify/
|
156 |
-
* @see http://videojs.com/
|
157 |
* @since 1.5
|
158 |
*/
|
159 |
function settings_local() {
|
160 |
$options = get_option( 'fvp-settings' );
|
161 |
-
$local['enabled'] = isset($options['local']['enabled']) ? $options['local']['enabled'] : true;
|
162 |
-
$local['cdn'] = isset($options['local']['cdn']) ? $options['local']['cdn'] : false;
|
163 |
$local['poster'] = isset($options['local']['poster']) ? $options['local']['poster'] : false;
|
164 |
-
$local['loop'] = isset($options['local']['loop']) ? $options['local']['loop'] : false;
|
165 |
-
|
166 |
-
$local['foreground']= isset($options['local']['foreground'])? $options['local']['foreground'] : 'cccccc';
|
167 |
-
$local['highlight' ]= isset($options['local']['highlight' ])? $options['local']['highlight' ] : '66a8cc';
|
168 |
-
$local['background']= isset($options['local']['background'])? $options['local']['background'] : '000000'; ?>
|
169 |
-
|
170 |
-
<input type="checkbox" name="fvp-settings[local][enabled]" id="fvp-settings-local-enabled" value="true" <?php checked( true, $local['enabled'], 1 ) ?>/><label for="fvp-settings-local-enabled"> <?php _e('Enable', 'featured-video-plus'); ?></label> <a href="http://www.videojs.com/" target="_blank">Video.js</a>
|
171 |
-
<div id="fvp-settings-local-box"<?php if( !$local['enabled'] ) echo ' style="display: none;"'; ?>>
|
172 |
-
<input type="checkbox" name="fvp-settings[local][cdn]" id="fvp-settings-local-cdn" value="true" <?php checked( true, $local['cdn'], 1 ) ?>/><label for="fvp-settings-local-cdn"> <?php _e('Use CDN', 'featured-video-plus'); ?></label>
|
173 |
<input type="checkbox" name="fvp-settings[local][poster]" id="fvp-settings-local-poster" value="true" <?php checked( true, $local['poster'], 1 ) ?>/><label for="fvp-settings-local-poster"> <?php _e('Use featured image as video thumbnail', 'featured-video-plus'); ?></label>
|
174 |
<input type="checkbox" name="fvp-settings[local][loop]" id="fvp-settings-local-loop" value="true" <?php checked( true, $local['loop'], 1 ) ?>/><label for="fvp-settings-local-loop"> <?php _e('Loop videos', 'featured-video-plus'); ?></label>
|
175 |
-
<input type="checkbox" name="fvp-settings[local][controls]" id="fvp-settings-local-controls" value="true" <?php checked( true, $local['controls'],1 ) ?>/><label for="fvp-settings-local-controls"> <?php _e('Show controls', 'featured-video-plus'); ?></label>
|
176 |
-
<div id="fvp-settings-local-box2"<?php if( !$local['controls'] ) echo ' style="display: none;"'; ?>>
|
177 |
-
<span class="color-picker" style="position: relative;<?php if( wp_style_is( 'wp-color-picker', 'done' ) ) echo ' top: .6em;'; ?>" >
|
178 |
-
<input type="text" name="fvp-settings[local][foreground]" id="fvp-settings-local-foreground" class="fvp_colorpicker_input" value="#<?php echo $local['foreground'] ?>" data-default-color="#cccccc" />
|
179 |
-
<label for="fvp-settings-local-foreground" style="display: none;"> <?php _e('Foreground', 'featured-video-plus'); ?></label>
|
180 |
-
<?php if( !wp_style_is('wp-color-picker', 'registered' ) ) { ?><div class="fvp_colorpicker" id="fvp-settings-local-foreground-colorpicker"></div><?php } ?>
|
181 |
-
</span>
|
182 |
-
<span class="color-picker" style="position: relative;<?php if( wp_style_is( 'wp-color-picker', 'done' ) ) echo ' top: .6em;'; ?>" >
|
183 |
-
<input type="text" name="fvp-settings[local][highlight]" id="fvp-settings-local-highlight" class="fvp_colorpicker_input" value="#<?php echo $local['highlight'] ?>" data-default-color="#66a8cc" />
|
184 |
-
<label for="fvp-settings-local-highlight" style="display: none;"> <?php _e('Highlight', 'featured-video-plus'); ?></label>
|
185 |
-
<?php if( !wp_style_is('wp-color-picker', 'registered' ) ) { ?><div class="fvp_colorpicker" id="fvp-settings-local-highlight-colorpicker"></div><?php } ?>
|
186 |
-
</span>
|
187 |
-
<span class="color-picker" style="position: relative;<?php if( wp_style_is( 'wp-color-picker', 'done' ) ) echo ' top: .6em;'; ?>" >
|
188 |
-
<input type="text" name="fvp-settings[local][background]" id="fvp-settings-local-background" class="fvp_colorpicker_input" value="#<?php echo $local['background'] ?>" data-default-color="#000000" />
|
189 |
-
<label for="fvp-settings-local-background" style="display: none;"> <?php _e('Background', 'featured-video-plus'); ?></label>
|
190 |
-
<?php if( !wp_style_is('wp-color-picker', 'registered' ) ) { ?><div class="fvp_colorpicker" id="fvp-settings-local-background-colorpicker"></div><?php } ?>
|
191 |
-
</span>
|
192 |
-
</div>
|
193 |
-
</div>
|
194 |
|
195 |
<?php }
|
196 |
|
@@ -351,19 +316,9 @@ if( !current_theme_supports('post-thumbnails') )
|
|
351 |
$options['autoplay'] = isset( $input['autoplay'] ) ? $input['autoplay'] : 'no'; //yes/auto/no
|
352 |
|
353 |
// Local
|
354 |
-
$options['local']['enabled'] = isset( $input['local']['enabled'] ) ? true : false;
|
355 |
-
$options['local']['cdn'] = isset( $input['local']['cdn'] ) ? true : false;
|
356 |
$options['local']['poster'] = isset( $input['local']['poster'] ) ? true : false;
|
357 |
-
$options['local']['controls'] = isset( $input['local']['controls'] ) ? true : false;
|
358 |
$options['local']['loop'] = isset( $input['local']['loop'] ) ? true : false;
|
359 |
|
360 |
-
if( isset($options['local']['foreground']) ) preg_match($hexcolor, $input['local']['foreground'], $local_foreground);
|
361 |
-
if( isset($options['local']['highlight']) ) preg_match($hexcolor, $input['local']['highlight'], $local_highlight);
|
362 |
-
if( isset($options['local']['background']) ) preg_match($hexcolor, $input['local']['background'], $local_background);
|
363 |
-
$options['local']['foreground'] = isset($local_foreground[1]) && !empty($local_foreground[1])? $local_foreground[1] : 'cccccc';
|
364 |
-
$options['local']['highlight'] = isset($local_highlight[ 1]) && !empty($local_highlight[ 1])? $local_highlight[ 1] : '66a8cc';
|
365 |
-
$options['local']['background'] = isset($local_background[1]) && !empty($local_background[1])? $local_background[1] : '000000';
|
366 |
-
|
367 |
// YouTube
|
368 |
$options['youtube']['theme'] = isset($input['youtube']['theme']) && ( $input['youtube']['theme'] == 'light') ? 'light' : 'dark';
|
369 |
$options['youtube']['color'] = isset($input['youtube']['color']) && ( $input['youtube']['color'] == 'white') ? 'white' : 'red';
|
89 |
<input type="radio" name="fvp-settings[autoplay]" id="fvp-settings-autoplay-3" value="no" <?php checked( 'no', $autoplay ) ?>/>
|
90 |
<label for="fvp-settings-autoplay-2"> <?php _e('no', 'featured-video-plus'); ?> <span style="font-style: italic;">(<?php _e('default', 'featured-video-plus'); ?>)</span></label>
|
91 |
|
|
|
|
|
|
|
|
|
92 |
<?php }
|
93 |
|
94 |
/**
|
147 |
/**
|
148 |
* Displays the settings for local videos
|
149 |
*
|
|
|
|
|
|
|
150 |
* @since 1.5
|
151 |
*/
|
152 |
function settings_local() {
|
153 |
$options = get_option( 'fvp-settings' );
|
|
|
|
|
154 |
$local['poster'] = isset($options['local']['poster']) ? $options['local']['poster'] : false;
|
155 |
+
$local['loop'] = isset($options['local']['loop']) ? $options['local']['loop'] : false; ?>
|
156 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
<input type="checkbox" name="fvp-settings[local][poster]" id="fvp-settings-local-poster" value="true" <?php checked( true, $local['poster'], 1 ) ?>/><label for="fvp-settings-local-poster"> <?php _e('Use featured image as video thumbnail', 'featured-video-plus'); ?></label>
|
158 |
<input type="checkbox" name="fvp-settings[local][loop]" id="fvp-settings-local-loop" value="true" <?php checked( true, $local['loop'], 1 ) ?>/><label for="fvp-settings-local-loop"> <?php _e('Loop videos', 'featured-video-plus'); ?></label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
|
160 |
<?php }
|
161 |
|
316 |
$options['autoplay'] = isset( $input['autoplay'] ) ? $input['autoplay'] : 'no'; //yes/auto/no
|
317 |
|
318 |
// Local
|
|
|
|
|
319 |
$options['local']['poster'] = isset( $input['local']['poster'] ) ? true : false;
|
|
|
320 |
$options['local']['loop'] = isset( $input['local']['loop'] ) ? true : false;
|
321 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
322 |
// YouTube
|
323 |
$options['youtube']['theme'] = isset($input['youtube']['theme']) && ( $input['youtube']['theme'] == 'light') ? 'light' : 'dark';
|
324 |
$options['youtube']['color'] = isset($input['youtube']['color']) && ( $input['youtube']['color'] == 'white') ? 'white' : 'red';
|
php/upgrade.php
CHANGED
@@ -86,17 +86,6 @@ function featured_video_plus_upgrade() {
|
|
86 |
$options['local']['videojs']['cdn'] = false;
|
87 |
unset($options['videojs']);
|
88 |
|
89 |
-
// update video data ('attr' to 'time') and fix serialization
|
90 |
-
$ids = $GLOBALS['featured_video_plus']->get_post_by_custom_meta('_fvp_video');
|
91 |
-
foreach( $ids as $id ) {
|
92 |
-
$meta = maybe_unserialize(get_post_meta( $id, '_fvp_video', true ));
|
93 |
-
if( isset( $meta['attr'] ) ) {
|
94 |
-
$meta['time'] = $meta['attr'];
|
95 |
-
unset($meta['attr']);
|
96 |
-
update_post_meta($id, '_fvp_video', $meta);
|
97 |
-
}
|
98 |
-
}
|
99 |
-
|
100 |
|
101 |
case '1.5':
|
102 |
case '1.5.1':
|
@@ -126,6 +115,33 @@ function featured_video_plus_upgrade() {
|
|
126 |
$options['autoplay'] = $options['autoplay'] ? 'yes' : 'no'; //yes/auto/no
|
127 |
|
128 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
// *************************************************************
|
130 |
default:
|
131 |
$options['version'] = FVP_VERSION;
|
86 |
$options['local']['videojs']['cdn'] = false;
|
87 |
unset($options['videojs']);
|
88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
|
90 |
case '1.5':
|
91 |
case '1.5.1':
|
115 |
$options['autoplay'] = $options['autoplay'] ? 'yes' : 'no'; //yes/auto/no
|
116 |
|
117 |
|
118 |
+
case '1.8':
|
119 |
+
unset(
|
120 |
+
$options['local']['cdn'],
|
121 |
+
$options['local']['enabled'],
|
122 |
+
$options['local']['foreground'],
|
123 |
+
$options['local']['background'],
|
124 |
+
$options['local']['controls']
|
125 |
+
);
|
126 |
+
|
127 |
+
// check all featured video post metas
|
128 |
+
$ids = $GLOBALS['featured_video_plus']->get_post_by_custom_meta('_fvp_video');
|
129 |
+
foreach( $ids as $id ) {
|
130 |
+
$meta = $meta_old = maybe_unserialize(get_post_meta( $id, '_fvp_video', true ));
|
131 |
+
// update video data ('attr' to 'time') and fix serialization, was in case '1.4'
|
132 |
+
if( isset( $meta['attr'] ) ) {
|
133 |
+
$meta['time'] = $meta['attr'];
|
134 |
+
unset($meta['attr']);
|
135 |
+
}
|
136 |
+
|
137 |
+
// remove 'sec_id', only one local video file is used now.
|
138 |
+
if( isset( $meta['sec_id'] ) )
|
139 |
+
unset($meta['sec_id']);
|
140 |
+
if ( $meta != $meta_old )
|
141 |
+
update_post_meta($id, '_fvp_video', $meta);
|
142 |
+
}
|
143 |
+
|
144 |
+
|
145 |
// *************************************************************
|
146 |
default:
|
147 |
$options['version'] = FVP_VERSION;
|
readme.txt
CHANGED
@@ -8,28 +8,28 @@ Author URI: http://yrnxt.com/
|
|
8 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=a%2ehoereth%40gmail%2ecom
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
-
Requires at least: 3.
|
12 |
-
Tested up to: 3.
|
13 |
-
Stable tag: 1.
|
14 |
|
15 |
Add Featured Videos to your posts and pages. Works like magic with most themes which use Featured Images. Local Media, YouTube, Vimeo, Dailymotion.
|
16 |
|
17 |
== Description ==
|
18 |
*A picture is worth a thousand words. How many words is a video worth?*
|
19 |
|
20 |
-
This plugin enables you to define Featured Videos, which
|
21 |
|
22 |
1. If your theme already makes use of [Featured Images](http://codex.wordpress.org/Post_Thumbnails), these will in most themes __automatically__ be replaced by your Featured Videos if available. Alternatively you can
|
23 |
2. insert the `[featured-video-plus]`-__Shortcode__ in your posts or
|
24 |
3. manually make use of the __PHP functions__ in your theme's source files.
|
25 |
|
26 |
-
Instead of option 1 the plugin can also request the videos using an AJAX request when the
|
27 |
|
28 |
-
See the theme in action on [yrnxt.com](http://yrnxt.com/wordpress/featured-video-plus/). Also take a look at the [Garvan](http://www.web2feel.com/garvan/) video blogging theme.
|
29 |
|
30 |
-
Beside your __Local Videos__ (
|
31 |
|
32 |
-
The plugin adds customization options to your Media Settings. Beside aesthetic individualizations for each video platform's player you can turn off automatic
|
33 |
|
34 |
= Shortcode =
|
35 |
|
@@ -50,7 +50,7 @@ All parameters are optional. If no `$post_id` is given the current post's ID wil
|
|
50 |
|
51 |
|
52 |
|
53 |
-
*This plugin was created with the original [Featured Video](http://wordpress.org/extend/plugins/featured-video/) plugin in mind. __Featured Video Plus__ was freshly coded from ground up to bring you more features and to integrate more
|
54 |
|
55 |
|
56 |
== Installation ==
|
@@ -64,6 +64,12 @@ The plugin is ready to go. Now edit your posts and add video links to the "Featu
|
|
64 |
|
65 |
== Changelog ==
|
66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
= 1.8: 2013-05-16 =
|
68 |
* Video.js [4.0](http://blog.videojs.com/post/50021214078/video-js-4-0-now-available)
|
69 |
* Customize the local video player
|
8 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=a%2ehoereth%40gmail%2ecom
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
+
Requires at least: 3.2
|
12 |
+
Tested up to: 3.9
|
13 |
+
Stable tag: 1.9
|
14 |
|
15 |
Add Featured Videos to your posts and pages. Works like magic with most themes which use Featured Images. Local Media, YouTube, Vimeo, Dailymotion.
|
16 |
|
17 |
== Description ==
|
18 |
*A picture is worth a thousand words. How many words is a video worth?*
|
19 |
|
20 |
+
This plugin enables you to define Featured Videos, which can automatically be displayed instead of Featured Images. There are three ways to get the videos onto your page:
|
21 |
|
22 |
1. If your theme already makes use of [Featured Images](http://codex.wordpress.org/Post_Thumbnails), these will in most themes __automatically__ be replaced by your Featured Videos if available. Alternatively you can
|
23 |
2. insert the `[featured-video-plus]`-__Shortcode__ in your posts or
|
24 |
3. manually make use of the __PHP functions__ in your theme's source files.
|
25 |
|
26 |
+
Instead of option 1 the plugin can also request the videos using an AJAX request when the Featured Image is clicked. This reduces load times and gives you the flexibility to display videos in a lightbox to ensure your theme does not break.
|
27 |
|
28 |
+
See the theme in action on [yrnxt.com](http://yrnxt.com/wordpress/featured-video-plus/). Also take a look at the [Garvan](http://www.web2feel.com/garvan/) video blogging theme which makes optimal use of this plugin.
|
29 |
|
30 |
+
Beside your __Local Videos__ (WordPress 3.6+ required) you can use videos from __YouTube__, __Vimeo__ and __Dailymotion__. If you miss a certain video platform: [Leave me a note](http://wordpress.org/support/plugin/featured-video-plus). For YouTube and Dailymotion the plugin also features [time-links](http://support.google.com/youtube/bin/answer.py?hl=en&answer=116618).
|
31 |
|
32 |
+
The plugin adds customization options to your Media Settings. Beside aesthetic individualizations for each video platform's player you can turn off automatic featured image replacement, turn on autoplay, define your Dailymotion Syndication Key and tweak video sizing. By default videos try to dynamically fit their parent containers width. Take a look at *Settings -> Media*.
|
33 |
|
34 |
= Shortcode =
|
35 |
|
50 |
|
51 |
|
52 |
|
53 |
+
*This plugin was created with the original [Featured Video](http://wordpress.org/extend/plugins/featured-video/) plugin in mind. __Featured Video Plus__ was freshly coded from ground up to bring you more features and to integrate more seamlessly into WordPress.*
|
54 |
|
55 |
|
56 |
== Installation ==
|
64 |
|
65 |
== Changelog ==
|
66 |
|
67 |
+
|
68 |
+
= 1.9: 2014-01-02 =
|
69 |
+
* Replaced Video.js with MediaElement.js (ships with WordPress since 3.6 - __breaks local videos partially if you use an older WordPress version!__)
|
70 |
+
* Added Spanish translations! Translation by [WebHostingHub.com](http://webhostinghub.com)
|
71 |
+
* Updated FitVids.js to 1.0.3
|
72 |
+
|
73 |
= 1.8: 2013-05-16 =
|
74 |
* Video.js [4.0](http://blog.videojs.com/post/50021214078/video-js-4-0-now-available)
|
75 |
* Customize the local video player
|