# How to play a local video in swift

**URL:** <https://forums.kodeco.com/t/how-to-play-a-local-video-in-swift/19852>\
**Category:** Swift\
**Created:** [September 16, 2016, 4:19am UTC](https://forums.kodeco.com/t/how-to-play-a-local-video-in-swift/19852 "2016-09-16T04:19:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zalubski](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/zalubski/32/81494_2.png) [@zalubski](https://forums.kodeco.com/u/zalubski)\
**Post date:** [September 16, 2016, 4:19am UTC](https://forums.kodeco.com/t/how-to-play-a-local-video-in-swift/19852/1 "2016-09-16T04:19:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rcasey](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/rcasey/32/82229_2.png) [@rcasey](https://forums.kodeco.com/u/rcasey)\
**Post date:** [September 16, 2016, 9:07pm UTC](https://forums.kodeco.com/t/how-to-play-a-local-video-in-swift/19852/2 "2016-09-16T21:07:30Z")

</div>

Check out these tutorials:

- [How to Play, Record, and Merge Videos in iOS and Swift](https://www.raywenderlich.com/94404/play-record-merge-videos-ios-swift)
- [How to Play, Record, and Edit Videos in iOS](https://www.raywenderlich.com/13418/how-to-play-record-edit-videos-in-ios)

There is also a video course by Michael Briscoe - Beginning Video with AVFoundation.  
The introduction to that course can be seen [here](https://videos.raywenderlich.com/courses/beginning-video-with-avfoundation/lessons/1).

Have fun!
