Title: Iframe code
Last modified: August 21, 2016

---

# Iframe code

 *  Resolved [mattrussell](https://wordpress.org/support/users/mattrussell/)
 * (@mattrussell)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/iframe-code/)
 * 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/](http://wordpress.org/extend/plugins/featured-video-plus/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [mattrussell](https://wordpress.org/support/users/mattrussell/)
 * (@mattrussell)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/iframe-code/#post-3908735)
 * 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](https://wordpress.org/support/users/ahoereth/)
 * (@ahoereth)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/iframe-code/#post-3908736)
 * 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](https://wordpress.org/support/users/mattrussell/)
 * (@mattrussell)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/iframe-code/#post-3908737)
 * 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](https://wordpress.org/support/users/ahoereth/)
 * (@ahoereth)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/iframe-code/#post-3908738)
 * 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](https://wordpress.org/support/users/mattrussell/)
 * (@mattrussell)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/iframe-code/#post-3908739)
 * Ok.
 * So the issue is with my theme code and not the plugin code?
 * 🙂
 *  Thread Starter [mattrussell](https://wordpress.org/support/users/mattrussell/)
 * (@mattrussell)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/iframe-code/#post-3908740)
 * 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.

 * ![](https://ps.w.org/featured-video-plus/assets/icon.svg?rev=1170997)
 * [Featured Video Plus](https://wordpress.org/plugins/featured-video-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/featured-video-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/featured-video-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/featured-video-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/featured-video-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/featured-video-plus/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [mattrussell](https://wordpress.org/support/users/mattrussell/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/iframe-code/#post-3908740)
 * Status: resolved