GithubHelp home page GithubHelp logo

iframe-player's Introduction

iframe 播放器

简介

该项目以通信协议为核心,辅助建设 iframe 播放器提供方和使用方之间的交互能力。

播放器提供方

如何接入

方式一:使用 IframePlayerProvider 插件(推荐)

使用 IframePlayerProvider 插件,能够快速接入交互能力。插件的使用方式参照 IframePlayerProvider 文档

方式二:按照通信协议自主实现交互能力

参见 iframe 播放器通信协议

调试

cd test-page/user && yarn serve

在打开的新页面中调试你的播放器

播放器使用方

如何接入

方式一:使用 IframePlayer 插件(推荐)

使用 IframePlayer 插件,能够快速接入交互能力。插件的使用方式参照 IframePlayer 文档

方式二:按照通信协议自主实现交互能力

参见 iframe 播放器通信协议

调试

cd test-page/provider && yarn serve

使用打开的链接作为测试播放器的url

开发

参见 DEV.md

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.