Still playing with/working on web apps.
I like what I see in JessyInk. What I would like to do is attach a short sound tag to each level. I would like something that would play and then exit. I could go to an html page and have it exit after a certain period of seconds but that seems kind of kludgy.
I did google on audio and Inkscape but the link I found was no longer operational.
On 20/10/11 18:34, john Culleton wrote:
I like what I see in JessyInk. What I would like to do is attach a short sound tag to each level. I would like something that would play and then exit. I could go to an html page and have it exit after a certain period of seconds but that seems kind of kludgy.
I did google on audio and Inkscape but the link I found was no longer operational.
JessyInk does not support playing sound files at the moment. However, as a quick work-around you could convert the sound file to a video file and include it in that way. In the latest development version on bazaar, the video component has been extended, so that you can assign order numbers to starting and stopping videos (in effect starting and stopping the video when you get to certain points during the presentation). I realise that that's not a very elegant way of including sound files.
It should also be quite straight forward to modify the video component to make it play sounds. Essentially, the video component relies on HTML 5 to play the clips. All that's required is switching the tag to play sound files. If you have some time and interest in modifying the video component please let me know. I would be happy to provide you with any information or help you may require.
Cheers, Hannes
On Thu, 20 Oct 2011 12:34:58 -0400 john Culleton <John@...1668...> wrote:
I like what I see in JessyInk. What I would like to do is attach a short sound tag to each level. I would like something that would play and then exit. I could go to an html page and have it exit after a certain period of seconds but that seems kind of kludgy.
I did google on audio and Inkscape but the link I found was no longer operational.
Further I found this code:
<foreignObject> <div xmlns="http://www.w3.org/1999/xhtml"> <video src="myvideo.ogg"/> </div> </foreignObject>
Given this code how do I place it in a particular spot on the screen? Do I need to enclose it in an existing element like a rectangle to place it?
On 23/10/11 23:07, john Culleton wrote:
On Thu, 20 Oct 2011 12:34:58 -0400 john Culleton<John@...1668...> wrote:
I like what I see in JessyInk. What I would like to do is attach a short sound tag to each level. I would like something that would play and then exit. I could go to an html page and have it exit after a certain period of seconds but that seems kind of kludgy.
I did google on audio and Inkscape but the link I found was no longer operational.
Further I found this code:
<foreignObject> <div xmlns="http://www.w3.org/1999/xhtml"> <video src="myvideo.ogg"/> </div> </foreignObject>
Given this code how do I place it in a particular spot on the screen? Do I need to enclose it in an existing element like a rectangle to place it?
Hi John,
you could place the code you found in a "rect"-element in your svg-file. However, you may find it more convenient to use the video element provided with JessyInk. There is a description on how to use it on the wiki-page given below:
https://code.google.com/p/jessyink/wiki/VideoElement
Should you have any trouble with it, let me know.
Cheers, Hannes
participants (2)
-
Hannes Hochreiner
-
john Culleton