Published in


Playing Videos in SwiftUI & AVKit

Photo by Denise Jans on Unsplash

SwiftUI VideoPlayer view let’s us play video files located either locally within the project or file located at a remote location available via url.

VideoPlayer view is part of AVKit framework and importing the framework is all you need to get started with the video player view 😃

VideoPlayer view takes AVPlayer as parameter where you have an opportunity to set video url either…



-- is all about sharing knowledge by practical means. We focus on solving real world challenges via code.

Recommended from Medium

Mistake #2 — Overrating the importance of Dashboards and Scorecards

Recursion Tree Method to Solve Recurrences

Observability - Scope and Design with elastic

UI Challenge: Piano Tiles in Flutter

Why a domain’s root can’t be a CNAME — and other tidbits about the DNS

{UPDATE} 【ひっぱりパズル】ズキュ〜〜〜〜ン! Hack Free Resources Generator

Celery Beat Scheduler + Flask + RabbitMQ

rabbitmq server in a terminal window

Big O Notation

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


DevTechie creates tutorials at Also video courses on: and courses on:

More from Medium

LazyVGrid in SwiftUI

Navigation View Style in SwiftUI

SwiftUI LazyVGrid and LazyHGrid

Managing Source Of Truth in SwiftUI