在MPMoviePlayerController中播放Youtube视频或播放RTSP

编程入门 行业动态 更新时间:2024-10-23 10:27:39
本文介绍了在MPMoviePlayerController中播放Youtube视频或播放RTSP-3GP链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经检查了stackoverflow,并在整个Internet上进行了搜索,但是找不到解决我问题的方法. 在我的应用中,我需要控制youtube视频的显示方式.我需要控制MPMoviePlayerController,从而控制MPMediaPlayback属性.所以实际上我有3个问题:

I've checked on stackoverflow and searched all over the internet but haven't been able to find a solution to my problem. In my app I need to have control over the way a youtube video is shown. I need to have control over the MPMoviePlayerController and thereby MPMediaPlayback properties. So actually I have 3 questions:

  • 是否已有解决方案,可以直接在您自己创建的MPMoviePlayerController中播放youtube视频?

  • Is there already a solution for playing youtube videos directly in a MPMoviePlayerController that you create yourself?

    是否可以播放RTSP-youtube在MPMoviePlayerController中为移动网站提供的3GP链接? (目前它拒绝RTSP格式)

    Is it somehow possible to play the RTSP - 3GP links youtube has for the mobile site in the MPMoviePlayerController? (Right now it refuses the RTSP format)

    是否可以控制每次将YouTube视频嵌入UIWebView时启动的MPMoviePlayerController?

    Is it possible to have control over the MPMoviePlayerController that starts whenever a youtube video is embedded in a UIWebView?

    如果只能回答这三个问题中的一个,我将非常高兴!

    If only one of these 3 questions can be answered I would be very happy!

    提前谢谢!

    推荐答案

  • 不知道-值得通过检查NSNotifications进行调查
  • 更多推荐

    在MPMoviePlayerController中播放Youtube视频或播放RTSP

    本文发布于:2023-11-23 13:55:54,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1621675.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:视频   MPMoviePlayerController   Youtube   RTSP

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!