Okay
  Public Ticket #2432008
Not able to make video gallery widget work with acf
Closed

Comments

  • Andre started the conversation

    The custom post type sees the video gallery widget and seems to populate it with only the first video in the list but the video doesn't load. The other 2 videos (I had 3 in my test post) don't show up in the list. It also shows something that resembles a bounding box for a thumbnail but I thought I had disabled it.

    Whenever I set the widget parameter to right, no thumb, it resets it, even after having updated the widget.
    Whenever I remove the title item, it resets it and it pops back up.

    What I want to do

    Have a video gallery on each post of a certain CPT that displays the videos added via a repeater field. I just want the video title and description on the right, no thumbnails. And I'm ok with the image being just the video image of the first video. (saves me the time to have to upload a thumbnail for that first video)
    I have only youtube videos in mind for this gallery but added the "source" to the custom fields, just in case I want to throw in the odd Vimeo video.
    What it does


    What I did

    • Created CPT
    • add repeater field to the CPT
      • video link
      • video title
      • video description
      • video source
    • In the widget I
      • removed the attributes I didn't want
        • small thumbnails
        • large image
        • title not sure what this title was for, perhaps for the widget?
      • I set the parameters to
        • title only, right
        • swapped the widget items for the custom fields
  •   Max replied privately
  •   Andre replied privately
  •   Max replied privately
  • Andre replied

    That would be great, thanks!

  •   Max replied privately
  •   Andre replied privately
  •   Andre replied privately
  •   Max replied privately
  • Andre replied

    Hi Max,

    that didn't work out but it did point me in the right direction. There were a few things that needed to be adjusted 

    This one (changed from 420 to 320 px):

    /* ----- Thumb Wrapper ------- */

    .ug-videoskin-right-thumb .ug-thumb-wrapper{
    background-color:#232323;
    border-bottom:1px solid #393939;
    width:320px;
    height:61px;
    cursor:pointer; 
        text-align:left;
    }


    And these (changed width from 300px to 200px) :


    .ug-videoskin-right-thumb .ug-thumb-title{
    color:white;
    font-size:16px;
    overflow:hidden;
      width:200px;
      height:20px;
    line-height:normal;
    }

    .ug-videoskin-right-thumb .ug-thumb-desc{
    color:#999999;
    font-size:11px;
        width:200px;
    line-height:normal;
    }


  •   Max replied privately