Add play/pause to example

Add play/pause to example