Releases: FlatIO/embed-client
Releases · FlatIO/embed-client
v2.3.0
- Added
lazy
option to add a loading="lazy"
attribute to the created iframe
v2.2.0
- Added embed parameter
userId
v2.1.0
- Added methods:
getNbParts
getPartsUuids
getMeasureVoicesUuids
getMeasureNbNotes
getNoteData
playbackPositionToNoteIdx
- Added URL parameter:
noAudio
to disable audio playback
- Fixed
setMasterVolume
not calling the correct underlying method
v2.0.1
- Fixed package exports compatibility with Webpack 5
v2.0.0
Breaking changes:
- Removed support for jQuery in constructor. Migration:
var container = $('#embed-container');
var embed = new Flat.Embed(container[0], {
// your options
});
New features:
- Added support for TypeScript in published NPM module
- Publishing separate ES & UMD builds
v1.5.1
- Add
allow: autoplay
on created iframes.
v1.5.0
Add methods:
- getNbMeasures
- getMeasuresUuids
- goLeft
- goRight
- getMetronomeMode
- setMetronomeMode
- getPlaybackSpeed
- setPlaybackSpeed
- scrollToCursor
v1.4.1
Fixed compatibility with Vue 3
v1.4.0
- Update
loadFlatScore
to support sharingKey
- Add methods to dynamically set audio tracks:
setTrack
, useTrack
and seekTrackTo
v1.3.0
- Add methods:
getMasterVolume
setMasterVolume
getPartVolume
setPartVolume
mutePart
unmutePart
setPartSoloMode
unsetPartSoloMode
getPartSoloMode
getPartReverb
setPartReverb
getMeasureDetails
getNoteDetails
- Add events:
noteDetails
measureDetails
cursorContext