自定义视频视图

huangapple go评论74阅读模式
英文:

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

huangapple
  • 本文由 发表于 2020年10月6日 21:37:13
  • 转载请务必保留本文链接:https://go.coder-hub.com/64227000.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定