Build on Riff
The reference for everything Riff makes public, and the guides to extending it. All of it holds within a major version.
Reference
- PHPFunctions, the Source interface, Block Bindings, the abilities and the Listen block.
- JavaScriptwindow.riff: its members, actions, filters and events.
- REST APIThe riff/v1 routes, the riff_track field on media, and GraphQL.
- CSSThe public custom properties of the player and the Listen block.
- Track schemaThe one shape of a track that every surface shares.
- HooksEvery filter and action, in PHP and in the player, searchable.
Guides
- ExtensionsHow a plugin inside Riff is bundled, loaded and written.
- How the player worksFrom the blocks a page plays to the views, the panels and the turntable.
- IsolationWhat an extension may touch, and the check that holds it to that.
- Built on the open webEach browser API and CSS feature the player uses, how and why.