Title: Allowfullscreen attribute to iframe
Last modified: December 2, 2016

---

# Allowfullscreen attribute to iframe

 *  Resolved [mbuttin](https://wordpress.org/support/users/mbuttin/)
 * (@mbuttin)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/allowfullscreen-attribute-to-iframe/)
 * Hello,
 * I use FancyBox with links like this :
 * `<a class="fancybox-iframe" href="'.$guid.'?content-only=1" title="'.$titre.'"
   ><img src="'.$image_url.'" alt="" style="'.cssifysize($image_url).'" title="'.
   $titre.'" /></a>`
 * then it open an iframe fancybox with my content.
    Could you tell me how to add
   the allowfullscreen parameter to this iframe ? I need it in order to display 
   full screen some VR content.
 * Thanks in advance
 * Mathieu

Viewing 1 replies (of 1 total)

 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/allowfullscreen-attribute-to-iframe/#post-8515103)
 * Hi, on your Settings > Media admin page under the iFrames section you’ll find
   an option “Allow embedded content to jump to full screen mode”. Check this and
   the allowfullscreen parameter will be added.

Viewing 1 replies (of 1 total)

The topic ‘Allowfullscreen attribute to iframe’ is closed to new replies.

 * ![](https://ps.w.org/easy-fancybox/assets/icon-256x256.png?rev=3188201)
 * [Firelight Lightbox](https://wordpress.org/plugins/easy-fancybox/)
 * [Support Threads](https://wordpress.org/support/plugin/easy-fancybox/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-fancybox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-fancybox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-fancybox/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/allowfullscreen-attribute-to-iframe/#post-8515103)
 * Status: resolved