Comments (5)
Yes but you'll have to modify articleBlockSlider a fair bit to get it to work.
Also note that autoplay is disabled at an OS level on iOS so it could be challenging getting that to work... you need to make sure the code to start the audio is directly associated with the user clicking something or it will be blocked.
from adapt-audio.
Thank you for all
from adapt-audio.
I understand that you are saying me, but I don't know how call any method of audio.js from blockslider.js. Do I need to create an instance or how i can call a, for example, function play() from blockslider.js?
I'm beginner in javascript and i'm learning now.
from adapt-audio.
As Matt has said, auto-play is a very bad idea. You can get the player to stop any time by putting Adapt.trigger("audio:stop");
at the point in the blockslider where you want the audio to stop. It is recommended to have the user hit the play button themselves and not do auto play. The support for auto play is bad.
from adapt-audio.
Ok, I know that auto-play is a bad idea, but I was asked to do so.
Thank you for all
from adapt-audio.
Related Issues (9)
- Not work for me HOT 6
- Extension not loading correctly HOT 1
- Problems with the feedback description HOT 3
- update README for compatibility with latest version of Adapt
- needs updating to work with Adapt v3
- needs to support the media:stop event
- Can provide a properties.schema for uploading this plugin to adapt authoring tool 0.10.5 & adapt framework 5.7.0? HOT 1
- Redundant? HOT 1
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 adapt-audio.