Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mattrussell

    (@mattrussell)

    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!

    Plugin Author Alex

    (@ahoereth)

    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.

    Thread Starter mattrussell

    (@mattrussell)

    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!

    Plugin Author Alex

    (@ahoereth)

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

    Thread Starter mattrussell

    (@mattrussell)

    Ok.

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

    ??

    Thread Starter mattrussell

    (@mattrussell)

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

    Ok. Anyways thanks a lot for your response.

    The plugin is really good!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Iframe code’ is closed to new replies.