必须安装 Youtube 应用才能使用 Youtube api

Is mandatory to have Youtube app installed to use Youtube api

我正在阅读一些关于如何使用 Youtube Api 的教程。只是在我实施之后才知道。当原始 Youtube 应用程序未安装在设备上时,它无法正常工作。在我阅读的教程中,没有提到这一点。就在原始文档中,它说:

The API client library interacts with a service that is distributed as a part of the YouTube app for the Android platform

如果是这样我认为这是一个排除标准。因为它会强制用户安装另一个 20mb 大小的应用程序。

所以我的问题是是否有另一种播放 youtube 视频的方法。

一种可能是在网络视图中使用 HTML5 播放器。但它可能与旧版 android OS 存在兼容性问题,并且体验可能因设备而异。