Fantastic. This is working. I've seen the note on the pre-release mentioning the need to use this "files" directory, but I thought it was for pdf etc ,,, But obviously an .mp3 is a file ... indeed.!
Thanks a lot! Vpl On Monday, November 26, 2018 at 4:42:07 PM UTC+1, Jeremy Ruston wrote: > > TiddlyWiki v5.1.18 can serve static files, see here: > > > https://tiddlywiki.com/prerelease/#Using%20the%20integrated%20static%20file%20server > > <https://tiddlywiki.com/prerelease/#Using+the+integrated+static+file+server> > > I'm currently trying to test the same functionality on 5.1.18 but *with >> the nodejs server option*. >> >> - So I've copy the audio directory in the same directory as the one >> containing tiddlywiki.info file >> - I've created a tiddler with the same code >> >> <audio src="audio/cours/chorus-travail-debit.mp3" >> preload="auto" controls></audio> >> > > Note that the files need to go into a folder called “files” in the wiki > folder (ie a sibling to the “tiddlers” folder”). They are referenced as > `/files/<filename>` so your audio tag should look like: > > <audio src="files/audio/cours/chorus-travail-debit.mp3" preload="auto" > controls></audio> > > Best wishes > > Jeremy. > > > >> That does not works. I click on the play button but Tiddlywiki does not >> find the audio file to serve. >> >> Any idea ? >> Is it even possible ? >> >> With regards >> >> Vpl >> >> > -- > 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] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > Visit this group at https://groups.google.com/group/tiddlywiki. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/57867c87-b4ed-4d01-92f3-e7962a58c6ac%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/57867c87-b4ed-4d01-92f3-e7962a58c6ac%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7ea5f408-9324-4045-aff8-16107d768456%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

