lets use something like this:
```javascript
function initialize(fixture, params) {
    if (_.isString(fixture)) {
        loadFixtures(fixture);
    else {
        loadFixtures('video_all.html');
    }

    if (params) {
        $('#example')
            .find('#video_id')
            .data(params);
    }

    state = new Video('#example');
    ...
```
after that you can set any parameter without changing initialization function and process of initialization will look like:
```javascript
initialize();
initialize('video.html');
initialize('video.html', {'start': 2});
initialize('video.html', {
   'start': 2,
   'end': 4,
   ...
});
```
Good practice will be to use templating engine here instead of html templates. In this case, we can omit the first argument  `fixture`.