-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autoplay doesn't work #88
Comments
I think auto play in this plug-in simply means when play is pressed, that it will rotate, not that it will rotate on page load. I'd also like to have it rotate on page load. |
Is not working for me either. I need it anyway, so I did a .play() to the three sixty viewer when the document is ready. Is not the best solution and practice, but it works... :/ |
@carlmcf can you share your code? I'm not sure how to use .play() to initiate autoplay of the three sixty viewer when the document is ready. I've tried a few things, but no luck. Thanks! |
It is as simple as:
|
Sorry to be so novice, but @MarbleDaemon, I can't get your code to work. Here's the body of my index file. I've tried a few variations of your original snippet and your edited one, replacing "product1" with "product" and "product.play();" with "car.play();" and so on. I placed your snipped at the bottom of the body. I also wasn't sure why you included "...". I suspect I'm supposed to inject some of my code there, but it's over my head. Thanks in advance! `
|
it should be
In the |
@MarbleDaemon It's still not working. I tried this also: |
|
@MarbleDaemon It's not working either way. Here's a link: http://forestkelley.net/_TEST/threesixtytest/index.html |
Please check if your 360 is |
I'm not sure, but I've tried both. Here is the code from which all of these show:
|
Also, why do you call .ThreeSixty twice? On Thu, Oct 27, 2016 at 9:48 PM, forestkelley [email protected]
|
Got it working! @MarbleDaemon, asking why I was calling ".ThreeSixty" twice was a good clue. Instead of adding your code separately, I injected it below the plug-in's original call to .ThreeSixty. Here's the working script:
|
I'm glad it works for you :) On Thu, Oct 27, 2016 at 10:59 PM, forestkelley [email protected]
|
Hello,
I initialized the slider with autoplay: true but it doesn't play automatically.
The text was updated successfully, but these errors were encountered: