Title: Full screen doesn&#039;t work when embedding using shortcode
Last modified: August 30, 2016

---

# Full screen doesn't work when embedding using shortcode

 *  [delwinv](https://wordpress.org/support/users/delwinv/)
 * (@delwinv)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/full-screen-doesnt-work-when-embedding-using-shortcode/)
 * After installing the extension, embedding the slideshow works fine whether I 
   use a single-line URL to the slideshow (option 1 of the plugin) or using the 
   WordPress shortcode (option 2 of the plugin). It also works for the iframe embedding.
 * The issue I have is solely with the full-screen button. This button works fine
   if I use the URL on its own line, and when I use the iframe code generated by
   the share button. But when I use the WordPress shortcode generated by this share
   button, the full-screen button does not function. I get no javascript errors 
   in the console, I see no errors occurring anywhere on the page.
 * Does anyone else notice this problem? Is there a bug here?
 * [https://wordpress.org/plugins/slideshare/](https://wordpress.org/plugins/slideshare/)

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

 *  Thread Starter [delwinv](https://wordpress.org/support/users/delwinv/)
 * (@delwinv)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/full-screen-doesnt-work-when-embedding-using-shortcode/#post-6284878)
 * A bit more information: The two types of embed that work – pasting the slideshow
   URL (e.g. `http://www.slideshare.net/khoslaventures/project-rifle`) on a line
   by itself in the editor and including the iframe HTML directly in the editor (
   e.g. `<iframe style="border: 1px solid #CCC; border-width: 1px; margin-bottom:
   5px; max-width: 100%;" src="//www.slideshare.net/slideshow/embed_code/key/hwtKQyW5Vuj5Gv"
   width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling
   ="no" allowfullscreen="allowfullscreen"> </iframe>`) – produce an iframe with
   src attribute set to (for a test slideshow) [https://www.slideshare.net/slideshow/embed_code/key/hwtKQyW5Vuj5Gv](https://www.slideshare.net/slideshow/embed_code/key/hwtKQyW5Vuj5Gv)
   and //www.slideshare.net/slideshow/embed_code/key/hwtKQyW5Vuj5Gv, respectively(
   the later simply implying the protocol from that which the browser used to load
   the page)
 * The WordPress shortcode (e.g. `[slideshare id=49610449&doc=khosla-ventures-project-
   rifle-150619175300-lva1-app6891]`) produces an iframe, for the same slideshow,
   with a src attribute set to [https://www.slideshare.net/slideshow/embed_code/49610449](https://www.slideshare.net/slideshow/embed_code/49610449).
 * So there appears to be a different backend mechanism generating the two different
   references to the slideshow, _**the shortcode method not producing an `allowfullscreen`
   attribute in the iframe tag**_.
 * **NB**: when _not_ used in an iframe (e.g. by clicking on the above links from
   here, thereby opening them in their own window), the full-screen option seems
   to work in all cases.
 *  [danwpc](https://wordpress.org/support/users/danwpc/)
 * (@danwpc)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/full-screen-doesnt-work-when-embedding-using-shortcode/#post-6285060)
 * Yes, I noticed this issue as well. Anyone?
 *  [jlelean](https://wordpress.org/support/users/jlelean/)
 * (@jlelean)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/full-screen-doesnt-work-when-embedding-using-shortcode/#post-6285061)
 * I also have this issue but only with Chrome and Firefox. With internet explorer
   it works fine.
 *  [knedlyk](https://wordpress.org/support/users/knedlyk/)
 * (@knedlyk)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/full-screen-doesnt-work-when-embedding-using-shortcode/#post-6285063)
 * This issue confirmed for WP 4.3.1
 *  [raymond1967](https://wordpress.org/support/users/raymond1967/)
 * (@raymond1967)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/full-screen-doesnt-work-when-embedding-using-shortcode/#post-6285083)
 * I’m experiencing this as well and I really need to have a full screen view of
   the pdf files I am using. Without the full screen view, my students will not 
   be able to see that is going on. Is there an update on this issue, a fix, or 
   an alternative?

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

The topic ‘Full screen doesn't work when embedding using shortcode’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slideshare.svg)
 * [SlideShare for WordPress by Yoast](https://wordpress.org/plugins/slideshare/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slideshare/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slideshare/)
 * [Active Topics](https://wordpress.org/support/plugin/slideshare/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slideshare/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slideshare/reviews/)

## Tags

 * [fullscreen](https://wordpress.org/support/topic-tag/fullscreen/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)
 * [slideshow](https://wordpress.org/support/topic-tag/slideshow/)

 * 5 replies
 * 5 participants
 * Last reply from: [raymond1967](https://wordpress.org/support/users/raymond1967/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/full-screen-doesnt-work-when-embedding-using-shortcode/#post-6285083)
 * Status: not resolved