Embed Client Versions Save

🎼 Sheet Music & Tabs Embed JavaScript Client

v2.3.0

4 months ago
  • Added lazy option to add a loading="lazy" attribute to the created iframe

v2.2.0

4 months ago
  • Added embed parameter userId

v2.1.0

7 months ago
  • 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

7 months ago
  • Fixed package exports compatibility with Webpack 5

v2.0.0

7 months ago

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

1 year ago
  • Add allow: autoplay on created iframes.

v1.5.0

1 year ago

Add methods:

  • getNbMeasures
  • getMeasuresUuids
  • goLeft
  • goRight
  • getMetronomeMode
  • setMetronomeMode
  • getPlaybackSpeed
  • setPlaybackSpeed
  • scrollToCursor

v1.4.1

2 years ago

Fixed compatibility with Vue 3

v1.4.0

3 years ago
  • Update loadFlatScore to support sharingKey
  • Add methods to dynamically set audio tracks: setTrack, useTrack and seekTrackTo

v1.3.0

4 years ago
  • Add methods:
    • getMasterVolume
    • setMasterVolume
    • getPartVolume
    • setPartVolume
    • mutePart
    • unmutePart
    • setPartSoloMode
    • unsetPartSoloMode
    • getPartSoloMode
    • getPartReverb
    • setPartReverb
    • getMeasureDetails
    • getNoteDetails
  • Add events:
    • noteDetails
    • measureDetails
    • cursorContext