Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

VideoPlayer Vimeo Android

$
0
0

Hi! I have a problem with VideoPlayer to play a vimeo video in android. In iOS is ok.

[ERROR] MediaPlayer: error (1, -2147483648)
[ERROR] MediaPlayer: start called in state 0
[ERROR] MediaPlayer: error (-38, 0)
[ERROR] MediaPlayer: Attempt to call getDuration without a valid mediaplayer
[ERROR] MediaPlayer: error (-38, 0)
[ERROR] MediaPlayer: Error (1,-2147483648)
[ERROR] MediaPlayer: Error (-38,0)
[ERROR] MediaPlayer: Error (-38,0)
I get the last version, in master branch of github to fix this ticket https://jira.appcelerator.org/browse/TIMOB-18913, but the error persist.

I use the h264, sd, url value from this request https://player.vimeo.com/video/123857657/config

My code is basically this:

Player.videoPlayer = Ti.Media.createVideoPlayer({
  backgroundColor: '#000',
  fullscreen: true,
  autoplay: true,
  url: url,
  scalingMode: Ti.Media.VIDEO_SCALING_ASPECT_FIT,
  mediaControlMode: Ti.Media.VIDEO_CONTROL_DEFAULT 
});
This happen in emulator and device.

Viewing all articles
Browse latest Browse all 8068

Trending Articles



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