所以我想要一个视频的缩略图(该部分有效),当用户点击它时,它会全屏播放视频。我正在尝试将其放入 MPMoviePlayerViewController 中。但是我已经尝试了 h263 和 mpeg4 rtsp 链接,但它们都失败了(这实际上使应用程序崩溃)。但我也在我的 Mac 上快速尝试过它们,但它们无法加载。
秘诀是什么?
以下是一些示例数据:
"from_name": "epicmealtime",
"from_id": "epicmealtime",
"from_image_url": "https://i2.ytimg.com/i/Yjk_zY-iYR8YNfJmuzd70A/1.jpg?v=50cba2b0",
"message": "Bacon Beer Can Chicken - Epic Meal Time",
"create_time": 1364281243.0,
"post_id": "7DycWLAAEwY",
"post_type": "YouTube",
"description": "We like our chicks when they're drunk! NEW episodes of EpicMealTime every Tuesday, NEW episodes of Handle It every Saturday!!! Watch Episode 1 of Handle It! ...",
"video_thumbnail_url": "http://i.ytimg.com/vi/7DycWLAAEwY/default.jpg",
"rating": 4.8826127,
"h263_video_url": "rtsp://v7.cache5.c.youtube.com/CkULENy73wIaPAkGEwCwWJw87BMYDSANFEgGUgZ2aWRlb3NyIQGy7tHqcQHgzgWNsIjcB4KCDvPB7EI6RNWvHdRsUJxg5gw=/0/0/0/video.3gp",
"mpeg4_video_url": "rtsp://v7.cache5.c.youtube.com/CkULENy73wIaPAkGEwCwWJw87BMYESARFEgGUgZ2aWRlb3NyIQGy7tHqcQHgzgWNsIjcB4KCDvPB7EI6RNWvHdRsUJxg5gw=/0/0/0/video.3gp"
非常感谢!