var ValidateEditVideoForm = function($form)
{
    this.$form = $form;
    this.errors = [];

    this.isValid = function()
    {
        this.data = {
            video_title:    this.$form.find('input[name=video_title]').val(),
            owner_name:     this.$form.find('input[name=owner_name]').val()
        };

        if (isEmpty(this.data.video_title))
        {
            this.errors.push(errorMessages.edit_video.video_title_empty);
        }

        if (isEmpty(this.data.owner_name))
        {
            this.errors.push(errorMessages.edit_video.author_name_empty);
        }

        return (this.errors.length < 1);
    }
}