How to control page transition with the ‘present’ and play the video directly on the next page?

Learn Swift from scratch and challenge to create 100 apps — Play Movie Trailer App