New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

g2embedded

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

g2embedded

视频容灾通用库,将 YouTube、Facebook、Vimeo、Google Drive 整合成统一的视频播放 API。

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

g2Embedded

视频容灾通用库,将 YouTube、Facebook、Vimeo、Google Drive 整合成统一的视频播放 API。

无需关心底层平台差异,只需传入视频 ID 即可自动识别平台并嵌入播放器。

安装

npm install g2embedded

文档

完整的中文使用文档请查看 docs/README.md

快速示例

<div id="my-player"></div>

<script>
  var player = $('#my-player').G2embedded('uGI8Od22WM4')
</script>

支持平台

  • YouTube
  • Facebook
  • Vimeo
  • Google Drive

浏览器支持

IE 11+、Chrome、Firefox、Safari、Opera。

许可证

MIT

FAQs

Package last updated on 08 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts