英文:
Customization in video view
问题
关于在Android Studio中(使用Java)的问题,我有一个关于不使用VideoView
小部件而仍能播放视频的问题。
如果不行的话,那么如何在VideoView
上进行视觉上的更改呢?
我的意思是在其上添加不同类型的按钮,并为其添加不同的功能。例如,寻找,快进或后退10秒,或类似的功能(我知道我们可以使用内置功能实现,但为什么不尝试自定义方法),以及我们在像VLC这样的播放器上播放视频时使用的所有其他功能。
所以,如果有类似的方法,我将不胜感激地听取相关信息!
提前感谢!
英文:
I got a question here regarding in Android Studio (using Java). Is there any way possible that without using the VideoView
widget, you can play video?
And if not then how do I change the VideoView
visually.
I meant by adding different kind of buttons to it and adding different functionality to it. Like seeking, 10 sec forward or backward or something like that(I know that we can do it using the inbuilt one, but why not try it in the custom way) and all other kind of functionality we use when we play video on VLC kind of player.
So, if there anything like that, I would be grateful to hear about that!.
Thanks in advance!
答案1
得分: 1
你可以尝试使用ExoPlayer。它易于使用并且更加可自定义。
英文:
You can try with ExoPlayer. It's easy and more customizable.
答案2
得分: 0
使用具有自定义控件的媒体播放器,请仔细查看附上的链接 Media Player with custom controls
英文:
Use Media player with custom controls please go through attached link once Media Player with custom controls
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论