Giter VIP home page Giter VIP logo

jclic.js's People

Contributors

dependabot[bot] avatar extend1994 avatar frncesc avatar gitter-badger avatar lukasdrgon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jclic.js's Issues

Url in initial message is always autostart

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>

Time delay not working as expected in text activities

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.

FillinBlanks - Wrong validation if all dropdown list are with space by default

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>

URL changing when choosing other site language

I tried this in Chrome, Firefox - Windows - and Safari - IOS,

  • When I choose portuguese activities, and then I change the site language to catalán, everithing works. When I choose Spanish, the occitan activities show (the URL changes to http://clic.xtec.cat/repo/index.html?language=oc)
  • I tried choosing the english activities and everithing seemed ok. When I changed the site language to Spanish and then went to english language again, I had the Greek activities showing. After changing the site language again, I had one Spanish and Araucanian activity showing.

Gif is not animated

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 not working using Safari in iOS

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 :(

Fill in Blanks - Content not overwriting the blue line

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)

LIbrery version 1.1.12 crashes on Safari

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

Url don't open in activity

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>

No sound under Firfox with MP3 greater than 50K

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.

No sounds from activities on android

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.