
Can't play youtube video in my wizard
I'd like to have a wizard like yours one:
http://www.jwplayer.com/wizard/
to configure my videos.
I've created JS API for this and I must say it works good. It changes video, watermark, sizes, images, buttons on the fly, It supports almost all the formats I use: mp4, m4v, webM apart from youtube urls. When I add an url like this http://youtu.be/-tVxcecF5m0 or like https://www.youtube.com/watch?v=-tVxcecF5m0 it gives me an error "Cannot read property 'replace' of undefined" in a JW Player window in Google Chrome and "Object {message: undefined, version: "6.9.4867", type: "jwplayerError"} " and "There was a problem setting up the player: Object {message: "Cannot read property 'replace' of undefined", version: "6.9.4867", type: "jwplayerError"}" errors in a JS console, and it refers to my js script "3hbPxPJOEeOMGiIACyaB8g.js".
Thanks for advance.