Using OpenStreetMap Geo-Data with PicoLisp
Hi all, after a lot of procrastination, I crunched out today an article about PicoLisp canvas programming, and the handling of geographic data from the OpenStreetMap project: http://picolisp.com/wiki/?osmGeoData I incorporated some short video sequences for better illustration. Perhaps this was not a good idea, as the picolisp.com server doesn't have a good upstream connection. There are in total four videos embedded in the document, and it seems that whenever the page is opened or refreshed, all those videos get reloaded. Any ideas? Is there some other way, i.e. having the videos loaded only when really needed? Anyway, I hope the article is useful :) ♪♫ Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: Using OpenStreetMap Geo-Data with PicoLisp
Hi Alex, I look forward to reading the article. To load the videos only when needed, you could take a screenshot of video and use that as the image on the page. You could have a javascript click event that replaces the image HTML with the video tag. That's the first idea that came to mind. I don't know if javascript is an option On Tue, May 6, 2014 at 2:17 PM, Alexander Burger a...@software-lab.dewrote: Hi all, after a lot of procrastination, I crunched out today an article about PicoLisp canvas programming, and the handling of geographic data from the OpenStreetMap project: http://picolisp.com/wiki/?osmGeoData I incorporated some short video sequences for better illustration. Perhaps this was not a good idea, as the picolisp.com server doesn't have a good upstream connection. There are in total four videos embedded in the document, and it seems that whenever the page is opened or refreshed, all those videos get reloaded. Any ideas? Is there some other way, i.e. having the videos loaded only when really needed? Anyway, I hope the article is useful :) ♪♫ Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: Using OpenStreetMap Geo-Data with PicoLisp
Hi Joe, Hi Alex, I look forward to reading the article. To load the videos only when needed, you could take a screenshot of video and use that as the image on the page. You could have a javascript click event that replaces the image HTML with the video tag. That's the first idea that came to mind. I don't know if javascript is an option This would be possible, just changing the 'render' function in wiki/lib.l. The videos won't work in a text browser anyway, so JS is not an obstacle. However, I'd like to see what else turns out (i.e. if it is really a problem) before changing the wiki. Thanks! ♪♫ Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: Using OpenStreetMap Geo-Data with PicoLisp
* Alexander Burger a...@software-lab.de [140506 20:27]: Hi all, after a lot of procrastination, I crunched out today an article about PicoLisp canvas programming, and the handling of geographic data from the OpenStreetMap project: http://picolisp.com/wiki/?osmGeoData I incorporated some short video sequences for better illustration. Perhaps this was not a good idea, as the picolisp.com server doesn't have a good upstream connection. There are in total four videos embedded in the document, and it seems that whenever the page is opened or refreshed, all those videos get reloaded. Have you tried with the preload=none attribute? As I read the spec it should make preloading the videos unattractive for the browser... HTH, Christian -- May you be peaceful, may you live in safety, may you be free from suffering, and may you live with ease. -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: Using OpenStreetMap Geo-Data with PicoLisp
Hi Christian, in the document, and it seems that whenever the page is opened or refreshed, all those videos get reloaded. Have you tried with the preload=none attribute? As I read the spec it should make preloading the videos unattractive for the browser... Indeed! This sounds like the perfect solution! I tried it, but unfortunately now it doesn't load _anything_, the video player frame isn't even displayed. So I tried preload=metadata instead. This seems to be a little better. The intial loading still takes rather long, but subsequent reloads seem faster. Let's stay with this for now. Thanks! ♪♫ Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe