$arr = '[{
"currentPos": 2,
"isSelected": false,
"text": 4
},
{
"currentPos": 1,
"isSelected": true,
"text": 3
},
{
"currentPos": 3,
"isSelected": true,
"text": 1
}
]';
$arr = json_decode($arr);
$result = true;
foreach ($arr as $val) {
if (!$val["isSelected"]) {
$result = false;
break;
}
}
$(document).ready(function(){
setTimeout(function () {
$('.slider').slick({
dots: true,
infinite: true,
speed: 400,
slidesToShow: 1,
autoplay: true,
autoplaySpeed: 6000,
arrows: false,
pauseOnFocus: false,
pauseOnHover: false,
dotsClass: 'slick-dots-custom',
});
}, 1000);
});
FFMpeg::open('my_movie.mov')
// export to FTP, converted in WMV
->export()
->toDisk('ftp')
->inFormat(new \FFMpeg\Format\Video\WMV)
->save('my_movie.wmv')
// export to Amazon S3, converted in X264
->export()
->toDisk('s3')
->inFormat(new \FFMpeg\Format\Video\X264)
->save('my_movie.mkv');
// you could even discard the 'toDisk()' method,
// now the converted file will be saved to
// the same disk as the source!
->export()
->inFormat(new FFMpeg\Format\Video\WebM)
->save('my_movie.webm')
$('.f_look').click(function() {
$(this).parents('.card').find('.big_item').arcticmodal();
return false;
});
div:not([class*="container"]) span{
some style
}