Comments (8)
@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.
@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.
2 of the demos are working for me Chrome 36.0.1985.143. May this issue is already fixed ?
from audio5js.
@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.
I can confirm the Angular demos are working fine for me
from audio5js.
@zohararad this issue looks to have been resolved but you never closed it.
from audio5js.
must've missed it @KamijouTouma closing now (thanks for your help in cleaning up things)
from audio5js.
No problem ;) @zohararad
from audio5js.
Related Issues (20)
- Setting volume on ready event causes TypeError HOT 6
- Error when on https HOT 4
- one instance has issues loading multiple tracks HOT 4
- Playback speed support HOT 3
- Instance attribute 'position' is a formatted string. HOT 1
- milli seconds for progress HOT 4
- npm does not install latest release HOT 6
- Button to control sound in webpage HOT 3
- Angular implementation
- Catch HTTP response errors when loading audio? HOT 2
- Replay issue in IE8 HOT 1
- trigger 'canplaythrough' and 'stalled' HOT 1
- No Audio Android Chrome, But Full Audio Android Firefox?? HOT 13
- Uncaught (in promise) DOMException: play() can only be initiated by a user gesture. HOT 4
- fail to get audio duration directly HOT 6
- failed to pause playing immediately after this.play() HOT 3
- can laod Multiple songs at one time HOT 1
- any method to clear the event queue of specific event? HOT 4
- Uncaught (in promise) DOMException: play() failed because ... HOT 11
- Can't get info when loaded or play
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audio5js.