The public method laodVideo was not working due to the wrong arguments in
return this.plugin[options].apply(this.plugin, Array.prototype.slice.call(arguments, 1))
It's important to use the outer functions arguments here instead of the this.each functions arguments.
The public method laodVideo was not working due to the wrong arguments in return this.plugin[options].apply(this.plugin, Array.prototype.slice.call(arguments, 1)) It's important to use the outer functions arguments here instead of the this.each functions arguments.