Documentation

API

Boulevard provides a simple API that you can use to interact with the plugin.

Events

You can bind event handlers using the built in on and once functions.

    
        var boulevard = $('#myPlayer').ttwBoulevard(myPlaylist, {});

        boulevard.on('playlistAdvance', function(){
        //do something in here when the playlist advances
        });
    

You can view a list of all events generated by Boulevard here Events

Methods

You can also call functions on Boulevard to manipulate it's behavior

    
        var boulevard = $('#myPlayer').ttwBoulevard(myPlaylist, {});

        //advance to the next song
        boulevard.next();

        //change the layout
        boulevard.setLayout({
            layout:'album-covers',
            styleType:'blur'
        });
    

You can view a list of all events generated by Boulevard here Methods

You can download fully functional examples that work out of the box by purchasing a developer license. Download Examples Now