Git Product home page Git Product logo

Comments (11)

moloko avatar moloko commented on August 11, 2024 1

yep I think you're right

from adapt-launchnewwindow.

moloko avatar moloko commented on August 11, 2024

don't initialize / do initialize scorm control

Don't worry too much about this yet, I'm more interested in knowing what happens as things stand. Make the other changes then we'll give it a test and see what's what.

from adapt-launchnewwindow.

oliverfoster avatar oliverfoster commented on August 11, 2024

👍

from adapt-launchnewwindow.

oliverfoster avatar oliverfoster commented on August 11, 2024

sorted @moloko

i'm not keen on the configModel override, but that's life.

from adapt-launchnewwindow.

oliverfoster avatar oliverfoster commented on August 11, 2024

i think this should be ready to test? it's got the default text in from the one you sent me, plus the default behaviour from it also.

from adapt-launchnewwindow.

moloko avatar moloko commented on August 11, 2024

First issue I've found is that it ALWAYS activates, no matter which page you launch from.

So, if you launch the course from index.html the extension kicks in and redirects you to index_lms.html

99% of the time you'd only want this extension to run if launching the course via index_lms.html BUT to cope for the other 1% it would be useful to be able to specify a list of pages that trigger activation

from adapt-launchnewwindow.

moloko avatar moloko commented on August 11, 2024

Also, there's no need for it to do anything when 'current window' is the required setting. It should just let Adapt run as normal.

from adapt-launchnewwindow.

moloko avatar moloko commented on August 11, 2024

I think the vast majority of use-cases for this will be 'When run from the LMS I want the course to launch in a new window if the user is running the course on iOS'

from adapt-launchnewwindow.

moloko avatar moloko commented on August 11, 2024

Another possible use-case: client is launching the course in two different environments:

  1. from a web server, where the course is embedded in the page via an iframe
  2. from an LMS where the course is displayed in a new window with no iframe/frameset

In that example, I'd want to configure this extension to launch in a new window only when index.html is run on iOS

from adapt-launchnewwindow.

oliverfoster avatar oliverfoster commented on August 11, 2024

cool

from adapt-launchnewwindow.

oliverfoster avatar oliverfoster commented on August 11, 2024

we can do all of this now right? @moloko

from adapt-launchnewwindow.

Related Issues (8)

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.