Media.prototype.play = function()

in www/browser/Media.js [116:129]


Media.prototype.play = function () {
    // if Media was released, then node will be null and we need to create it again
    if (!this.node) {
        try {
            this.node = createNode(this);
        } catch (err) {
            Media.onStatus(this.id, Media.MEDIA_ERROR, {
                code: MediaError.MEDIA_ERR_ABORTED
            });
        }
    }

    this.node.play();
};