I've been focusing on a buddies site attempting to repair his implementation of flexslider to ensure that if your vimeo video is playing and also the user switches to a different slide it'll pause that video. I'm getting difficulties with using froogaloop and jquery within this context. Here's some code I've been trying:

                        (function () { jQuery('.flexslider').flexslider({
                            slideshowSpeed: slideshowDelay+"000",  
                            directionNav: false,                    
                            animation: "fade" , 
                            after: function (slider)
                            {
                                console.log("next");
                                var currentSlide = slider.currentSlide;
                                var slides = slider.slides;

                                jQuery(slides).each( function (i) 
                                {
                                    if(i != currentSlide)
                                    {
                                        var slide = jQuery(slides[i]);
                                        jQuery(slide).attr({class : 'slide_selector'})
                                        var vimeo = jQuery('.slide_selector iframe');
                                        if(vimeo.length !== 0)
                                        {

                                            var src = jQuery(vimeo).attr('src')
                                            var controlObject = {"method" : "pause" }; 
                                            var domWindow = vimeo[0].contentWindow;
                                            jQuery(vimeo[0]).bind('ready' , function 
                                            {
                                                console.log("PlayerId: "+ player_id)
                                                froogaLoop(player_id).api('pause');
                                            });
                                        }
                                    }
                                })                                  
                            }
                        });
                        showProject(projectSlug);
                    });)

Which means this hasn't labored by any means. I just read which i was designed to make use of an init function within the Froogaloop framework but running Froogaloop.fn.init (best way to achieve it) explained that nothing I put in it were built with a getAttributes property. It has all been rather confusing. I believe my primary real question is how do you initialize these iframes with froogaloop?

note. I changed $f with froogaLoop during my version from the library since $ appears to hinder wordpress.