In this case you can extend list of arguments by another one configurational dictionary. Or:
```javascript
var allowedDataProperties = ['start', 'end', ...], // list of all `data-` attributes, that video player currently support.
    data = _.pick.(params, allowedDataProperties); // return a copy of the object, filtered to only have values for the whitelisted keys

if (data) {
  $('#example')
    .find('#video_id')
    .data(data);
}
```