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"
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 <[email protected]>:

> 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
> <[email protected]> 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:* [email protected] [mailto:
>> [email protected]] *On Behalf Of *Gnome
>> *Sent:* 19 March 2017 15:04
>> *To:* mnemosyne-proj-users <[email protected]>
>> *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" 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 [email protected].
>> To post to this group, send email to mnemosyne-proj-users@googlegro
>> ups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/mnemosyne-proj-users/d1ec5545-8d89-470d-83ea-21b0242990f
>> d%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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/CAOyESO3UgMjP%3D%2BF7BUUAzxdGQRZYsHHC2xz2Ghr_UdgQ3TNYiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to