@musikisum/educandu-plugin-flipbook
v1.5.0
Published
A native flipbook plugin for educandu
Readme
educandu-plugin-flipbook
A native flipbook plugin for educandu / Open Music Academy.
Displays pages as an interactive book with page-flip animation. Supports image pages, text pages (Markdown), combined image+text pages, and ABC music notation pages.
Features
- Image pages — full-page images (photos, music manuscripts, scores)
- Text pages — Markdown text with paper-tone background
- Image + text pages — image and text combined; use
@IMGin the text to position the image freely, with optional float (left/right) and size control - ABC + text pages — ABC music notation rendered via abcjs, combined with Markdown text; use
@ABCin the text to position the notation - Book cover — configurable front and back cover with title, subtitle, and edition
- Drag & drop page reordering in the editor
- Live preview in the editor
Prerequisites
- node.js ^20.0.0
- optional: globally installed gulp:
npm i -g gulp-cli
Installation
npm install @musikisum/educandu-plugin-flipbookUsage
Add the plugin info to your educandu custom resolvers module:
import FlipbookPlugin from '@musikisum/educandu-plugin-flipbook';
export default {
resolveCustomPluginInfos: () => [FlipbookPlugin]
};Register the plugin type and translations in your server config:
const flipbookTranslationsPath = require.resolve('@musikisum/educandu-plugin-flipbook/translations.json');
educandu({
plugins: ['musikisum/educandu-plugin-flipbook'],
resources: [flipbookTranslationsPath]
});Import the plugin styles in your main LESS entry point:
@import url('@musikisum/educandu-plugin-flipbook/flipbook.less');Development
git clone [email protected]:musikisum/educandu-plugin-flipbook.git
cd educandu-plugin-flipbook
npm install
npx gulpOER learning platform for music
Funded by 'Stiftung Innovation in der Hochschullehre'
A project of the 'Hochschule für Musik und Theater München' (University for Music and Performing Arts)
Project owner: Hochschule für Musik und Theater München
Project management: Ulrich Kaiser
