Hi,

The html5 audio support under Qt (but also in general) is indeed very wonky, 
which is why we reverted to using mplayer to play sounds…

Cheers,

Peter

From: mnemosyne-proj-users@googlegroups.com 
[mailto:mnemosyne-proj-users@googlegroups.com] On Behalf Of Gnome
Sent: 19 March 2017 15:04
To: mnemosyne-proj-users <mnemosyne-proj-users@googlegroups.com>
Subject: [mnemosyne-proj-users] Re: Is it possible to create a link or button 
for an audio file?

The path in your code seems to be correct.
For example
<source src="p to feel.mp3" type="audio/mpeg">
becomes in windows:
<source src="file:///C:/Users/User/AppData/Roaming/Mnemosyne/default.db_media/p 
to 
feel.mp3<file:///C:/Users/User/AppData/Roaming/Mnemosyne/default.db_media/p%20to%20feel.mp3>"
 type="audio/mpeg">

You can see this by inserting this code together with the audio tag in the card
<form name="myform"><textarea name="outputtext"></textarea></form>
<script language="javascript" 
type="text/javascript">document.myform.outputtext.value = 
document.documentElement.outerHTML;</script>

But it does work in chrome, so the problem is not in webkit(chrome uses 
webkit). So I think the problem must be with Qt.
--
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
mnemosyne-proj-users+unsubscr...@googlegroups.com<mailto:mnemosyne-proj-users+unsubscr...@googlegroups.com>.
To post to this group, send email to 
mnemosyne-proj-users@googlegroups.com<mailto:mnemosyne-proj-users@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/d1ec5545-8d89-470d-83ea-21b0242990fd%40googlegroups.com<https://groups.google.com/d/msgid/mnemosyne-proj-users/d1ec5545-8d89-470d-83ea-21b0242990fd%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 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mnemosyne-proj-users+unsubscr...@googlegroups.com.
To post to this group, send email to mnemosyne-proj-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/791fdf2c66b54594b77127efff6f5d8f%40xmail101.UGent.be.
For more options, visit https://groups.google.com/d/optout.

Reply via email to