• Resolved discover12345

    (@discover12345)


    Great plugin,

    All Works great but I would like to be able to remove the current active video from the list of videos.

    Is the list of videos stored in an array in the plugin? If so could you just remove the current video from the array via the (index-1)?

    Awaiting your update, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Anthony Pham

    (@tuongpg)

    Hi discover12345,

    Thank you for your inform.

    We will check then sort out that.
    Maybe we will add option for that.

    But when customer play another video, they can not play the first video again when we remove it. What do you think in this case?

    I think you can use the Popup player in this case.

    Looking forward to hearing from you.

    Best regards,

    Anthony

    Thread Starter discover12345

    (@discover12345)

    Hey Anthony,

    Not sure if its possible as I havn’t worked with php/wordpress plugins.
    But I would store the index of the array and the video url for the currently active video in a temp variable.

    So at the start the variable would hold:
    {
    index: 0,
    url: ‘8ucCxtgN6sc’,
    }

    then whenever another video is clicked, the temp variable will store the clicked videos data and index-1 and then it is also removed from the array of videos to be displayed from the user.

    When the user clicks a new video, the current temp variable will be pushed back into the array at the index.

    Now I am not sure if wordpress is reactive and if not you could instead of removing them from the array just set the currently active video in the array to:

    ‘visibility’: false; via css which might be a lot easier.

    I don’t really want to use the popup, but thanks!

    Plugin Author Anthony Pham

    (@tuongpg)

    Hi discover12345,

    For the issues, I recommend you enable the Popup player for your gallery. with that option you can have great gallery and lightbox player as well.

    Hope that convenient for your plan.

    Best regards,

    Anthony

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove the first video thumbnail’ is closed to new replies.