Updated to include optional width, height, duration.  expanded sample page