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 am trying to pass this Base64-encoded link via <a>, but the player doesn't start (I believe it's because the link lacks an extension in its name). How can I adjust this? Do you know a solution?
The text was updated successfully, but these errors were encountered:
I think for most of the demo players, I have them check the link for "playability" by looking for a MIME type hint as a type attribute. So if you had something like <a href="data:audio/mp3;base64,xxxxxxx" type="audio/mp3">link</a>, the type attribute should help if not the portion of the data URI itself.
I have not updated SM2 in a number of years, and it uses HTML5 Audio() objects as opposed to the more modern (and at this point, very well-supported) Web Audio API which has much more powerful audio capabilities.
I am trying to pass this Base64-encoded link via
<a>
, but the player doesn't start (I believe it's because the link lacks an extension in its name). How can I adjust this? Do you know a solution?The text was updated successfully, but these errors were encountered: