Get shadowbox and unpack to www/resources/shadowbox
How to use:
[[shadowbox:test.png|My test page|-height 15ex]]
(gallery)
[[shadowbox:test.png|My test page|-media_gallery test -height 15ex]]
[[shadowbox:test.png|My test page|-media_gallery test -height 15ex]]
It should equally work for the supported movie formats, but how to provide parameterisation in a consistent manner would require more thorough evaluation (there is a plethora of options available) ...