Added function to retrieve autoplay value without initializing plugin