var exec = require("cordova/exec");

module.exports = {

    DEFAULT_OPTIONS: {
        volume: 1.0,
        scalingMode: 1
    },

    SCALING_MODE: {
        SCALE_TO_FIT: 1,
        SCALE_TO_FIT_WITH_CROPPING: 2
    },

    play: function (path, options, successCallback, errorCallback) {
        options = this.merge(this.DEFAULT_OPTIONS, options);
        exec(successCallback, errorCallback, "VideoPlayer", "play", [path, options]);
    },

    merge: function () {
        var obj = {};
        Array.prototype.slice.call(arguments).forEach(function(source) {
            for (var prop in source) {
                obj[prop] = source[prop];
            }
        });
        return obj;
    }

};

@@ -436,24 +436,161 @@
 %5D);%0A    %7D,%0A%0A
+    close: function (successCallback, errorCallback) %7B%0A        exec(successCallback, errorCallback, %22VideoPlayer%22, %22close%22, %5B%5D);%0A    %7D,%0A%0A
     merge: f

Update VideoPlayer.js