Hi Eric,<div><br></div><div>I couldn't reproduce the problem in any simple example. However, I did fix it within OpenLayers. Basically, I changed a couple of lines:</div><div><br></div><div><div> /**</div><div> * Method: removeBackBuffer</div>
<div> * Remove back buffer from DOM.</div><div> */</div><div> removeBackBuffer: function() {</div><div> if(this.backBuffer) {</div><div> if (this.div.hasChildNodes(this.backBuffer)) { // ADDED THIS LINE</div>
<div> this.div.removeChild(this.backBuffer);</div><div> } // AND OF COURSE THIS</div><div> this.backBuffer = null;</div><div> this.backBufferResolution = null;</div><div> if(this.backBufferTimerId !== null) {</div>
<div> window.clearTimeout(this.backBufferTimerId);</div><div> this.backBufferTimerId = null;</div><div> }</div><div> }</div><div> },</div></div><div><br></div><div>It's in my public repo. Should I make a pull request? I know it's yet another check and might slow down things, but stability seems more important. What do you think?</div>
<div><br></div><div>Cheers,</div><div>Tim</div><div><br></div><div>Twitter: @timhheuer<br><div>Blog: <a href="http://www.thheuer.com/" target="_blank">http://www.thheuer.com</a></div><br>
<br><br><div class="gmail_quote">On Wed, Mar 14, 2012 at 2:03 PM, Tim-Hinnerk Heuer <span dir="ltr"><<a href="mailto:th.heuer@gmail.com">th.heuer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Cool, I was sure it would be interesting for some.<div><br></div><div>What it does is simply replace the <img/> elements in the Grid of OpenLayers with <video/> elements. So, it works only with HTML5 support. We have a use case here with density data and I have implemented it as an extension to OpenLayers as mentioned. Unfortunately, it's still in alpha/beta, so it's not public yet. And also (surprisingly) it does not work correctly in Google Chrome but in Firefox.</div>
<div><br></div><div>You can pull from the mentioned repo to test it out. </div><div><br></div><div>Basically on the WMS side I simply cached the n layers (one for each frame) and then wrote a shell script to append those images to a video with ffmpeg. On the mapcache side I used a trick to fool it the correct mime type. So, it only works with a full cache. We used MapServer and MapCache for this.</div>
<div><br></div><div>We are thinking of presenting this with our use case at one of the upcoming conferences. Interested? Please reply here.</div><div><br></div><div>Thanks,</div><div>Tim</div><div><div class="im"><br>Twitter: @timhheuer<br>
<div>Blog: <a href="http://www.thheuer.com/" target="_blank">http://www.thheuer.com</a></div><br>
<br><br></div><div><div class="h5"><div class="gmail_quote">On Wed, Mar 14, 2012 at 12:04 PM, Phil Scadden <span dir="ltr"><<a href="mailto:p.scadden@gns.cri.nz" target="_blank">p.scadden@gns.cri.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm working for GNS but based down in Landcare in NZ. VideoWMS sounds<br>
very much like something I have down my to-do list. Could you explain a<br>
bit more about what it does?<br>
<br>
Thanks.<br>
<span><font color="#888888"><br>
--<br>
Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St,<br>
Private Bag 1930, Dunedin, New Zealand Ph <a href="tel:%2B64%203%204799663" value="+6434799663" target="_blank">+64 3 4799663</a>, fax <a href="tel:%2B64%203%20477%205232" value="+6434775232" target="_blank">+64 3 477 5232</a><br>
<br>
Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.<br>
<br>
</font></span></blockquote></div><br></div></div></div>
</blockquote></div><br></div>