ancestry.lua: page support for videos and photos