Any word on when this will get support for Android? [import]uid: 156772 topic_id: 30419 reply_id: 330419[/import]
Also what about video interaction? say an exit (X) button on top of the video? [import]uid: 156772 topic_id: 30419 reply_id: 121847[/import]
No ETA yet on VideoView, but it’s really high on our roadmap list as seen here…
http://www.coronalabs.com/resources/roadmap/
The current plan is to add VideoView support after Push Notifications. [import]uid: 32256 topic_id: 30419 reply_id: 121882[/import]
Regarding VideoView interaction, it is up to you to provide onscreen controls via Corona’s display objects. The intent for VideoView was that it allows your app to become a custom video player. That’s why we went out of our way to provide functions that allow you to play/pause/seek the video view.
If you want to use the built-in video player’s controls, then you should use media.playVideo() instead. [import]uid: 32256 topic_id: 30419 reply_id: 121885[/import]
Thanks for the response, I’m actually using media.playVideo() now… once the video is launched I only have the option to seek, pause and play… but not exit back to the scene (using Storyboard). 'As of now I’m required to hit the back button to return before the video has completed. So assume there’s no way to add controls on top of the video player… say an “exit button”? [import]uid: 156772 topic_id: 30419 reply_id: 121888[/import]
There is currently no way to custom the video player on Android. Corona just shows the standard one that is built into Android.
The standard video player on Android does not provide an Exit button like how it’s done on iOS. You are expected to press the Back button. That’s just how Google made it. That’s how it works on other Android apps too. [import]uid: 32256 topic_id: 30419 reply_id: 121890[/import]
“Regarding VideoView interaction, it is up to you to provide onscreen controls via Corona’s display objects. The intent for VideoView was that it allows your app to become a custom video player. That’s why we went out of our way to provide functions that allow you to play/pause/seek the video view.”
So can videos be called in android using VideoView?? Or only by media.playVideo? [import]uid: 156772 topic_id: 30419 reply_id: 121918[/import]
Android only supports the [lua]media.playVideo()[/lua] function for video playback.
Currently, [lua]native.newVideo()[/lua] is only supported on iOS. [import]uid: 32256 topic_id: 30419 reply_id: 122063[/import]
This is a massive downfall for me :\
I strongly recommend that you change the API DOCs on http://docs.coronalabs.com/api/library/native/newVideo.html as it is stated there that it is available on Android devices (“Video views currently only work in the OS X Simulator, Xcode Simulator, and on device (iOS and Android).”) and that may induce others in error too! [import]uid: 123238 topic_id: 30419 reply_id: 122410[/import]
Also what about video interaction? say an exit (X) button on top of the video? [import]uid: 156772 topic_id: 30419 reply_id: 121847[/import]
No ETA yet on VideoView, but it’s really high on our roadmap list as seen here…
http://www.coronalabs.com/resources/roadmap/
The current plan is to add VideoView support after Push Notifications. [import]uid: 32256 topic_id: 30419 reply_id: 121882[/import]
Regarding VideoView interaction, it is up to you to provide onscreen controls via Corona’s display objects. The intent for VideoView was that it allows your app to become a custom video player. That’s why we went out of our way to provide functions that allow you to play/pause/seek the video view.
If you want to use the built-in video player’s controls, then you should use media.playVideo() instead. [import]uid: 32256 topic_id: 30419 reply_id: 121885[/import]
Thanks for the response, I’m actually using media.playVideo() now… once the video is launched I only have the option to seek, pause and play… but not exit back to the scene (using Storyboard). 'As of now I’m required to hit the back button to return before the video has completed. So assume there’s no way to add controls on top of the video player… say an “exit button”? [import]uid: 156772 topic_id: 30419 reply_id: 121888[/import]
There is currently no way to custom the video player on Android. Corona just shows the standard one that is built into Android.
The standard video player on Android does not provide an Exit button like how it’s done on iOS. You are expected to press the Back button. That’s just how Google made it. That’s how it works on other Android apps too. [import]uid: 32256 topic_id: 30419 reply_id: 121890[/import]
“Regarding VideoView interaction, it is up to you to provide onscreen controls via Corona’s display objects. The intent for VideoView was that it allows your app to become a custom video player. That’s why we went out of our way to provide functions that allow you to play/pause/seek the video view.”
So can videos be called in android using VideoView?? Or only by media.playVideo? [import]uid: 156772 topic_id: 30419 reply_id: 121918[/import]
Android only supports the [lua]media.playVideo()[/lua] function for video playback.
Currently, [lua]native.newVideo()[/lua] is only supported on iOS. [import]uid: 32256 topic_id: 30419 reply_id: 122063[/import]
I just corrected the documentation myself now. The documentation update should be published to our website later today. Thank you for bringing this documentation error to our attention… and I apologize for the confusion. [import]uid: 32256 topic_id: 30419 reply_id: 122884[/import]
This is a massive downfall for me :\
I strongly recommend that you change the API DOCs on http://docs.coronalabs.com/api/library/native/newVideo.html as it is stated there that it is available on Android devices (“Video views currently only work in the OS X Simulator, Xcode Simulator, and on device (iOS and Android).”) and that may induce others in error too! [import]uid: 123238 topic_id: 30419 reply_id: 122410[/import]
I just corrected the documentation myself now. The documentation update should be published to our website later today. Thank you for bringing this documentation error to our attention… and I apologize for the confusion. [import]uid: 32256 topic_id: 30419 reply_id: 122884[/import]