Hi All,
Observing issue with IE11 when tried to play audio using object tag(due to some compatibility reasons I cant use HTML5 audio tag).
Below is the code snippet:
<object type="audio/mpeg"
data="${mediaPath}">
<param name="src" value="${mediaPath}" />
<param name="ShowControls" value="0" />
<param name="loop" value="${repeat}"/>
</object>
The above code works only with 'AUDIO__MP3 Moniker Class' plugin. If the plugin is not available/enabled with IE an error thrown in the logs saying 'undefined' and no audio is played. Even when there are plugins that are capable of playing the audio. Ex: Quicktime, windows media player.
Could you please help me in this?
Thanks,
Abhishek