Autoplay not working
See original GitHub issueI am not able to get autoplay to work in any browser
var Slider = require('react-slick').default;
var slider1 = require('../img/FMF2018_New_Slider_Dec.jpg')
var slider2 = require('../img/Hallow.jpg')
class Carousel extends React.Component {
render () {
var settings = {
dots: true,
infinite: true,
arrows: false,
speed: 500,
slidesToShow: 1,
slidesToScroll: 1,
swipeToSlide: true,
autoPlay: true,
autoplaySpeed: 1000
};
return (
<Slider className='sliderTest' {...settings}>
<div><img src={slider1} className='img-responsive' height="500" alt='test'/></div>
<div><img src={slider2} className='img-responsive' height="500" alt='test'/></div>
<div><img src={slider1} className='img-responsive' height="500" alt='test'/></div>
<div><img src={slider2} className='img-responsive' height="500" alt='test'/></div>
</Slider>
);
}
}
export default Carousel
"dependencies": {
"axios": "^0.16.2",
"jquery": "^3.2.1",
"prop-types": "^15.6.0",
"react": "^15.6.2",
"react-dom": "^15.6.2",
"react-scripts": "1.0.12",
"react-slick": "^0.16.0",
"react-tweet-embed": "^1.0.8",
"react-twitter-embedded-timeline": "^0.4.0",
"xml2js": "^0.4.19"
},
Issue Analytics
- State:
- Created 6 years ago
- Comments:13
Top Results From Across the Web
Autoplay not working in Windows 10/11 [COMPLETE GUIDE]
How can I fix Autoplay if it isn't working in Windows 10? · 1) Reset the Autoplay settings · 2) Check Registry Editor...
Read more >How to Fix Windows 10 AutoPlay Not Working? – 6 Methods
Sometimes, Windows 10 AutoPlay may not work. How to fix windows 10 autoplay not working issue? This video offers 6 methods. Method 1....
Read more >AutoPlay not working in Windows 11/10
It's very easy to disable AutoPlay in Windows 11. Go to Settings > Bluetooth & devices > AutoPlay. Disable the toggle that says...
Read more >6 Fixes When the AutoPlay Isn't Working on Windows 11
1. Turn Off and On AutoPlay in the Settings · Press Win + I to open Settings. · Open the Bluetooth & devices...
Read more >Windows 10 Autoplay not working - Microsoft Community
Windows 10 Autoplay not working · Click the Start button Image , click All Programs, click Accessories, right-click Command Prompt, and then ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The property is called autoplay in lowercase, does it solve your problem?
@arhoy just set the prop
pauseOnHover
to false. https://react-slick.neostack.com/docs/api#pauseOnHover