flimshaw / Valiant360

An in-browser 360 degree panorama video player.
http://flimshaw.github.io/Valiant360/
MIT License
777 stars 151 forks source link

Public method loadVideo not working. path argument missing. #51

Open lujakob opened 8 years ago

lujakob commented 8 years ago

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.