WordPress.org

Ready to get started?Download WordPress

Forums

Featured Video
get_the_post_video() function (2 posts)

  1. Matteo Legittimo
    Member
    Posted 1 year ago #

    Hi!
    was using the_post_video() function. Then i changed my template and i saw that outside the loop is not working, right!?
    So im using get_the_post_video() passing the id, but the strange think is that it's printing the url plus the player!
    Let me know please!
    Thanks

    http://wordpress.org/extend/plugins/featured-video/

  2. jonashh
    Member
    Posted 1 year ago #

    Hi,

    I was experiencing the same, I decided to look in the code, and at line 158 in featured-video.php there is an 'echo $video' - don't know whats it's doing there, looks like some debugging there might not have been removed.

    But remove that, and it won't echo out the url :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.