added a layout to display the video in replay mode