Ability to programmatically control embeds (#776)
authorWilliam Lahti <wilahti@gmail.com>
Tue, 10 Jul 2018 15:47:56 +0000 (08:47 -0700)
committerChocobozzz <me@florianbigard.com>
Tue, 10 Jul 2018 15:47:56 +0000 (17:47 +0200)
commit999417328bde0e60cd59318fc1c18672356254ce
tree22673fcbd4dc333e3362912b2c813e97a41c765f
parent0b755f3b27190ea4d9c301ede0955b2736605f4c
Ability to programmatically control embeds (#776)

* first stab at jschannel based player api

* semicolon purge

* more method-level docs; consolidate definitions

* missing definitions

* better match peertube's class conventions

* styling for embed tester

* basic docs

* add `getVolume`

* document the test-embed feature
12 files changed:
client/package.json
client/src/assets/player/peertube-player.ts
client/src/standalone/player/definitions.ts [new file with mode: 0644]
client/src/standalone/player/events.ts [new file with mode: 0644]
client/src/standalone/player/player.ts [new file with mode: 0644]
client/src/standalone/videos/embed.ts
client/src/standalone/videos/test-embed.html [new file with mode: 0644]
client/src/standalone/videos/test-embed.scss [new file with mode: 0644]
client/src/standalone/videos/test-embed.ts [new file with mode: 0644]
client/webpack/webpack.video-embed.js
server/controllers/client.ts
support/doc/api/embeds.md [new file with mode: 0644]