WordPress.org

Plugin Directory

Changeset 1456660


Ignore:
Timestamp:
07/19/16 00:01:53 (9 months ago)
Author:
blakedotvegas
Message:

Add ability to filter post types

Location:
video-background/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • video-background/trunk/candide-vidbg.php

    r1449775 r1456660  
    55Description: jQuery WordPress plugin to easily assign a video background to any element. Awesome. 
    66Author: Blake Wilson 
    7 Version: 2.5.6 
     7Version: 2.5.7 
    88Author URI: http://blakewilson.me 
    99Donate Link: http://paypal.me/blakewilsonme 
     
    160160    $prefix = 'vidbg_metabox_field_'; 
    161161    $post_types = array( 'post', 'page' ); 
     162 
     163    /** 
     164     * Allow the post types to be filtered out 
     165     */ 
     166    $post_types = apply_filters( 'vidbg_post_types', $post_types ); 
    162167 
    163168    $vidbg_metabox = new_cmb2_box( array( 
  • video-background/trunk/languages/video-background.pot

    r1449775 r1456660  
    44"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 
    55"Project-Id-Version: Video Background\n" 
    6 "POT-Creation-Date: 2016-07-06 00:46-0700\n" 
     6"POT-Creation-Date: 2016-07-18 16:58-0700\n" 
    77"PO-Revision-Date: 2016-03-30 22:31-0700\n" 
    88"Last-Translator: \n" 
     
    3838 
    3939#. Plugin Name of the plugin/theme 
    40 #: candide-vidbg.php:165 
     40#: candide-vidbg.php:170 
    4141msgid "Video Background" 
    4242msgstr "" 
    4343 
    44 #: candide-vidbg.php:172 
     44#: candide-vidbg.php:177 
    4545msgid "Container" 
    4646msgstr "" 
    4747 
    48 #: candide-vidbg.php:173 
     48#: candide-vidbg.php:178 
    4949msgid "" 
    5050"Please specify the container you would like your video background to be in." 
     
    5252msgstr "" 
    5353 
    54 #: candide-vidbg.php:177 
     54#: candide-vidbg.php:182 
    5555msgid "YouTube Link" 
    5656msgstr "" 
    5757 
    58 #: candide-vidbg.php:180 
     58#: candide-vidbg.php:185 
    5959msgid "" 
    6060"To create YouTube video backgrounds, <a href=\"http://pushlabs.co/video-" 
     
    6363msgstr "" 
    6464 
    65 #: candide-vidbg.php:185 
     65#: candide-vidbg.php:190 
    6666msgid "Link to .mp4" 
    6767msgstr "" 
    6868 
    69 #: candide-vidbg.php:186 
     69#: candide-vidbg.php:191 
    7070msgid "" 
    7171"Please specify the link to the .mp4 file. You can either enter a URL or " 
     
    7474msgstr "" 
    7575 
    76 #: candide-vidbg.php:190 
     76#: candide-vidbg.php:195 
    7777msgid "Upload .mp4 file" 
    7878msgstr "" 
    7979 
    80 #: candide-vidbg.php:195 
     80#: candide-vidbg.php:200 
    8181msgid "Link to .webm" 
    8282msgstr "" 
    8383 
    84 #: candide-vidbg.php:196 
     84#: candide-vidbg.php:201 
    8585msgid "" 
    8686"Please specify the link to the .webm file. You can either enter a URL or " 
     
    8989msgstr "" 
    9090 
    91 #: candide-vidbg.php:200 
     91#: candide-vidbg.php:205 
    9292msgid "Upload .webm file" 
    9393msgstr "" 
    9494 
    95 #: candide-vidbg.php:205 
     95#: candide-vidbg.php:210 
    9696msgid "Link to fallback image" 
    9797msgstr "" 
    9898 
    99 #: candide-vidbg.php:206 
     99#: candide-vidbg.php:211 
    100100msgid "" 
    101101"Please specify a link to the fallback image in case the browser does not " 
     
    103103msgstr "" 
    104104 
    105 #: candide-vidbg.php:210 
     105#: candide-vidbg.php:215 
    106106msgid "Upload fallback image" 
    107107msgstr "" 
    108108 
    109 #: candide-vidbg.php:215 
     109#: candide-vidbg.php:220 
    110110msgid "Overlay" 
    111111msgstr "" 
    112112 
    113 #: candide-vidbg.php:216 
     113#: candide-vidbg.php:221 
    114114msgid "" 
    115115"Add an overlay over the video. This is useful if your text isn't readable " 
     
    117117msgstr "" 
    118118 
    119 #: candide-vidbg.php:221 candide-vidbg.php:258 candide-vidbg.php:270 
     119#: candide-vidbg.php:226 candide-vidbg.php:263 candide-vidbg.php:275 
    120120msgid "Off" 
    121121msgstr "" 
    122122 
    123 #: candide-vidbg.php:222 candide-vidbg.php:259 candide-vidbg.php:271 
     123#: candide-vidbg.php:227 candide-vidbg.php:264 candide-vidbg.php:276 
    124124msgid "On" 
    125125msgstr "" 
    126126 
    127 #: candide-vidbg.php:228 
     127#: candide-vidbg.php:233 
    128128msgid "Overlay Color" 
    129129msgstr "" 
    130130 
    131 #: candide-vidbg.php:229 
     131#: candide-vidbg.php:234 
    132132msgid "" 
    133133"If overlay is enabled, a color will be used for the overlay. You can specify " 
     
    135135msgstr "" 
    136136 
    137 #: candide-vidbg.php:236 
     137#: candide-vidbg.php:241 
    138138msgid "Overlay Opacity" 
    139139msgstr "" 
    140140 
    141 #: candide-vidbg.php:237 
     141#: candide-vidbg.php:242 
    142142msgid "" 
    143143"Specify the opacity of the overlay with the left being mostly transparent " 
     
    145145msgstr "" 
    146146 
    147 #: candide-vidbg.php:244 
     147#: candide-vidbg.php:249 
    148148msgid "Overlay Texture" 
    149149msgstr "" 
    150150 
    151 #: candide-vidbg.php:247 
     151#: candide-vidbg.php:252 
    152152msgid "" 
    153153"To add overlay textures to your video background, <a href=\"http://pushlabs." 
     
    156156msgstr "" 
    157157 
    158 #: candide-vidbg.php:252 
     158#: candide-vidbg.php:257 
    159159msgid "Turn off loop?" 
    160160msgstr "" 
    161161 
    162 #: candide-vidbg.php:253 
     162#: candide-vidbg.php:258 
    163163msgid "" 
    164164"Turn off the loop for Video Background. Once the video is complete, it will " 
     
    166166msgstr "" 
    167167 
    168 #: candide-vidbg.php:264 
     168#: candide-vidbg.php:269 
    169169msgid "Play the audio?" 
    170170msgstr "" 
    171171 
    172 #: candide-vidbg.php:265 
     172#: candide-vidbg.php:270 
    173173msgid "Enabling this will play the audio of the video." 
    174174msgstr "" 
    175175 
    176 #: candide-vidbg.php:274 
     176#: candide-vidbg.php:279 
    177177msgid "Enable Play/Pause button" 
    178178msgstr "" 
    179179 
    180 #: candide-vidbg.php:277 
     180#: candide-vidbg.php:282 
    181181msgid "" 
    182182"To enable a play/pause button on the frontend, <a href=\"http://pushlabs.co/" 
     
    185185msgstr "" 
    186186 
    187 #: candide-vidbg.php:279 
     187#: candide-vidbg.php:284 
    188188msgid "Enable Mute/Unmute button" 
    189189msgstr "" 
    190190 
    191 #: candide-vidbg.php:282 
     191#: candide-vidbg.php:287 
    192192msgid "" 
    193193"To enable a mute/unmute button on the frontend, <a href=\"http://pushlabs.co/" 
     
    196196msgstr "" 
    197197 
    198 #: candide-vidbg.php:287 
     198#: candide-vidbg.php:292 
    199199msgid "" 
    200200"<a href=\"#vidbg_advanced_options\" class=\"button vidbg-button advanced-" 
     
    202202msgstr "" 
    203203 
    204 #: candide-vidbg.php:475 candide-vidbg.php:482 
     204#: candide-vidbg.php:480 candide-vidbg.php:487 
    205205msgid "Hide Muted Pro Fields" 
    206206msgstr "" 
    207207 
    208 #: candide-vidbg.php:520 
     208#: candide-vidbg.php:525 
    209209msgid "" 
    210210"Okay, Okay, some of you don't want/need Video Background Pro. I get that. " 
     
    212212msgstr "" 
    213213 
    214 #: candide-vidbg.php:535 
     214#: candide-vidbg.php:540 
    215215msgid "<h2>Video Background</h2>" 
    216216msgstr "" 
    217217 
    218 #: candide-vidbg.php:536 
     218#: candide-vidbg.php:541 
    219219msgid "" 
    220220"<p>Video background makes it easy to add responsive, great looking video " 
     
    222222msgstr "" 
    223223 
    224 #: candide-vidbg.php:537 
     224#: candide-vidbg.php:542 
    225225msgid "<h3>Getting Started</h3>" 
    226226msgstr "" 
    227227 
    228 #: candide-vidbg.php:538 
     228#: candide-vidbg.php:543 
    229229msgid "" 
    230230"<p>To implement Video Background on your website, please follow the " 
     
    232232msgstr "" 
    233233 
    234 #: candide-vidbg.php:540 
     234#: candide-vidbg.php:545 
    235235msgid "" 
    236236"<li>Edit the page or post you would like the video background to appear on.</" 
     
    238238msgstr "" 
    239239 
    240 #: candide-vidbg.php:541 
     240#: candide-vidbg.php:546 
    241241msgid "" 
    242242"<li>Below the content editor, you should see a metabox titled <b>Video " 
     
    245245msgstr "" 
    246246 
    247 #: candide-vidbg.php:542 
     247#: candide-vidbg.php:547 
    248248msgid "<li>Enjoy.</li>" 
    249249msgstr "" 
    250250 
    251 #: candide-vidbg.php:544 
     251#: candide-vidbg.php:549 
    252252msgid "" 
    253253"<p>Alternatively, you can use the shortcode by placing the following code at " 
     
    256256msgstr "" 
    257257 
    258 #: candide-vidbg.php:546 
     258#: candide-vidbg.php:551 
    259259msgid "" 
    260260"<a href=\"http://blakewilson.me/projects/video-background/\" class=\"button" 
     
    262262msgstr "" 
    263263 
    264 #: candide-vidbg.php:547 
     264#: candide-vidbg.php:552 
    265265msgid "<h3>Questions?</h3>" 
    266266msgstr "" 
    267267 
    268 #: candide-vidbg.php:548 
     268#: candide-vidbg.php:553 
    269269msgid "" 
    270270"<p>If you have any feedback/questions regarding the plugin you can reach me " 
     
    273273msgstr "" 
    274274 
    275 #: candide-vidbg.php:549 
     275#: candide-vidbg.php:554 
    276276msgid "<h3>Supporting the Plugin</h3>" 
    277277msgstr "" 
    278278 
    279 #: candide-vidbg.php:550 
     279#: candide-vidbg.php:555 
    280280msgid "" 
    281281"<p>If you like Video Background and want to show your support, consider " 
     
    285285msgstr "" 
    286286 
    287 #: candide-vidbg.php:552 
     287#: candide-vidbg.php:557 
    288288msgid "<li>YouTube Integration</li>" 
    289289msgstr "" 
    290290 
    291 #: candide-vidbg.php:553 
     291#: candide-vidbg.php:558 
    292292msgid "<li>Visual Composer Integration</li>" 
    293293msgstr "" 
    294294 
    295 #: candide-vidbg.php:554 
     295#: candide-vidbg.php:559 
    296296msgid "<li>Page Builder by SiteOrigin Integration</li>" 
    297297msgstr "" 
    298298 
    299 #: candide-vidbg.php:555 
     299#: candide-vidbg.php:560 
    300300msgid "<li>Frontend Play/Pause Button Option</li>" 
    301301msgstr "" 
    302302 
    303 #: candide-vidbg.php:556 
     303#: candide-vidbg.php:561 
    304304msgid "<li>Frontend Volume Button Option</li>" 
    305305msgstr "" 
    306306 
    307 #: candide-vidbg.php:557 
     307#: candide-vidbg.php:562 
    308308msgid "<li>Overlay Image Textures</li>" 
    309309msgstr "" 
    310310 
    311 #: candide-vidbg.php:558 
     311#: candide-vidbg.php:563 
    312312msgid "<li>Extensive Documentation</li>" 
    313313msgstr "" 
    314314 
    315 #: candide-vidbg.php:559 
     315#: candide-vidbg.php:564 
    316316msgid "<li>Video Tutorials</li>" 
    317317msgstr "" 
    318318 
    319 #: candide-vidbg.php:560 
     319#: candide-vidbg.php:565 
    320320msgid "<li>And Much More!</li>" 
    321321msgstr "" 
    322322 
    323 #: candide-vidbg.php:562 
     323#: candide-vidbg.php:567 
    324324msgid "" 
    325325"<a href=\"http://pushlabs.co/video-background-pro\" class=\"button button-" 
     
    328328msgstr "" 
    329329 
    330 #: candide-vidbg.php:563 
     330#: candide-vidbg.php:568 
    331331msgid "" 
    332332" <a href=\"https://twitter.com/intent/follow?screen_name=blakewilsonme\" " 
     
    335335msgstr "" 
    336336 
    337 #: candide-vidbg.php:580 
     337#: candide-vidbg.php:585 
    338338msgid "<a href=\"options-general.php?page=html5-vidbg\">Getting Started</a>" 
    339339msgstr "" 
  • video-background/trunk/readme.txt

    r1449775 r1456660  
    44Requires at least: 3.8.0 
    55Tested up to: 4.5.3 
    6 Stable tag: 2.5.6 
     6Stable tag: 2.5.7 
    77License: GPLv2 or later 
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    8585 
    8686== Changelog == 
     87 
     88= 2.5.7 = 
     89* Added ability to filter the post types using "vidbg_post_types" filter. 
    8790 
    8891= 2.5.6 = 
Note: See TracChangeset for help on using the changeset viewer.