Plugin Directory

Changeset 2285861


Ignore:
Timestamp:
04/17/2020 04:40:40 PM (6 years ago)
Author:
sandirosyandi
Message:

Added support for Youtube shorten URL

Location:
link-to-popup
Files:
12 added
4 edited

Legend:

Unmodified
Added
Removed
  • link-to-popup/branches/js/link-to-popup.js

    r2285117 r2285861  
    1515                    var selectors = response.data.selectors.join(', ');
    1616                    $(selectors).magnificPopup({
    17                         type: 'iframe'
     17                        type: 'iframe',
     18                        iframe: {
     19                            patterns: {
     20                                youtu: {
     21                                    index: 'youtu.be',
     22                                    id: 'be/',
     23                                    src: '//www.youtube.com/embed/%id%?autoplay=1'
     24                                }
     25                            }
     26                        }
    1827                    });
    1928                }
  • link-to-popup/branches/readme.txt

    r2285117 r2285861  
    1 === Plugin Name ===
     1=== Link to Popup ===
    22Contributors: sandirosyandi
    3 Donate link: https://sandi-racy.github.io
     3Donate link: https://www.paypal.me/sandirosyandi
    44Tags: link, popup
    55Requires at least: 5.1
    66Tested up to: 5.4
    77Requires PHP: 5.3
    8 Stable tag: 1.0
     8Stable tag: 1.1
    99License: GPL3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
     
    20201. Upload `link-to-popup` directory to the `/wp-content/plugins/` directory
    21212. Activate the plugin through the 'Plugins' menu in WordPress
     22
     23== Frequently Asked Questions ==
     24
     25= What library does this plugin use? =
     26
     27Magnific Popup
    2228 
    2329== Screenshots ==
    2430 
    25 1. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from
    26 the /assets directory or the directory that contains the stable readme.txt (tags or trunk). Screenshots in the /assets
    27 directory take precedence. For example, `/assets/screenshot-1.png` would win over `/tags/4.3/screenshot-1.png`
    28 (or jpg, jpeg, gif).
    29311. Settings page
    3032 
    31 == Changelog ==
     33 == Changelog ==
    3234 
    3335= 1.0 =
    3436* Transform your regular link to popup
     37
     38= 1.1 =
     39* Added support for Youtube shorten URL
  • link-to-popup/trunk/js/link-to-popup.js

    r2285117 r2285861  
    1515                    var selectors = response.data.selectors.join(', ');
    1616                    $(selectors).magnificPopup({
    17                         type: 'iframe'
     17                        type: 'iframe',
     18                        iframe: {
     19                            patterns: {
     20                                youtu: {
     21                                    index: 'youtu.be',
     22                                    id: 'be/',
     23                                    src: '//www.youtube.com/embed/%id%?autoplay=1'
     24                                }
     25                            }
     26                        }
    1827                    });
    1928                }
  • link-to-popup/trunk/readme.txt

    r2285117 r2285861  
    1 === Plugin Name ===
     1=== Link to Popup ===
    22Contributors: sandirosyandi
    3 Donate link: https://sandi-racy.github.io
     3Donate link: https://www.paypal.me/sandirosyandi
    44Tags: link, popup
    55Requires at least: 5.1
    66Tested up to: 5.4
    77Requires PHP: 5.3
    8 Stable tag: 1.0
     8Stable tag: 1.1
    99License: GPL3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
     
    20201. Upload `link-to-popup` directory to the `/wp-content/plugins/` directory
    21212. Activate the plugin through the 'Plugins' menu in WordPress
     22
     23== Frequently Asked Questions ==
     24
     25= What library does this plugin use? =
     26
     27Magnific Popup
    2228 
    2329== Screenshots ==
    2430 
    25 1. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from
    26 the /assets directory or the directory that contains the stable readme.txt (tags or trunk). Screenshots in the /assets
    27 directory take precedence. For example, `/assets/screenshot-1.png` would win over `/tags/4.3/screenshot-1.png`
    28 (or jpg, jpeg, gif).
    29311. Settings page
    3032 
    31 == Changelog ==
     33 == Changelog ==
    3234 
    3335= 1.0 =
    3436* Transform your regular link to popup
     37
     38= 1.1 =
     39* Added support for Youtube shorten URL
Note: See TracChangeset for help on using the changeset viewer.