Sorry probably I dind't fully understood your previous message. Thanks anyway, tha task is too much for me. Not a Pro in IT.

Bye

Thanks anyway.28/03/2017 19:16, Peter Bienstman ha scritto:

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:*[email protected] [mailto:[email protected]] *On Behalf Of *Andrea Giordano
*Sent:* 28 March 2017 16:10
*To:* mnemosyne-proj-users <[email protected]>
*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 <[email protected] <mailto:[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] <mailto:[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]>
        [mailto:[email protected]
        <mailto:[email protected]>] *On Behalf Of
        *Gnome
        *Sent:* 19 March 2017 15:04
        *To:* mnemosyne-proj-users
        <[email protected]
        <mailto:[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
        
<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
        [email protected]
        <mailto:[email protected]>.
        To post to this group, send email to
        [email protected]
        <mailto:[email protected]>.
        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
        <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] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[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 <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 a topic in the Google Groups "mnemosyne-proj-users" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/mnemosyne-proj-users/vy401E6geuI/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/a8432c0625b143b19037f7eefd1438d8%40xmail101.UGent.be <https://groups.google.com/d/msgid/mnemosyne-proj-users/a8432c0625b143b19037f7eefd1438d8%40xmail101.UGent.be?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 [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/53260b91-210d-d2cf-b04f-10e4a534b416%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to