How to play a local video in swift

How could I play a local video is swift. I have tried UIWebView that did not really work.

Check out these tutorials:

There is also a video course by Michael Briscoe - Beginning Video with AVFoundation.
The introduction to that course can be seen here.

Have fun!