SCENE-CE / mirador-annotation-editor

Apache License 2.0
6 stars 0 forks source link

Audio Media implementation #52

Open Drilio opened 8 months ago

Drilio commented 8 months ago

For now we choose to block the creation and the edition of annotation in audio media

Audio Media must support those templates :

Drilio commented 8 months ago

TimeTarget may be difficult to implement, Mirador doesn't use the same king of function in audioPlayer and in videoPlayer.

What I'm trying to do :

Reproduce the same comportment on audio and video => when Time of annotation change the player must follow.

What I Know :

Audio is handled by pure Html using the <audio></audio>

Drilio commented 8 months ago

I'll try to use an 'old school' way to handle this case by getting html element with a dom selector in JS and try to use methods like myAudioElement.play() explain there : https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement/Audio

Edit 1