Youtube Player 、Eyepetizer、VideoTube播放器研究及逆向分析

一、Youtube Player

demo鏈接:

https://developers.google.com/youtube/youtube_player_demo

利用JavaScript Iframe 來使用Youtube播放器

The IFrame player API lets you embed a YouTube video player on your website and control the player using JavaScript.

Using the API's JavaScript functions, you can queue videos for playback; play, pause, or stop those videos; adjust the player volume; or retrieve information about the video being played. You can also add event listeners that will execute in response to certain player events, such as a player state change.

This guide explains how to use the IFrame API. It identifies the different types of events that the API can send and explains how to write event listeners to respond to those events. It also details the different JavaScript functions that you can call to control the video player as well as the player parameters you can use to further customize the player.

二、Eyepetizer

使用了Native Player,逆向分析UI層次如下:

image.png

Native Player使用了阿里云播放sdk

image.png

播放控制器-RichVidePlayerViewController

image.png

三、VideoTube

使用了UIWebview,基于Youtube IFrame Player API 由JavaScript來實現(xiàn)

image.png
最后編輯于
?著作權歸作者所有,轉載或內容合作請聯(lián)系作者
【社區(qū)內容提示】社區(qū)部分內容疑似由AI輔助生成,瀏覽時請結合常識與多方信息審慎甄別。
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發(fā)布,文章內容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

友情鏈接更多精彩內容