Code Monkey home page Code Monkey logo

Comments (8)

zohararad avatar zohararad commented on June 23, 2024

@x20mar I'm afraid the Angular demo wasn't done by me - I'm not an Angular person. I tried reaching out to the developer who did it but he was unresponsive. My suggestion is to look at the principle and then rewrite it yourself.

There's currently no way to state you don't want a Fallback but as long as the Flash isn't required it won't be used.

from audio5js.

sethlesky avatar sethlesky commented on June 23, 2024

@x20mar @x20mar After updating to Chrome 36.0.1985.125 (about 16 hours ago), I'm seeing the error below which seems similar to @x20mar. Older versions of Chrome and the most recent Safari and Firefox run that Angularjs example without issue.

It seems in both cases the FlashAudioPlayer fallback is failing. Since I'm using Chrome I'm no sure why it's falling back to begin with.

I'm curious which browser you were testing with, and if anyone has insights.

TypeError: Cannot read property 'pplay' of undefined
at Object.FlashAudioPlayer.play (file:///Users/sethlesky/playground/audio5js/src/audio5.js:432:17)
at Object.Audio5js.play (file:///Users/sethlesky/playground/audio5js/src/audio5.js:832:20)
at Object.Audio5js.playPause (file:///Users/sethlesky/playground/audio5js/src/audio5.js:847:44)
at http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js:70:299
at http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js:140:525
at Object.e.$eval (http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js:86:310)
at Object.e.$apply (http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js:86:417)
at HTMLButtonElement. (http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js:140:507)
at http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js:22:462
at Array.forEach (native)

In case these issue are not related I created a ticket here:
#41

from audio5js.

cihank avatar cihank commented on June 23, 2024

2 of the demos are working for me Chrome 36.0.1985.143. May this issue is already fixed ?

from audio5js.

zohararad avatar zohararad commented on June 23, 2024

@cihank the angular demos were not created by me but rather by @altryne . The issues with Chrome 36 compatibility were fixed separately. I suggest using the release from master branch in your own code and your own Angular implementation

from audio5js.

mikerudolph avatar mikerudolph commented on June 23, 2024

I can confirm the Angular demos are working fine for me

from audio5js.

belldandu avatar belldandu commented on June 23, 2024

@zohararad this issue looks to have been resolved but you never closed it.

from audio5js.

zohararad avatar zohararad commented on June 23, 2024

must've missed it @KamijouTouma closing now (thanks for your help in cleaning up things)

from audio5js.

belldandu avatar belldandu commented on June 23, 2024

No problem ;) @zohararad

from audio5js.

Related Issues (20)

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.