Again untested code but try this:
<audio src={{{ [[data:video/mp4;base64,]addsuffix{TiddlyWiki.mp3}] }}}
autoplay />
On Wednesday, January 20, 2021 at 1:29:57 PM UTC+1 Hubert wrote:
> Thank you Sylvain.
>
> I was able to embed the mp3 file and play it with a press of a button.
> Unfortunately, unlike in the case of "referenced" (external) files,
> autoplay doesn't seem to work for *embedded *files (I've checked that on
> TiddlyWiki.com as well).
>
> When I put this into a tiddler and then open that tiddler, the sound does
> not play:
>
> <audio controls autoplay>
> <source src="TiddlyWiki.mp3" type="audio/mp3">
> </audio>
>
> Is there anything else I'd need to do for autoplay to work for *embedded *
> files?
>
> Thanks again,
> Hubert
>
> On Wednesday, 20 January 2021 at 12:04:19 UTC [email protected] wrote:
>
>> Le mercredi 20 janvier 2021 à 11:35:41 UTC+1, Hubert a écrit :
>>
>>>
>>> I would like to embed the mp3 (or ogg or any other compressed sound)
>>> file within TiddlyWiki instead of keeping it as an external source file.
>>>
>>
>>
>> Hello Hubert,
>>
>> Did you see this : https://tiddlywiki.com/#Audio
>>
>> Tiddler TiddlyWiki.mp3 is set to audio/mp3 content type.
>>
>>
>> Cheers,
>> Sylvain
>>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/5c1233e9-52b2-4fdd-87a6-8dc7dd814e1bn%40googlegroups.com.