• Resolved josephweaver

    (@josephweaver)


    I don’t know if it’s just disallowed in the free version or what, but the videos aren’t working. The containers are coming through, but the src attribute is empty on the <video> tags.

    The preview image does load, but the .fts-jal-fb-vid-play-btn div is also empty… the behavior of the below code block can be seen at: https://codepen.io/anon/pen/BQqyKN

    <div class="fts-jal-fb-vid-wrap">
      <div class="fts-jal-fb-vid-picture feed_dynamic_video_classrBQqoUcjSj_group">
        <img alt="Joe Weaver" border="0" src="https://scontent.xx.fbcdn.net/v/t15.0-10/s720x720/13697423_1618488678463957_1713532831_n.jpg?oh=c8769d125b4dea558c54cb090363822b&oe=58EFC981">
        <div class="fts-jal-fb-vid-play-btn"></div>
        <div class="fts-fluid-videoWrapper-html5">
          <video controls="" id="feed_dynamic_video_classrBQqoUcjSj_group" style="max-width:100%;" width="100%;"><source src="" type="video/mp4"></video>
        </div>
        <div class="slicker-facebook-album-photoshadow"></div>
      </div>
      <div class="fts-jal-fb-description-wrap fb-id516137178551643_702224089942950">
        <a class="fts-jal-fb-name fb-id516137178551643_702224089942950" href="https://www.facebook.com/georgehtakei/videos/1685205818458909/" target="_blank">George Takei</a>
        <div class="fts-jal-fb-description fb-id516137178551643_702224089942950">
          She got game. via 60 Second Docs
        </div>
        <div class="clear"></div>
      </div>
      <div class="clear"></div>
    </div>
Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter josephweaver

    (@josephweaver)

    Yes, it appears jQuery is being loaded a second time in the footer by one of my plugins:

    <script type='text/javascript' src='https://www.bombhq.com/2017/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script>
    <script type='text/javascript' src='https://www.bombhq.com/2017/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script>

    But it is also being loaded in the header (I use a local copy, it’s jq.js):

    <script src='https://www.bombhq.com/2017/wp-content/themes/bandofmaniacalbrothers/jq.js'></script>
    <script src='https://www.bombhq.com/2017/wp-content/themes/bandofmaniacalbrothers/js.js'></script>

    The footer is loading jQuery v1.12.4, in the header I am loading v3.1.1…

    I doubt that’s the problem, but please let me know if there’s anything else I can do to get these videos working right ??

    • This reply was modified 7 years, 9 months ago by josephweaver.
    Plugin Author slickremix

    (@slickremix)

    Aaah the double jquery is the problem for sure, I’ve seen this as an issue time and time again, and in fact have run into the issue many years ago myself that’s… the old live and learn lesson. Bad practice to have 2 jquery versions or duplicates of jquery on the page, it’s best to enqueue the jquery if you are working with wp, this way you always have the most recent version that works with wp too and you never have to worry about keeping that up to date ?? Here is a great article, however if that is too much just make sure you only have one jquery script, and make sure it’s the newest version. https://premium.wpmudev.org/blog/adding-jquery-scripts-wordpress/?mkpp=b&utm_expid=3606929-97.J2zL7V7mQbSNQDPrXwvBgQ.1&utm_referrer=https%3A%2F%2Fwww.google.com%2F

    Spencer

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Feed Them Social – Videos from FB Group feed don’t work.’ is closed to new replies.