Using HTML5 for audio not (easily) possible due to flexform
In typo3/sysext/cms/flexform_media.xml the checkbox to use "HTML5/accessible rendering" is only shown if the Media-type is video. It is hidden for audio through a displayCond in flexform.
But that checkbox is needed for HTML5-audio as well. Unfortunately that displayCond can not just be removed since another tab is also triggered by this checkbox:
And displayCond does not allow to have two conditions / one condition of two parts (type=video and mmUseHTML5) here.
Workaround is to use use type=video, check the checkbox and after that change to type=audio. That value is then still present in flexform.
Tested this on latest 4.7.2-dev from git.
PS: CCing Steffen Ritter on this since that condition was introduced by his changeset.
Author: Steffen Ritter
Date: Thu Apr 12 21:05:05 2012 +0200
[BUGFIX] Usability improvements for Media Element
Final adaptions to the Media Element to reduce the UI to the
neccessary stuff and better distinguish between HTML5 and normal