Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (ipod)
Viewing all articles
Browse latest Browse all 24

Why can't I play remote videos recorded with an iPhone?

$
0
0

I'm working with Titanium SDK 3.1.3 and deploying for iOS. In my app I can record a video and then upload it to a ACS. On the ACS, links to access the video are created, which I can paste on a browser and play them or download them to play on a media player on a computer without any problem.

But if I try to use any of these videos on a Titanium Android Video Player, I get a black screen and no video is played ever. I tried with different videos from another website and the video was played with no problem.

var iphoneurl  =  http://storage.cloud.appcelerator.com/qOA13SXYlTb27CM2lu5Xucfv4lSUFUpZ/files/92/58/530d78aeda5ba0076e002f61/1393391716017.mp4
 
var androidurl  =  http://storage.cloud.appcelerator.com/qOA13SXYlTb27CM2lu5Xucfv4lSUFUpZ/files/f4/d2/530d74691356b40b551bf02b/1393390692120.mp4
 
var recivetotalurl = urls;
var videoPlayer = Titanium.Media.createVideoPlayer({
                  url:urls,
              autoplay : false,
              ullscreen: true,
              animate: true,
              backgroundColor : '#000',
              height : 0,
              width : 0,
              mediaControlStyle : Titanium.Media.VIDEO_CONTROL_DEFAULT,
              scalingMode : Titanium.Media.VIDEO_SCALING_ASPECT_FIT,
              sourceType : Titanium.Media.VIDEO_SOURCE_TYPE_STREAMING
});

Viewing all articles
Browse latest Browse all 24

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>