Guille San wrote: > Hi Robert: > First of all I want to thank you for all the time you are spending > helping me. > >> I also just noticed that once you get the hide() working, you have >> nothing in your script to show it again. You are trying to make an AJAX >> call to update it's contents every second, but the element would still >> be hidden. Is that what you intended? > I would try to spend clearly what I´m trying to do, because I thing that > sometimes I´m not explaining well. That I want to do is: > 1- I have a program that takes a picture from a camera every 700ms. > 2- Those images are save at \public\guarrada\Debug > 3- I want to show that images that I take every second in the webpage > 4- I want that the serie of images seems like a video.For that purpose I > want to change the latest image only when it were fully loaded, because > if I don´t do that the video have a white line continuos moving on the > image doing like a blind. > > I think I expressed it well this time, but if you have any question do > that.
I think you're going to have a lot of problem with this approach. I would not attempt to use JavaScript to flood the DOM with a bunch of images. This might work for a minute or two, but is going to look very much like a huge memory leak in the browser. It might work until you fill up the machines memory, but you'll most likely, and soon, crash the browser. Instead convert your image sequence in to "real" movie clips and let that play in the browser using a proper plugin. I didn't look at the very thoroughly, but this is a much better approach: http://electron.mit.edu/~gsteele/ffmpeg/ -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

