changed vid tag

added onclick handler, removed type