Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

How Do You Make A Podcast Player?
Started by j1hinkle Mar 23 2013 05:35 PM

5 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

j1hinkle

[GLOBAL: userInfoPane.html]
j1hinkle
  • Observer

  • 8 posts
  • Corona SDK

How would you stream a podcast loaded from the internet?



[TOPIC: post.html]
#2

bud.hooke

[GLOBAL: userInfoPane.html]
bud.hooke
  • Observer

  • 29 posts
  • Corona SDK

You cant because corona doesnt have vector support or something that someone on their team said.



[TOPIC: post.html]
#3

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,409 posts
  • Enterprise

I don't think we can use streaming services like Pandora, but if your podcast is at a URL that can be downloaded, some people have had luck using media.playVideo() (yea, I know... but it plays from a URL) to play the audio.  Then at least on Apple, there is a background mode that can play music while the app is in the background.   media.playVideo() is sensitive to the type of audio it will play and it may or may not work for you.



[TOPIC: post.html]
#4

khanh.dq

[GLOBAL: userInfoPane.html]
khanh.dq
  • Contributor

  • 264 posts
  • Corona SDK

I don't think we can use streaming services like Pandora, but if your podcast is at a URL that can be downloaded, some people have had luck using media.playVideo() (yea, I know... but it plays from a URL) to play the audio.  Then at least on Apple, there is a background mode that can play music while the app is in the background.   media.playVideo() is sensitive to the type of audio it will play and it may or may not work for you.

media.playVideo() do not working for 2 or more remote media file streaming.

 

You should add play streaming audio to CORONA's wish list ASAP.



[TOPIC: post.html]
#5

ponywolf

[GLOBAL: userInfoPane.html]
ponywolf
  • Contributor

  • 273 posts
  • Corona SDK

You could certainly download MP3 files to the temp directory, then load them and play them.



[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,409 posts
  • Enterprise

The media.playVideo will not work with streaming services, only fixed size downloadable files, but it plays them while downloading. If you want, goto http://feedback.coronalabs.com and see if someone has already requested this feature and vote it up. If not, add it. This is how we track feature requests now.


[topic_controls]
[/topic_controls]