F Facilauto Juan Member Licensed User Longtime User Mar 6, 2014 #1 Hello there! I have an app that shows a video with VideoView. This is the way to load the video (in activity_create): Code: Copy video.Initialize("video") video.LoadVideo("http", "http://xxx.xxxxxx.com/videos/xxxxx/" & globales.video_ver) video.Play The thing is that the video loads in most devices, but not in some of them. For example, my samsung galaxy mini shows it, my samsung galaxy tab 5" don't. What could be happening? Thanks for the answers.
Hello there! I have an app that shows a video with VideoView. This is the way to load the video (in activity_create): Code: Copy video.Initialize("video") video.LoadVideo("http", "http://xxx.xxxxxx.com/videos/xxxxx/" & globales.video_ver) video.Play The thing is that the video loads in most devices, but not in some of them. For example, my samsung galaxy mini shows it, my samsung galaxy tab 5" don't. What could be happening? Thanks for the answers.
Erel B4X founder Staff member Licensed User Longtime User Mar 6, 2014 #2 Not all devices support all video formats. Upvote 0
F Facilauto Juan Member Licensed User Longtime User Mar 6, 2014 #3 Well, the same video that doesn't show up in streaming I have downloaded in the device and it shows up correctly. So... this should be anything else, right? Upvote 0
Well, the same video that doesn't show up in streaming I have downloaded in the device and it shows up correctly. So... this should be anything else, right?
Erel B4X founder Staff member Licensed User Longtime User Mar 6, 2014 #4 Video streaming is more fragile. You can see the supported formats here: http://developer.android.com/guide/appendix/media-formats.html Upvote 0
Video streaming is more fragile. You can see the supported formats here: http://developer.android.com/guide/appendix/media-formats.html
F Facilauto Juan Member Licensed User Longtime User Mar 6, 2014 #5 UPs... My "working" device is 2.3.6 and my "not working" device is 2.3.5. According to that table, should it be working in both? Sorry for all this questions, I can't manage to understand that table. Upvote 0
UPs... My "working" device is 2.3.6 and my "not working" device is 2.3.5. According to that table, should it be working in both? Sorry for all this questions, I can't manage to understand that table.
Erel B4X founder Staff member Licensed User Longtime User Mar 6, 2014 #6 Not all devices support all formats. VideoView is a native view. If it doesn't support it then the only thing you can do is use a different library that is not based on the native media player service. Upvote 0
Not all devices support all formats. VideoView is a native view. If it doesn't support it then the only thing you can do is use a different library that is not based on the native media player service.
F Facilauto Juan Member Licensed User Longtime User Mar 6, 2014 #7 Mm... I see... Do you know any of this libraries to use a non native media player? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 6, 2014 #8 See these search results: http://www.b4x.com/android/forum/pages/results/?query=video&page=1&prefix=1 Upvote 0
See these search results: http://www.b4x.com/android/forum/pages/results/?query=video&page=1&prefix=1
F Facilauto Juan Member Licensed User Longtime User Mar 6, 2014 #10 I have read in one of your posts that there is a requirement in order to stream a video: declare an objecto of type MediaPlayerStream. Where do I have to do this? Upvote 0
I have read in one of your posts that there is a requirement in order to stream a video: declare an objecto of type MediaPlayerStream. Where do I have to do this?
Erel B4X founder Staff member Licensed User Longtime User Mar 7, 2014 #11 MediaPlayerStream is not related to VideoView. It is for audio streaming. Upvote 0