Giter VIP home page Giter VIP logo

adapt-contrib-narrative-audio's People

Contributors

andrewhosgood avatar brian-learningpool avatar cahirodoherty-learningpool avatar cajones avatar chris-steele avatar chucklorenz avatar dancgray avatar darylhedley avatar davetaz avatar deltanetdan avatar eleanor-heath avatar fellner avatar guywillis avatar hrajotia avatar jamieshepherd avatar kevadsett avatar kirsty-hames avatar kunjsharma avatar lc-thomasberger avatar moloko avatar nayankhedkar avatar nilslp avatar oliverfoster avatar robertpeek avatar ryan-lynch avatar sarveshwar-gavhane avatar taylortom avatar tomallpress avatar tomgreenfield avatar zenduo avatar

Stargazers

 avatar

Watchers

 avatar  avatar

adapt-contrib-narrative-audio's Issues

Audio only plays on navigation arrow selection, not via progress icons or swipe

if (!Adapt.audio) return;
var currentItem = this.model.getActiveItem();
if (this.isLargeMode()) {
if (this.model.has('_audio') && this.model.get('_audio')._isEnabled && Adapt.audio.audioClip[this.model.get('_audio')._channel].status == 1) {
Adapt.audio.audioClip[this.model.get('_audio')._channel].onscreenID = "";
Adapt.trigger('audio:playAudio', currentItem.get('_audio').src, this.model.get('_id'), this.model.get('_audio')._channel);
}
} else {
if (this.model.get('_isMobileTextBelowImage')) {
if (this.model.has('_audio') && this.model.get('_audio')._isEnabled && Adapt.audio.audioClip[this.model.get('_audio')._channel].status == 1) {
Adapt.audio.audioClip[this.model.get('_audio')._channel].onscreenID = "";
Adapt.trigger('audio:playAudio', currentItem.get('_audio').src, this.model.get('_id'), this.model.get('_audio')._channel);
}
}
}

File case is incorrect causing build failure on Linux

Command failed: grunt server-build:dev --outputdir=courses/582ddab766bb580b0757965b/6194e25f92dc645331292d44/build --theme=582de0cafff1fc521e078b87 --menu=adapt-contrib-deltaboxMenu
Error: Could not load /datadrive/www/test.adaptbuilder.com/temp/582ddab766bb580b0757965b/adapt_framework/src/components/adapt-contrib-narrative-audio/js/NarrativeAudioView (imported by src/components/adapt-contrib-narrative-audio/js/adapt-contrib-narrativeAudio.js): ENOENT: no such file or directory, open '/datadrive/www/test.adaptbuilder.com/temp/582ddab766bb580b0757965b/adapt_framework/src/components/adapt-contrib-narrative-audio/js/NarrativeAudioView'

adapt-contrib-narrative-audio.js has uppercase file name for view. File is lowercase.

Causes build error
Plugin v6.2.0
FW v5.17.6-D (Deltanet Fork).

Using in authoring tool

Hi,

I installed the plugin and also the audio extension - no errors all good. I have added a narrative and also mp3s, but I cannot get any audio control.

What am I missing?

Thanks!
Kind regards,
Tim

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.