var currentIndex = 0
var url = [
“http://youtube.com/1”,
“http://youtube.com/2”,
“http://youtube.com/3”
]
@IBAction func Control_btn(_ sender: UIButton) {
let playIndex = currentIndex % url.count
player.next_play(url[playIndex])
currentIndex += 1
}
현재 버전
수정 이력
2021-06-25 10:26:41
에 아래 내용에서 변경 됨
#3
var currentIndex = 0
var type = [“a_type”, “b_type”]
var url = [
“http://youtube.com/1”,
“http://youtube.com/2”,
“http://youtube.com/3”
]
@IBAction func Control_btn(_ sender: UIButton) {
let playIndex = currentIndex % url.count
player.next_play(url[playIndex])
currentIndex += 1
}
2021-06-25 10:26:23
에 아래 내용에서 변경 됨
#2
var currentIndex = 0
var type = [“a_type”, “b_type”]
var url = [
“http://youtube.com/1”,
“http://youtube.com/2”,
“http://youtube.com/3”
]
@IBAction func Control_btn(_ sender: UIButton) {
let playIndex = currentIndex % player.count
player.next_play(url[playIndex])
currentIndex += 1
}
2021-06-25 10:25:54
에 아래 내용에서 변경 됨
#1
var currentIndex = 0
var type = [“a_type”, “b_type”]
var url = [
“http://youtube.com/1”,
“http://youtube.com/2”,
“http://youtube.com/3”
]
@IBAction func Control_btn(_ sender: UIButton) {
let playIndex = currentIndex % player.count
player.next_playurl[playIndex]
currentIndex += 1
}