added optional config param at point of instantiation
Merge pull request #9 from ButoVideo/1957

added optional config param at point of instantiation