Hello, everyone.
I'm having some troubles with shadowbox. I want to open a video from Vimeo to a pop up window and I also want that the video starts automatically playing the video. I've tried everything that I could ever imagine, but still no autoplay.
I have read guides on the Internet and trying to get it to work, but maybe I have done a mistake somewhere.
I have gathered some pictures to dropbox and I'm hoping that they will help us to solve the mystery of shadowbox.
First of all, I'm using the latest version of Drupal 7.14 and the article that I'm working on is here, http://varjo.tutkamedia.fi/content/test-shadowbox-and-vimeo-autoplay .
Here's some images,
- Here's the article's source code, http://db.tt/uUFGueef .
- Here are the shadowbox modules, http://db.tt/EEjXzTA5 .
- Here's the shadowbox configuration, http://db.tt/LnTPn09R .
- Then there's a picture from sites/all/libraries/shadowbox http://db.tt/2YQ89cDN .
- and a picture from sites/all/modules/shadowbox http://db.tt/0kG0YFKg .
- Here's the shadowbox.admin.inc file, http://db.tt/FEU5B1pL .
- and last, but not least the shadowbox.module file, http://db.tt/SOrlFs78 .
That's all the pictures that I could think to help.
Hopefully, someone can help me out here because it's driving me crazy. I've been trying to make it work for the whole day and still nothing.
-Jussi Jokinen-
Comments
Comment #1
manfer commentedI can't see the problem. I have tested:
http://varjo.tutkamedia.fi/content/test-shadowbox-and-vimeo-autoplay
on chrome, firefox, opera, safari, and it autoplays correctly. There is 2-3 seconds delay to start (or maybe more depending on speed of your internet connection) because it is a streaming video and till it has enough video in its cache it doesn't start playing but it works as expected.
If you are using Internet Explorer maybe is an IE problem. I haven't tested that browser to know if it works or not.
Comment #2
n00bsaiboth commentedHey manfer,
I got it to work few hours later, after submitting this post. I don't know if it's the smartest way to do this, but I added this "?autoplay=1" to end of the videos URL and then it works.
Yours sincerely,
Jussi Jokinen
Comment #4
mikedotexe commented?autoplay=1 worked for me also.
I read about that elsewhere for a YouTube video, but this also worked for a Vimeo video I needed to autoplay.