You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I receive many requests to add audio for this event like showing the result or for that event like pressing a button or dropping an item, and I wonder if it was a good idea to add some audio features to H5P.Question as a central spot.
I am thinking of something like (that's what I needed so far):
@return {boolean} False, if audio could not be played (e. g. due to browser autoplay policy)
*/
playAudio(id)
/**
Stop audio.
@param {number|string} [id] Id. If empty, stop all audios.
*/
stopAudio(id)
What do you think about that? Anything wrong? Anything missing (an audio button like the full screen button that could be used easily, other functions like pauseAudio(id), ... )? Would that have chances to become a part of H5P.Question?
The text was updated successfully, but these errors were encountered:
I receive many requests to add audio for this event like showing the result or for that event like pressing a button or dropping an item, and I wonder if it was a good idea to add some audio features to H5P.Question as a central spot.
I am thinking of something like (that's what I needed so far):
/**
*/
registerAudio(id, audio)
/**
*/
playAudio(id)
/**
*/
stopAudio(id)
What do you think about that? Anything wrong? Anything missing (an audio button like the full screen button that could be used easily, other functions like pauseAudio(id), ... )? Would that have chances to become a part of H5P.Question?
The text was updated successfully, but these errors were encountered: