Add opts param and seekInterval option
Adding output option
Update readme and demo to explain options