为什么我无法在 Galaxy Ace 中播放该视频,但可以在 Galaxy SII 中播放?
这是两个视频文件属性:
我正在两台设备 Samsung Galaxy Ace 和 Samsung Galaxy SII 上播放此视频。
当我运行 Alone.mp4 时,它在两个设备上都能正常播放。但同样,如果我运行 Pfront.mp4 视频,那么它只能在 Galaxy SII 中播放,而不能在 Galaxy Ace 中播放。那次在 Galaxy Ace 中,它给了我这样的消息:抱歉,该视频无法播放。
视频文件的配置是否有问题? 这里出了什么问题?为什么我无法在 Galaxy Ace 中播放视频?
谢谢。
使用代码编辑
我使用下面的代码来播放视频
case R.id.playVideoBtn:
File file2 = new File("/sdcard/Pfront.mp4");
Uri video = Uri.fromFile(file2);
myVideoView.setVideoURI(video);
myVideoView.start();
break;
}
Here is the two video file properties :
I am playing this video in to both device, Samsung Galaxy Ace and Samsung Galaxy SII.
While i run Alone.mp4 then it play fine for both the device. But as same if i run the Pfront.mp4 video then it only play in to galaxy SII and not play in Galaxy Ace. and that time in Galaxy Ace it gives me message like: Sorry, this video cannot be played.
Is there a Problem with the configuration of the Video File ?
Whats wrong here ? Why i am not able to play the Video in to Galaxy Ace ?
Thanks.
Edited with code
I am using below code to play the Video
case R.id.playVideoBtn:
File file2 = new File("/sdcard/Pfront.mp4");
Uri video = Uri.fromFile(file2);
myVideoView.setVideoURI(video);
myVideoView.start();
break;
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论