SummerPlayerView
๐บ VideoPlayerView for kids, Tried to make it as similar as possible a Youtube kids App Player UI
Install / Use
/learn @superbderrick/SummerPlayerViewREADME
SummerPlayerView

SummerPlayerView
SummerPlayerView is an iOS Custom VideoPlayerView, It tried to make it as similar as possible a Youtube kids App's Player UI
Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Demo
Light theme

Dark theme

Requirements
- Swift 5.0+
- iOS 13.0+
- Xcode 11+
Installation
SummerPlayerView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SummerPlayerView'
Usage
Currently SummerPlayerView can be instantiated programatically only
Programatically
import UIKit
import AVKit
import SummerPlayerView
class PlayerViewController: UIViewController {
let defaultConfig = DefaultConfig()
override func viewDidLoad() {
super.viewDidLoad()
let testContents = ContentsMaker.getContents()
let sampleTheme = ThemeMaker.getTheme()
let summerPlayerView = SummerPlayerView(configuration: defaultConfig, theme: sampleTheme,targetView: view)
summerPlayerView.delegate = self
if let currentItem = testContents.first {
summerPlayerView.setupPlayList(currentItem: currentItem, items: testContents)
}
view.addSubview(summerPlayerView)
summerPlayerView.pinEdges(targetView: view)
}
}
Configuration and theme
-
Configure SummerPlayerView's theme and configurations, and target view where the video will appear like sample code
-
Currently, only landscape mode is supported
Concepts
It tried to make it as similar as possible a Youtube kids App Player UI Through SummerPlayerView, you can understand the following basic player actions
- Basic playback
- Loop playback
- Next or Previous playback with playlist
- Seek
- HLS playback with AVQueueplayer
Author
Derrick, kang.derrick@gmail.com
License
SummerPlayerView is available under the MIT license. See the LICENSE file for more info.
Related Skills
qqbot-channel
345.9kQQ ้ข้็ฎก็ๆ่ฝใๆฅ่ฏข้ข้ๅ่กจใๅญ้ข้ใๆๅใๅๅธใๅ ฌๅใๆฅ็จ็ญๆไฝใไฝฟ็จ qqbot_channel_api ๅทฅๅ ทไปฃ็ QQ ๅผๆพๅนณๅฐ HTTP ๆฅๅฃ๏ผ่ชๅจๅค็ Token ้ดๆใๅฝ็จๆท้่ฆๆฅ็้ข้ใ็ฎก็ๅญ้ข้ใๆฅ่ฏขๆๅใๅๅธๅธๅญ/ๅ ฌๅ/ๆฅ็จๆถไฝฟ็จใ
docs-writer
100.0k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
345.9kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
arscontexta
2.9kClaude Code plugin that generates individualized knowledge systems from conversation. You describe how you think and work, have a conversation and get a complete second brain as markdown files you own.
