wishlits plugin for browser keys / views / link

Features you'd like to see in future versions, gripes, ideas..
Post Reply
icekarim
Posts: 74
Joined: Mon Jul 09, 2012 6:14 pm
Contact:

wishlits plugin for browser keys / views / link

Post by icekarim » Mon Sep 03, 2012 2:41 am

Hi

Very pleased by lightup and it's plugin for internet browsers
Been using it il all my projects

some wishlits
1/ relative path for luca files
2/ player should not export scenes masked as not included in animation
3/ player should export all scenes (32 seems to be the max !)
4/ logo insersion doesn't work fine for me (too big impossible to set size)
5/ add a slider for realtime sun

Id like these features...
Thanks
Karim Tabbara

User avatar
AdamB
Site Admin
Posts: 2296
Joined: Wed Apr 16, 2008 10:11 am
Location: Brighton, UK
Contact:

Re: wishlits plugin for browser keys / views / link

Post by AdamB » Mon Sep 03, 2012 7:38 pm

icekarim wrote:Hi

Very pleased by lightup and it's plugin for internet browsers
Been using it il all my projects

some wishlits
1/ relative path for luca files
Can you explain some more please.
icekarim wrote:2/ player should not export scenes masked as not included in animation
You need to check "In Animation" to only export Scenes in your animation.
icekarim wrote:3/ player should export all scenes (32 seems to be the max !)
Yes, currently limited to 32. We'll see what we can do here.
icekarim wrote:4/ logo insersion doesn't work fine for me (too big impossible to set size)
The players (quietly) limit the watermark size to 512x512. Given the watermark is just in the corner, this isn't unreasonable but perhaps its should warn you of this.
icekarim wrote:5/ add a slider for realtime sun
You can change the "time of day" and "date of year" from Javascript using the APIs:

Code: Select all

document.getElementById(NAME_OF_YOUR_LIGHTUP_PLUGIN_ELEMENT').timeofday = 0.00..23.99
document.getElementById(NAME_OF_YOUR_LIGHTUP_PLUGIN_ELEMENT').dayofyear = 0..365
Developer of LightUp http://www.light-up.co.uk

icekarim
Posts: 74
Joined: Mon Jul 09, 2012 6:14 pm
Contact:

Re: wishlits plugin for browser keys / views / link

Post by icekarim » Fri Sep 07, 2012 1:02 am

Hello adam
Thanks for the answers
concerning "Can you explain some more please." some wishlits 1/ relative path for luca files

The path to the luca file in the html file doen't work if it's a relative path
must be a full path
the content of my http://a.k.t.free.fr/clients/stephaniem ... a_prj.html html file is
>> createLUPlayer2('lup1_objemb', 'http://a.k.t.free.fr/clients/stephaniem ... rj_11.luca', true, { "multisample": 4, "autostart": 1 });
I cannot juste write
>> createLUPlayer2('lup1_objemb', 'fil/smm_prj_11.luca', true, { "multisample": 4, "autostart": 1 });
even thow the luca file is in the 'fil' subfolder
doesn't work...
the plugin displays erro message : "NOT FOUND : fil/smm_prj_11.luca'

Thanks
Karim Tabbara

icekarim
Posts: 74
Joined: Mon Jul 09, 2012 6:14 pm
Contact:

Re: wishlits plugin for browser keys / views / link

Post by icekarim » Fri Sep 07, 2012 1:29 am

Hy adam
still me
tryed javascript for sun
<FORM>
<INPUT type="button" value="8h00" name="button2" onClick="(document.getElementById('lup1_objemb').timeofday = 8); ">
<INPUT type="button" value="10h00" name="button2" onClick="(document.getElementById('lup1_objemb').timeofday = 10); ">
<INPUT type="button" value="12h00" name="button2" onClick="(document.getElementById('lup1_objemb').timeofday = 12); ">
<INPUT type="button" value="16h00" name="button2" onClick="(document.getElementById('lup1_objemb').timeofday = 16); ">
<INPUT type="button" value="18h00" name="button2" onClick="(document.getElementById('lup1_objemb').timeofday = 18); ">
<br>
<INPUT type="button" value="J1" name="button2" onClick="(document.getElementById('lup1_objemb').dayofyear = 1); ">
<INPUT type="button" value="J100" name="button2" onClick="(document.getElementById('lup1_objemb').dayofyear = 100); ">
</FORM>

When paused, works only once looks like ther must be a 'refresh' action
When playing animation I cannot check if it's working

Regards
Karim Tabbara

User avatar
AdamB
Site Admin
Posts: 2296
Joined: Wed Apr 16, 2008 10:11 am
Location: Brighton, UK
Contact:

Re: wishlits plugin for browser keys / views / link

Post by AdamB » Fri Sep 07, 2012 5:30 pm

icekarim wrote:Hello adam
Thanks for the answers
concerning "Can you explain some more please." some wishlits 1/ relative path for luca files

The path to the luca file in the html file doen't work if it's a relative path
must be a full path
the content of my http://a.k.t.free.fr/clients/stephaniem ... a_prj.html html file is
>> createLUPlayer2('lup1_objemb', 'http://a.k.t.free.fr/clients/stephaniem ... rj_11.luca', true, { "multisample": 4, "autostart": 1 });
I cannot juste write
>> createLUPlayer2('lup1_objemb', 'fil/smm_prj_11.luca', true, { "multisample": 4, "autostart": 1 });
even thow the luca file is in the 'fil' subfolder
doesn't work...
the plugin displays erro message : "NOT FOUND : fil/smm_prj_11.luca'

Thanks
Ah ok. Yes, this is because all modern browsers block web pages accessing files like this. You must use a fully qualified URL; nothing LightUp can do.

icekarim wrote:Hy adam
still me
tryed javascript for sun
<FORM>
<INPUT type="button" value="8h00" name="button2" onClick="(document.getElementById('lup1_objemb').timeofday = 8); ">
<INPUT type="button" value="10h00" name="button2" onClick="(document.getElementById('lup1_objemb').timeofday = 10); ">
<INPUT type="button" value="12h00" name="button2" onClick="(document.getElementById('lup1_objemb').timeofday = 12); ">
<INPUT type="button" value="16h00" name="button2" onClick="(document.getElementById('lup1_objemb').timeofday = 16); ">
<INPUT type="button" value="18h00" name="button2" onClick="(document.getElementById('lup1_objemb').timeofday = 18); ">
<br>
<INPUT type="button" value="J1" name="button2" onClick="(document.getElementById('lup1_objemb').dayofyear = 1); ">
<INPUT type="button" value="J100" name="button2" onClick="(document.getElementById('lup1_objemb').dayofyear = 100); ">
</FORM>

When paused, works only once looks like ther must be a 'refresh' action
When playing animation I cannot check if it's working

Regards
May be because you are using a <form>. There is no need for that, just add <input> buttons like you have done - or perhaps a dropdown like this:

<div>Time Of Day
<select id="scenes" onchange="document.getElementById('lup1_objemb').timeofday = parseFloat(this.options[this.selectedIndex].value);">
<option value='8.5'>08h30</option>
<option value='10' >10h00</option>
<option value='12' >Midday</option>
<option value='16' >16h00</option>
<option value='18' >18h00</option>
</select>
</div>

Adam
Developer of LightUp http://www.light-up.co.uk

icekarim
Posts: 74
Joined: Mon Jul 09, 2012 6:14 pm
Contact:

Re: wishlits plugin for browser keys / views / link

Post by icekarim » Sat Sep 08, 2012 1:50 am

Hi Adam
Thanks for those quick answers

relative path
can't understand why modern browser don't support relative path...

sun
Thanks again
Works ine even if paused
BUT only if you add a number after the comma in time settings (bug ?)
See below

<div>Time Of Day
<select id="scenes" onchange="document.getElementById('lup1_objemb').timeofday = parseFloat(this.options[this.selectedIndex].value);">
<option value='8.5'>08h30</option>
<option value='9.5'>09h30</option>
<option value='10.1' >10h00</option>
<option value='12.1' >Midday</option>
<option value='16.1' >16h00</option>
<option value='18.1' >18h00</option>
</select>
</div>

Regards
Karim Tabbara

Post Reply