I was copying from what I posted for someone else since I'm on my phone and 
it's hard to type wiki syntax.
Surprised that worked, I would have used audio/mpeg

As for other types you will just need to try, I have never looked into this 
much.

On Wednesday, January 20, 2021 at 1:41:08 PM UTC+1 Saq Imtiaz wrote:

> 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 sil...@gmail.com 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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/03b33298-eae3-4317-b213-45d36a8bd1a1n%40googlegroups.com.

Reply via email to