# youtube-embed-plus/11.2/scripts/ytprefs-admin.js

Embed Plus for YouTube Gallery, Livestream and Lazy Loading with Facades, version 11.2. 15 lines.

- Page: https://pluginprobe.com/plugins/youtube-embed-plus/11.2/code/scripts/ytprefs-admin.js
- Raw: https://pluginprobe.com/plugins/youtube-embed-plus/11.2/raw/scripts/ytprefs-admin.js
- Modified: 2016-06-08T04:14:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/youtube-embed-plus/11.2/code/scripts/ytprefs-admin.js#L10-L20`.

```javascript
function widen_ytprefs_wiz() {
    setTimeout(function () {
        jQuery("#TB_window").animate({marginLeft: '-475px', width: '950px'}, 150, 'swing', function () {
            jQuery("#TB_window").get(0).style.setProperty('width', '950px', 'important');
        });

        jQuery("#TB_window iframe").animate({width: '950px'}, 150);
    }, 750);
}
jQuery(document).ready(function () {
    jQuery('body').on('click.tbyt', "#ytprefs_wiz_button", function () {
        widen_ytprefs_wiz();
    });
    jQuery(window).resize(widen_ytprefs_wiz);
});
```
