Hi,

As I mentioned earlier, I also could not get html5 audio functionality to work 
reliably on all platforms…

If you really want to achieve the functionality you’re after, it’s probably 
better to write a plugin that disables automatic playing of the audio files.

Cheers,

Peter

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

Recap: I'd like to create a link to an additional audio file in my card (an 
audio witht a completa phrase of the word I'm memorizing
Thisi is what I have in my meaning box:

To realize
 <audio controls>
  <source 
src="file:///C:\Users\Me\AppData\Roaming\Mnemosyne\default.db_media\ptofeel.mp3<file:///C:/Users/Me/AppData/Roaming/Mnemosyne/default.db_media/ptofeel.mp3>"
 type="audio/mpeg">
<form name="myform"><textarea name="outputtext"></textarea></form>
<script language="javascript" 
type="text/javascript">document.myform.outputtext.value = 
document.documentElement.outerHTML;</script>
</audio>
It doesen't find the file. I checked the link and it works (copu past on my win 
explorer address bar)
also all these things appeared by themselves ...
<form name="myform"><textarea name="outputtext"></textarea></form>
<script language="javascript" 
type="text/javascript">document.myform.outputtext.value = 
document.documentElement.outerHTML;</script>
Any clue? Thanks

2017-03-20 14:09 GMT+05:00 Andrea Giordano 
<giordanoandrea1...@gmail.com<mailto:giordanoandrea1...@gmail.com>>:
Hi. I didn't manage to make it work even with the complete address suggested.😞

Il 20 Marzo 2017 13:55:21 GMT+05:00, Peter Bienstman 
<peter.bienst...@ugent.be<mailto:peter.bienst...@ugent.be>> ha scritto:
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>
 
[mailto: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<mailto: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.

--
Inviato dal mio dispositivo Android con K-9 Mail. Perdonate la brevità.

--
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/CAOyESO3UgMjP%3D%2BF7BUUAzxdGQRZYsHHC2xz2Ghr_UdgQ3TNYiA%40mail.gmail.com<https://groups.google.com/d/msgid/mnemosyne-proj-users/CAOyESO3UgMjP%3D%2BF7BUUAzxdGQRZYsHHC2xz2Ghr_UdgQ3TNYiA%40mail.gmail.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/a8432c0625b143b19037f7eefd1438d8%40xmail101.UGent.be.
For more options, visit https://groups.google.com/d/optout.

Reply via email to