Skip to content

Nandaleio/Altar

Repository files navigation

Altar

Commenting tool for audio / image / video / 3D object

List of the Modes :

Event name Description
VIEW View the media without the comment markers
COMMENT View the media with the comment markers
DELETE Delete comment on the media
DRAW Draw a shap on 2D media image / video
POINT Point a comment on media that is at least 1D audio / image / video

List of the dispatched Events :

Comment related:

Event name Description Body
comment-added The user added a comment to the current media Comment position
comment-selected The user selected a comment {id: string}
comment-delete The user deleted a comment {id: string}

Media related

Event name Description Body
media-loaded The media loaded successfully -
media-play The media start playing Media time before start
media-stop The media stop playing Media time at pause
view-changed The media view changed View details
reset-view Reset the view -

Comment position {#comment-position}

  • Audio: {time: number}
  • Image: {x: number, y: number}
  • Video: {x: number, y: number, time: number}
  • 3D : Coming soon

View {#view-detail}

  • Audio: {time: number}
  • Image: {x: number, y: number, rotation: number, zoom: number}
  • Video: {x: number, y: number, rotation: number, zoom: number, time: number}
  • 3D : Coming soon

Customization :

Coming soon

Dependencies

  • ThreeJS
  • @material/web (might change)

About

Commenting tool for audio / image / video / 3D object

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published