使用 MPMoviePlayerController - 我们可以添加自定义按钮吗?

发布于 2024-09-29 23:57:18 字数 203 浏览 0 评论 0原文

我正在创建一个播放视频的应用程序。该视频是一家公司的宣传材料。它详细介绍了他们的一些产品。我想做的是创建一个可以“跳转”到特定产品的按钮。如果您单击产品 A 按钮,您可以跳转到有关产品 A 的视频部分。

我已经了解了 MPMoviePlayerController 的工作原理,但我还不知道如何自定义它。这个自定义按钮可以工作吗?如果可以的话,如何工作?

干杯

I am creating an app that plays a video. This video is promotional material for a company. It details some of their products. What I want to do is create a button that can "jump" to a specific product. If you click the Product A button, you can jump to the section of the video about Product A.

I've got a basic (and I mean basic) knowledge of how MPMoviePlayerController works, but I don't know how to customise it yet. Can this custom button work and if so how?

Cheers

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

壹場煙雨 2024-10-06 23:57:18

是的,只需将它们添加到 MPMoviePlayerController 的视图属性中(如果您不像我一样全屏使用它:无法在 SDK 4.1 中向 MPMoviePlayerController 添加叠加层)

Yes just add them to the MPMoviePlayerController's view property (thats if you are not using it fullscreen like me: Unable to add overlay to MPMoviePlayerController in SDK 4.1)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文