Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
kingslay authored and kintanwang committed Apr 9, 2019
0 parents commit 65bdd9b
Show file tree
Hide file tree
Showing 1,012 changed files with 205,873 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.DS_Store
/.build
/Packages
3 changes: 3 additions & 0 deletions .swiftformat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 格式化规则
--enable trailingClosures
--ifdef noindent
2 changes: 2 additions & 0 deletions Demo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/Carthage
Cartfile.resolved
1 change: 1 addition & 0 deletions Demo/Cartfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
git "http://git.code.oa.com/kintanwang/KSPlayer.git" "develop"
19 changes: 19 additions & 0 deletions Demo/Demo.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Demo/Demo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
34 changes: 34 additions & 0 deletions Demo/MyPlayground.playground/Contents.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
//: A UIKit based Playground for presenting user interface

import KSPlayer
import PlaygroundSupport
import UIKit
class ViewController: UIViewController {
var player = VideoPlayerController()
override func viewDidLoad() {
super.viewDidLoad()
view.addSubview(player.view)
player.view.translatesAutoresizingMaskIntoConstraints = false
NSLayoutConstraint.activate([
player.view.topAnchor.constraint(equalTo: view.readableContentGuide.topAnchor),
player.view.leftAnchor.constraint(equalTo: view.leftAnchor),
player.view.rightAnchor.constraint(equalTo: view.rightAnchor),
player.view.bottomAnchor.constraint(equalTo: view.bottomAnchor),
])
view.layoutIfNeeded()
var url = URL(string: "http://wvideo./spriteapp.cn/video/2016/0328/56f8ec01d9bfe_wpd.mp4")!
url = URL(fileURLWithPath: Bundle.main.path(forResource: "567082ac3ae39699f68de4fd2b7444b1e045515a", ofType: "MP4")!)
player.set(url: url)
player.play()
}
}

// Present the view controller in the Live View window
PlaygroundPage.current.liveView = ViewController()

// let url = URL(fileURLWithPath: Bundle.main.path(forResource: "567082ac3ae39699f68de4fd2b7444b1e045515a", ofType: "MP4")!)
// let playerLayer = KSPlayerLayer()
// playerLayer.set(url: url, options: nil)
// playerLayer.play()
// playerLayer.frame = UIScreen.main.bounds
// PlaygroundPage.current.liveView = playerLayer
Binary file not shown.
4 changes: 4 additions & 0 deletions Demo/MyPlayground.playground/contents.xcplayground
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<playground version='5.0' target-platform='ios' executeOnSourceChanges='false'>
<timeline fileName='timeline.xctimeline'/>
</playground>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
27 changes: 27 additions & 0 deletions Demo/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
use_frameworks!
workspace 'Demo.xcworkspace'
def common
pod 'KSPlayer', :path => '../', :testspecs => ['Tests']
pod 'Openssl', :path => '../'
pod 'SwiftLint'
end
target 'demo-iOS' do
project 'demo-iOS/demo-iOS.xcodeproj'
platform :ios,9.0
common
end
#target 'demo-iOSTests' do
# project 'demo-iOS/demo-iOS.xcodeproj'
# platform :ios,9.0
# common
#end
target 'demo-tvOS' do
project 'demo-tvOS/demo-tvOS.xcodeproj'
platform :tvos,10.2
common
end
target 'demo-macOS' do
project 'demo-macOS/demo-macOS.xcodeproj'
platform :osx,10.11
common
end
79 changes: 79 additions & 0 deletions Demo/Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
PODS:
- KSPlayer (1.0):
- KSPlayer/Audio (= 1.0)
- KSPlayer/AVPlayer (= 1.0)
- KSPlayer/Basic (= 1.0)
- KSPlayer/Core (= 1.0)
- KSPlayer/FFmpeg (= 1.0)
- KSPlayer/MEPlayer (= 1.0)
- KSPlayer/Metal (= 1.0)
- KSPlayer/Panorama (= 1.0)
- KSPlayer/Resources (= 1.0)
- KSPlayer/Subtitle (= 1.0)
- KSPlayer/SubtitleCore (= 1.0)
- KSPlayer/UXKit (= 1.0)
- KSPlayer/Video (= 1.0)
- KSPlayer/VRPlayer (= 1.0)
- KSPlayer/Audio (1.0):
- KSPlayer/Core
- KSPlayer/SubtitleCore
- KSPlayer/AVPlayer (1.0):
- KSPlayer/Basic
- KSPlayer/Basic (1.0):
- KSPlayer/UXKit
- KSPlayer/Core (1.0):
- KSPlayer/AVPlayer
- KSPlayer/Resources
- KSPlayer/FFmpeg (1.0)
- KSPlayer/MEPlayer (1.0):
- KSPlayer/AVPlayer
- KSPlayer/FFmpeg
- KSPlayer/Metal
- KSPlayer/SubtitleCore
- KSPlayer/Metal (1.0)
- KSPlayer/Panorama (1.0):
- KSPlayer/Basic
- KSPlayer/Metal
- KSPlayer/Resources (1.0)
- KSPlayer/Subtitle (1.0):
- KSPlayer/Basic
- KSPlayer/Resources
- KSPlayer/SubtitleCore
- KSPlayer/SubtitleCore (1.0)
- KSPlayer/Tests (1.0)
- KSPlayer/UXKit (1.0)
- KSPlayer/Video (1.0):
- KSPlayer/Core
- KSPlayer/Subtitle
- KSPlayer/VRPlayer (1.0):
- KSPlayer/MEPlayer
- KSPlayer/Panorama
- Openssl (1.1.1):
- Openssl/Openssl (= 1.1.1)
- Openssl/Openssl (1.1.1)
- SwiftLint (0.31.0)

DEPENDENCIES:
- KSPlayer (from `../`)
- KSPlayer/Tests (from `../`)
- Openssl (from `../`)
- SwiftLint

SPEC REPOS:
https://github.com/cocoapods/specs.git:
- SwiftLint

EXTERNAL SOURCES:
KSPlayer:
:path: "../"
Openssl:
:path: "../"

SPEC CHECKSUMS:
KSPlayer: a4d1eb41af17fa7dabf9b214c4e3be6e73658560
Openssl: fe2d63d6036e5c9bafd1eb3331db9bbb0e12ace1
SwiftLint: 7a0227733d786395817373b2d0ca799fd0093ff3

PODFILE CHECKSUM: 31a697bed2b20f47ccb6bf6031f1baa1d43d1618

COCOAPODS: 1.6.1
Loading

0 comments on commit 65bdd9b

Please sign in to comment.