cordova.define("com.moust.cordova.videoplayer.VideoPlayer", function(require, exports, module) {
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]);
    },

    getCurrentPosition: function (successCallback, errorCallback) {
        return exec(successCallback, errorCallback, "VideoPlayer", "getCurrentPosition", []);
    },

    getDuration: function (successCallback, errorCallback) {
        return exec(successCallback, errorCallback, "VideoPlayer", "getDuration", []);
    },

    close: function (successCallback, errorCallback) {
        exec(successCallback, errorCallback, "VideoPlayer", "close", []);
    },

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

};

});

@@ -1,101 +1,4 @@
-cordova.define(%22com.moust.cordova.videoplayer.VideoPlayer%22, function(require, exports, module) %7B%0A
 var 
@@ -1164,9 +1164,4 @@
 %0A%7D;%0A
-%0A%7D);%0A

Fix doubling of js module definition