Modified version in WordPress Video Gallery 2.6