Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/185.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java Youtube API:搜索可在移动设备上播放的视频_Java_Android_Api_Youtube - Fatal编程技术网

Java Youtube API:搜索可在移动设备上播放的视频

Java Youtube API:搜索可在移动设备上播放的视频,java,android,api,youtube,Java,Android,Api,Youtube,我正在使用youtube api按关键字查询视频。结果必须可以在Android Youtube应用程序上播放,但有时我会遇到一个错误,即视频无法在移动设备上播放 是否有用于搜索可在移动设备上播放的视频的参数/选项?如您所见: 可以为查询指定格式参数 1 RTSP streaming URL for mobile video playback. H.263 video (up to 176x144) and AMR audio. 5 HTTP URL to the embeddable p

我正在使用youtube api按关键字查询视频。结果必须可以在Android Youtube应用程序上播放,但有时我会遇到一个错误,即视频无法在移动设备上播放

是否有用于搜索可在移动设备上播放的视频的参数/选项?

如您所见: 可以为查询指定格式参数

1 RTSP streaming URL for mobile video playback. H.263 video (up to 176x144) and AMR audio. 5 HTTP URL to the embeddable player (SWF) for this video. This format is not available for a video that is not embeddable. Developers commonly add &format=5 to their queries to restrict results to videos that can be embedded on their sites. 6 RTSP streaming URL for mobile video playback. MPEG-4 SP video (up to 176x144) and AAC audio. 1个用于移动视频播放的RTSP流式URL。H.263视频(高达176x144)和AMR音频。 5此视频的可嵌入播放器(SWF)的HTTP URL。此格式不适用于不可嵌入的视频。开发人员通常在查询中添加&format=5,以将结果限制为可嵌入其网站的视频。 6用于移动视频播放的RTSP流媒体URL。MPEG-4 SP视频(高达176x144)和AAC音频。
你知道Android youtube应用程序的正确格式是什么吗?如果能为我所做的工作投票,我将不胜感激。。。消除过程:H.263比MPEG-4更压缩。那就用1吧