• Hi,

    First off, I wanted to tell you that I totally support your decision to get paid for your work.

    And here is my question, when I enable the option “Set all videos to expand to fill their containers”, the download link goes under the video. How can I make the download link, a button or move it out of the container.

    I have likes and views icon outside the container, I want to add the download icon next to it, but I need help to add a function to the icon so it dynamically gets the download link.

    Thank You

    https://www.ads-software.com/plugins/video-embed-thumbnail-generator/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kyle Gilman

    (@kylegilman)

    If you make download icon part of your template, you can generate the download link using the video’s post ID. The structure of the link is site_url('/').'?attachment_id='.$video_id.'&kgvid_video_embed[download]=true

    You’d need a way to determine what the video ID is. That depends on how you’re generating the video. There are a lot of ways to do it. I’ve arbitrarily assigned that to the variable $video_id for this example. Disable the download link in the plugin settings so you don’t have two different links.

    In the future I plan to replace the download text link with a download icon in the overlay bar at the top of the video.

    Thread Starter pesareiran

    (@pesareiran)

    thank you

    Hopefully the next version with this feature comes out soon ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Download Link’ is closed to new replies.