projectestac / jclic.js Goto Github PK
View Code? Open in Web Editor NEWAn HTML5 player of JClic activities
License: European Union Public License 1.2
An HTML5 player of JClic activities
License: European Union Public License 1.2
If I set an Url in the initial message, it's launch automaticly when the activity is start instead when I clic on the message
Not in jclic.js, but we can't set the level for an url, it's disable. We need to edit manually the .jclic file
<activity class="@panels.InformationScreen" name="Wohnen 7" code="">
<description />
<messages>
<cell type="initial">
<style>
<font family="Comic Sans MS" size="20" bold="true" italic="true" />
<color foreground="0xFFFF66" background="0x9999FF" />
</style>
<media type="URL" level="1" file="http://learningapps.org/display?v=p9d95g9rj01" />
<p>Clique sur l'image pour remettre les questions dans l'ordre</p>
</cell>
</messages>
Some text activities automatically advance without been solved:
"Hay actividades tipo Texto Rellenar Agujeros que avanzan automáticamente. La actividad en concreto la tengo configurada para que avance a los 5 segundos cuando esté resuelta de manera correcta, pero avanza a los 5 segundos de iniciarse"
This issue was originally reported by @JesusMey in JClic repository.
Hi,
In this activity, with only all answers in dropdown list and if the first choice (option) in all entries is a space, then the validation is considered good if we leave all selections with space. If one entry is without a space by default then the validation works fine. Also fine if one entry is with text instead of dropdown list.
All entries are like this :
<style name="targetError" base="target" foreground="0xFF0000" background="0xFFFF66" />
<style name="target" base="default" foreground="0x0000FF" target="true" background="0xFFFF66" />
<style name="default" family="Book Antiqua" background="0xFFFF99" bold="false" italic="false" size="16" tabWidth="12" />
<section>
<p family="Arial" background="0xFFFFFF" Alignment="1">
<cell imgAlign="middle,bottom" width="200" height="146" image="10h20.PNG">
<style borderStroke="0.7" markerStroke="5.0">
<color background="0xFF9999" />
</style>
</cell>
<text family="Book Antiqua" background="0xFFFF99"> Es ist zwanzig </text>
<target>
<answer>nach</answer>
<optionList>
<option> </option>
<option>vor</option>
<option>nach</option>
<option>Uhr</option>
</optionList>
<text>nach</text>
</target>
<text family="Book Antiqua" background="0xFFFF99"> zehn.</text>
</p>
I tried this in Chrome, Firefox - Windows - and Safari - IOS,
Open by @Okaryn in projectestac/jclic#13
Hi,
With 0.3.1.0 author, when I convert a project in HTML5, the gif animated are not animated, only the first image is show.
No problem in author or with Java generation.
Try with Firefox/Chrome/IE
Thanks !
jclic.js is not working when I use Safari in any iOS device. This means that if I try to put a JClic activity inside my iOS app or I open within the Safari browser, the screen is always blank. I need to use other browsers like Chrome, but Safari is the default one and I cannot change it :(
When filling blanks, the blue line (provided as a cue to the user to know where to write) pushes the everything to the right, causing confusion to the user (e.g. Actividad de llenar huecos con imagenes where the blue lines will not stay in place)
Navigation buttons are always active in JClic.js, despite of the sequence settings.
This issue was originally reported by @JesusMey in JClic repository.
Hi
JClic projects crashes on Safari browser, The error is below:
TypeError: 'undefined' is not a constructor (evaluating 'new Audio(n)')
Error is localized on the following code
if (Utils.startsWith(fileName, 'data:')) this.audio = new Audio(fileName);
This error cause that JClic librarry does not supported by Safari browser (mobile and laptops devices)
Thanks
Open by @Okaryn in projectestac/jclic#14
Hi,
When I convert a Jclic in HTML5, I don't have sound with "B" panel in simpleassociation activity.
If I swap A and B panel content, the sound is OK (I swap the primary and secondary tag in the .jclic file)
Try with Chrome/Firefox/IE 11
Thanks !
Open by @Okaryn in projectestac/jclic#15
Hi,
If I select Url for an activ content, the location is not open (manually or automaticaly)
Exemple for a simple activity :
<activity class="@panels.InformationScreen" name="Wohnen 7" code="">
<description />
<messages>
<cell type="initial">
<style>
<font family="Comic Sans MS" size="20" bold="true" italic="true" />
<color foreground="0xFFFF66" background="0x9999FF" />
</style>
<media type="URL" level="1" file="http://learningapps.org/display?v=p9d95g9rj01" />
<p>Clique ici... pour remettre les questions dans l'ordre</p>
</cell>
</messages>
<settings margin="0" report="false">
<container bgColor="0x9999FF">
<counters time="false" actions="true" score="true" />
</container>
<window bgColor="0x9999FF" border="false" />
</settings>
<cells rows="1" cols="1" cellWidth="807.0" cellHeight="509.0" border="true">
<style borderStroke="3.6" markerStroke="2.7">
<font family="Comic Sans MS" size="28" bold="true" />
<color foreground="0x9999FF" background="0xFFCC66" inactive="0x99FF99" border="0x9999FF" />
</style>
<shaper class="@Rectangular" cols="1" rows="1" />
<cell image="maison ou appart.JPG">
<media type="URL" level="1" file="http://learningapps.org/display?v=p9d95g9rj01" />
</cell>
</cells>
</activity>
Hi,
Maybe it's a Firefox bug, so close it directly, but if it's not...
Under Firefox, the sound in MP3 greater then 50Ko (approx.) are not played. No problem with other browser and no problem with other file format. Big OGG file are played under Firefox.
I tried the activities from Jclic repo in html5 but I couldn't hear any sound from the activities except the default sounds, I tried with AOC tablet and smartphone huawei, it's the same problem (in activities I knew they had sounds)
I developed a game in JCLIC WORD SEARCH that has a display problem in HTML5 mode. The letters are not centered in the middle of the cell as they appear in JCLIC PLAYER. I can modify something in the generated files to correct this problem. Thanks
The LIM_CH array of strings defined in edu.xtec.jclic.automation.arith.Operator.java makes use of "x" to indicate "0". This strange behavior was probably inherited from Clic 3.0 for Windows, to distinguish between "undefined" and "0".
JClic.js should take in account this special case as an exception when parsing ".jclic" files.
This issue was originally reported by @belekes in the JClic repository.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.