Skip to content

Commit 9697950

Browse files
committed
pod version change..
1 parent 73298ce commit 9697950

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

Example/GPVideoPlayer/ViewController.swift

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@ class ViewController: UIViewController {
1818
if let player = GPVideoPlayer.initialize(with: self.mediaView.bounds) {
1919
self.mediaView.addSubview(player)
2020

21-
let url1 = URL(string: "https://san-sit-origin-mp5content.quickplay.com/singtel/ss/u/HOOQ/donottouch/sglavodT1/output_hls_r.ism/index.m3u8")!
22-
let url2 = URL(string: "https://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4")!
21+
let url1 = URL(string: "https://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4")!
2322
let videoFilePath = Bundle.main.path(forResource: "video", ofType: "mp4")
24-
let url3 = URL(fileURLWithPath: videoFilePath!)
23+
let url2 = URL(fileURLWithPath: videoFilePath!)
2524

26-
player.loadVideos(with: [url1, url2, url3])
25+
player.loadVideos(with: [url1, url2])
2726
player.isToShowPlaybackControls = true
2827
player.isMuted = true
2928
player.playVideo()

GPVideoPlayer.podspec

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'GPVideoPlayer'
11-
s.version = '1.0.1'
11+
s.version = '1.0.3'
1212
s.summary = "A video player with custom playback controls"
1313
s.description = <<-DESC
1414
A video player with custom playback controls
@@ -21,10 +21,7 @@ A video player with custom playback controls
2121
s.source = { :git => 'https://github.com/pgpt10/GPVideoPlayer.git', :tag => s.version.to_s }
2222
s.ios.deployment_target = '10.0'
2323
s.source_files = 'GPVideoPlayer/Classes/**/*'
24-
25-
s.resource_bundles = {
26-
'GPVideoPlayer' => ['GPVideoPlayer/Assets/*.xcassets']
27-
}
24+
s.resources = 'GPVideoPlayer/Assets/*.xcassets'
2825
s.swift_version = "4.2"
2926

3027
end

_Pods.xcodeproj

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)