问题描述
我想用我的媒体控制器,而不是内建的YouTube的Android播放器之一。所以,我已经把一些看法重叠的YouTube的Android播放器。不过,我有一个问题,就是它始终将暂停后自动打出一秒钟。因此,是否有可能叠加在YouTube的Android播放器?
I want to use my media controller instead of build-in one of YouTube Android Player. So, I have put some views overlapped YouTube Android Player. However, I got a problem which is it always pauses automatically after played one second. Therefore, is it possible to overlay some views on YouTube Android Player?
推荐答案
的Youtube故意prevent在他们的播放器上显示任何内容的任何企图。当它检测到该回放将暂停。这将阻止视频米姆玩家整个行业的发展:(其中一个主要的原因可能是prevent明显的尝试与谷歌争夺广告空间,并且利用用户发布的视频资料其他可以想象的功能。
Youtube deliberately prevent any attempt at displaying anything on top of their player.As soon as it detects this the playback will pause.This blocks the growth of a whole industry of video meme players :(One main reason for this could be to prevent the obvious attempt at competing with Google for advertising space and other imaginable features that capitalize on video material published by users.
YouTube的设置播放器旨在是唯一可能的路径访问的Youtube内容。最初的(现德precated)的Youtube API更为自由,并允许所有上市恩它的一个片段,直接分流codeD音质版本,以自己的VideoView的播放器。这是一个开放的路径,各类滥用和侵犯,使他们放弃了这个,取而代之的是控制解决方案,YouTube播放器是控制如何播放可能出现的网关。
The YouTube provided player is intended to be the only possible path to accessing Youtube content.The initial (now deprecated) Youtube API was much more liberal and allowed listing of all encoded quality versions of a clip and direct streaming of it to your own VideoView based player. This was an open path to all kinds of misuse and violations so they scrapped that in favor of a controlled solution where the Youtube player is the gateway that control how playback can occur.
新的API至少允许玩家进行控制,例如寻求的特定位置并查询当前位置。对于一些应用程序,是热的够可能性想出新的最终用户的价值。
The new API at least allows the player to be controlled such as seeking to a specific position and to query current position. For some apps that is hot enough a possibility for coming up with new end user value.
这篇关于是否有可能叠加在YouTube的Android播放器的一些看法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!