Created
February 20, 2019 13:05
-
-
Save pgpt10/9882041c35f3a94c774ef0733b30fdf3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let asset = AVAsset(url: url) | |
let playerItem = AVPlayerItem(asset: asset) | |
let player = AVPlayer(playerItem: playerItem) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment