• Hello,

    I found a bug in your plugin. This was making an error with subscribe2 plugin last version where when I Updated it your plugin was no longer showing video (I posted one year ago a message on this).

    This produced this kind of error:
    http://stackoverflow.com/questions/7975093/typeerror-undefined-is-not-a-function-evaluating-document

    So in this code:

    <script>
            $(document).ready(function () {
                var x = $(".video a").attr('href');
                $('#ii').attr('src', x);
                $(".video a").click(function (event) {
                    var href = $(this).attr('href');
                    event.preventDefault();
                    $('#ii').attr('src', 'href');
                });
    
            })
        </script>

    I replaced “$” by “jQuery” like this:

    <script>
            jQuery(document).ready(function () {
                var x = jQuery(".video a").attr('href');
                jQuery('#ii').attr('src', x);
                jQuery(".video a").click(function (event) {
                    var href = jQuery(this).attr('href');
                    event.preventDefault();
                    jQuery('#ii').attr('src', 'href');
                });
    
            })
        </script>

    I think you should update your plugin in order to permit to everyone to make it play without this kind of error. Hope this can help you 🙂

    https://wordpress.org/plugins/video-sidebar-widget/

  • The topic ‘Found a bug in you plugin’ is closed to new replies.