Treehouse: Grow your CSS skills. Land your dream job.

Autoplay video in Safari using AnythingSlider

  • # February 20, 2013 at 2:04 pm

    I’m building a sort of e-book that is really just an HTML page using sliders. The book opens with a 3-second video set to autoplay. It works great in Firefox, but will not play the video in Safari.

    I’ve narrowed down the issue to the slider. If I put the video outside the slider, it plays just fine. Inside, it only works in Firefox.


    • page item

      I apologize in advance if my code looks like Baghdad. I’ve been writing code for a while, but this is the first time I’ve asked for help in a forum, and this forum doesn’t appear to use [html] or tags.[code] tags.

    # February 20, 2013 at 3:22 pm

    OK, sorry to jump the gun – figured it out. Had to edit the variables assigned to ‘sliderSettings’, which were all assigned in one block above the code I pasted in. Now it works great (at least until I go to test in IE and Chrome).

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.