WordPress.org

Ready to get started?Download WordPress

Forums

Featured Video Plus
[resolved] Iframe code (7 posts)

  1. mattrussell
    Member
    Posted 1 year ago #

    Hey there,

    Thanks for the cool plugin.

    I'm not that good with js and am trying to locate the iframe code in the files.

    Can you let me know where I can find it?

    Thanks a lot.

    Matt

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

  2. mattrussell
    Member
    Posted 1 year ago #

    NB/ I'm just trying to get the iframes to link to the posts instead of playing on click.

    I was looking at the support tips and you have mentioned the function: get_the_post_video_url( $post_id )

    Can I just include this in my theme file in-order for the iframe to link to the posts?

    Thanks again!

  3. Alexander Hoereth
    Member
    Plugin Author

    Posted 1 year ago #

    I am not sure what you try to archieve? get_the_post_video_url will give you a youtube/vimeo/dailymotion... url which you can use to link to the provider. The iframe html codes are actually built in the get_the_post_video function in php/general.php.

  4. mattrussell
    Member
    Posted 1 year ago #

    Hey,

    Thanks for the response.

    I have the featured videos on my index page and I want to create a link on them to their respective posts (permalink), however currently when clicked the videos will only play.

    Is there a possibility that only the play button 'on click' will play the video and the rest of the iframe will link to the permalink for the post?

    Thanks!

  5. Alexander Hoereth
    Member
    Plugin Author

    Posted 1 year ago #

    No those are flash elements. The provider decides what they do on click. The plugin just replaces the featured images with those iframes.

  6. mattrussell
    Member
    Posted 1 year ago #

    Ok.

    So the issue is with my theme code and not the plugin code?

    :)

  7. mattrussell
    Member
    Posted 1 year ago #

    Ah you mean the provider i.e. vimeo, youtube etc.

    Ok. Anyways thanks a lot for your response.

    The plugin is really good!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.