Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video won't play #13

Open
nutriepaul opened this issue Jun 9, 2013 · 4 comments
Open

Video won't play #13

nutriepaul opened this issue Jun 9, 2013 · 4 comments

Comments

@nutriepaul
Copy link

In the console I get this.

06-08 19:46:02.882: I/Web Console(10207): video played at file:///android_asset/www/cordova-2.6.0.js:5310

and the video does not play.

The code I have actuating it is

$scope.androidPlayVideo = function (videoUrl){
console.log('playing Video');
window.plugins.videoPlayer.play(videoUrl);
console.log('video played');
}

@macdonst
Copy link
Owner

macdonst commented Jun 9, 2013

what is your videoUrl?

Simon Mac Donald
http://hi.im/simonmacdonald

On Sat, Jun 8, 2013 at 10:49 PM, Paul [email protected] wrote:

In the console I get this.

06-08 19:46:02.882: I/Web Console(10207): video played at
file:///android_asset/www/cordova-2.6.0.js:5310

and the video does not play.

The code I have actuating it is

$scope.androidPlayVideo = function (videoUrl){
console.log('playing Video');
window.plugins.videoPlayer.play(videoUrl);
console.log('video played');
}


Reply to this email directly or view it on GitHubhttps://github.com//issues/13
.

@nutriepaul
Copy link
Author

this is what I want to play:
http://autobody.s3.amazonaws.com/media/VIDEOS/ABS/ABS200/ABS201/final/e2fa427d6c6f3ed4fc22d5b4591d07fd.mp4

I also tried a youtube video
ng-click="androidPlayVideo('http://www.youtube.com/watch?v=eN3os5VFBlk')"

same thing no errors and no playback, i am using phonegap / cordova 2.6, is that maybe the problem?

thanks for the quick response btw :)

@nutriepaul
Copy link
Author

I just tried on an HTC one, and a Galaxy Nexus, same result.

@macdonst
Copy link
Owner

macdonst commented Jun 9, 2013

There is something wrong with your setup. They both play fine during my
tests. What do you see in "adb logcat"?

Simon Mac Donald
http://hi.im/simonmacdonald

On Sat, Jun 8, 2013 at 11:40 PM, Paul [email protected] wrote:

I just tried on an HTC one, and a Galaxy Nexus, same result.


Reply to this email directly or view it on GitHubhttps://github.com//issues/13#issuecomment-19160277
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants