File tree Expand file tree Collapse file tree 3 files changed +5
-10
lines changed
Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Original file line number Diff line number Diff 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 ( )
Original file line number Diff line number Diff line change 88
99Pod ::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
1414A 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
3027end
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments