Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

Georgie Peru
Georgie Peru
212 Points

VenoBox plugin won't play video but shows it loading

I am currently using a ThemeForest template to build a website, using the template as a basis to learn and experiment. One of the plugins included with the template is VenoBox (http://veno.es/venobox/).

The website is currently live which you can view here: http://timothymaryon.com/

Once on the website, click on the top right image (Scope) to see that the video looks like it's loading, but doesn't actually load or play. I have gone through the documentation on the VenoBox website and can't for the life of me figure out why the video won't play. There doesn't appear to be any console errors or issues with the code. I've tried this with Vimeo and YouTube, and nothing works.

Here is the HTML relating to the VenoBox plugin:

<div class="works-item signature-adler ImageWrapper works-item-one-half zoom logos">
                      <img data-no-retina alt="" title="" class="img-responsive" src="images/works/04.jpg"/>
                      <a  class="venobox" data-gall="portfolio-gallery" data-vbtype="video" data-autoplay="true" href="https://vimeo.com/221800817">
                          <div class="works-item-inner ImageOverlayHe">
                            <p class="valign text-center"><span class="white font3">SCOPE</span></p>
                          </div>
                      </a>
              </div>

I won't paste all of the code as you can inspect it from the website, but I've ensured that everything is in it's right place, as far as I'm aware!

Any help on this would be greatly appreciated as I feel I've made quite a lot of progress but clearly have fallen down somewhere along the line!

Thanks,

Georgie