Support » Plugin: Embed Video Thumbnail » need help making it work in custom locations

  • treeflips

    (@treeflips)


    Hi, I tried following this:

    echo apply_filters(‘ikevt_video_to_thumbnail’, $videoURI);

    Can you show an example of what I put? I assume I only have to replace the videoURI part but with what??

Viewing 1 replies (of 1 total)
  • Plugin Author ikanaweb

    (@ikanaweb)

    Hi @treeflips

    In your php code, you can trigger plugin on a single video with this filter.
    You have to replace $videoURI by the url of the video.

    Example with this youtube video url :

    https://www.youtube.com/watch?v=enY3Q91x6cQ

    Add in your php code :

    <?php
    
    echo apply_filters('ikevt_video_to_thumbnail', 'https://www.youtube.com/watch?v=enY3Q91x6cQ');
    
    ?>

    Let me know if this works

    Best regards

    • This reply was modified 8 months, 4 weeks ago by ikanaweb.
Viewing 1 replies (of 1 total)
  • The topic ‘need help making it work in custom locations’ is closed to new replies.