Audio is not supported with h5p file upload

Issue description 

Audio is not available if content was added via H5P file upload. When game is played, audio is not available. Your browser does not support this audio message is shown.

Reproduction:

Add H5P file containing dialog cards with audio files in .wav format (either created by CLI  or by downloading existing games). After pressing on create button, the format starts to be shown in some weird octet extension (application/stream-octet) instead of wav (with manual upload I see audio/x-wav while hovering). 

Technical details:

Platform: Wordpress, 6.0.2

Device: Desktop

Browser: Chrome

H5P plugin version: 1.15.4 

Browser console error( not sure if it can be related):

Uncaught Error: Target container is not a DOM element.

    at Object.render (react-dom.development.js:26091:1)

    at HTMLDocument.<anonymous> (index.tsx:16:12)

PHP errors(not sure if it can be related):

Missing data from PHP (wpNotesArgs).

(anonymous) @ admin-bar-v2.js?ver=11.5-a.1-202240:3

 

No recent changes to browser, plugins, extensions 

Content types: 
BV52's picture

Hi edurova,

I think villon already answered this question: https://h5p.org/comment/47166#comment-47166

-BV

villon's picture

Hello edurova,

as BV52 said I think this is solved. And doublepostings are not helpfull, because they split the attention of people who would like to help. And the impossibility to output *.wav in the browser is also not a bug, and therefore does not need a request in "bugs in content types" but, this is probably due to your lack of experience with the means of the Internet. So try a little harder, you will surely manage it.

greetings

villon