add .webm, .pdf support to gallery