Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Not play song from url #77

Open
npyadav opened this issue Jul 20, 2017 · 1 comment
Open

Not play song from url #77

npyadav opened this issue Jul 20, 2017 · 1 comment

Comments

@npyadav
Copy link

npyadav commented Jul 20, 2017

Not play song from this url
@"http://demo.atozcreation.com/chathuranga/app/uploads/playlist/16/596d283ab03a5_Main Ishq Uska(VipMusic.In).mp3"

i am used this lib
// begin receiving remote events
UIApplication.shared.beginReceivingRemoteControlEvents()
//http://demo.atozcreation.com/chathuranga/app/uploads/playlist/16/596d283ab03a5_Main%20Ishq%20Uska(VipMusic.In).mp3
// configure jukebox
jukebox = Jukebox(delegate: self, items: [
JukeboxItem(URL: URL(string: "http://demo.atozcreation.com/chathuranga/app/uploads/playlist/16/596d283ab03a5_Main%20Ishq%20Uska(VipMusic.In).mp3")!),
JukeboxItem(URL: URL(string: "http://demo.atozcreation.com/chathuranga/app/uploads/playlist/16/596d283ab03a5_Main%20Ishq%20Uska(VipMusic.In).mp3")!),
JukeboxItem(URL: URL(string: "http://demo.atozcreation.com/chathuranga/app/uploads/playlist/16/596d283ab03a5_Main%20Ishq%20Uska(VipMusic.In).mp3")!)
])!

    /// Later add another item
    let delay = DispatchTime.now() + Double(Int64(3 * Double(NSEC_PER_SEC))) / Double(NSEC_PER_SEC)
    DispatchQueue.main.asyncAfter(deadline: delay) {
        self.jukebox.append(item: JukeboxItem (URL: URL(string: "http://demo.atozcreation.com/chathuranga/app/uploads/playlist/16/596d283ab03a5_Main%20Ishq%20Uska(VipMusic.In).mp3")!), loadingAssets: true)
    }

but song not play.... :(

@bhavin-a
Copy link

I think its an error in the url because if you play it on the browser, it still play.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants