Android 视频横向播放
是否可以让 Android 编译的应用程序以横向方式播放视频?
我已经尝试了我能想到的一切,但它就是无法播放......至少不能正确播放。它正在播放视频,我可以听到声音,但屏幕保持空白。
如果我不锁定应用程序方向,则视频在纵向方向上可以正常播放,但是当翻转设备以横向时,视频图像会冻结,而音频继续播放......如果我然后将设备翻转回纵向,视频将继续播放。
我在模拟器和 Samsung Galaxy Tab 上都遇到此问题。 KitchenSink 应用程序视频示例也会出现同样的问题。
谢谢。 拉马钱德兰
Is it possible to get an Android compiled app to play video in landscape orientation?
I've tried everything I can think of and it just won't play... at least not correctly. It is playing the video as I can hear the sound playing but the screen stays blank.
If I do not lock the apps orientation the video plays fine in portrait orientation but when flipping the device to landscape the video image freezes whilst the audio continues to play... if I then flip the device back to portrait the video continues playing.
I have this problem on both the emulator and a Samsung Galaxy Tab. The same issue also happens with the KitchenSink app video example.
Thanks.
Ramachandran
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
模拟器在播放视频时通常会出现问题。 此示例应用程序适用于纵向和横向视频。
The emulator will generally have problems playing back video. This sample application works properly for video in both portrait and landscape.