upload video.m4v and video.webm, have piwigo consider it's the same video and have jplayer choose the best format for your browser