The width and height numbers are just a suggestion: you can change them.

[Original version of the post:]

The code Issuu provides isn’t directly allowed in wp.com blogs, for security reasons. But Issuu docs are flash, so they can be inserted via the gigya shortcode (see here for details). The shortcode can be pasted into the HTML post or page editor, or in a text widget for your sidebar.

Click the “Get Embed Code” button on the Issuu page, [Update: then click for “the old embed page”], change options if you wish or if necessary (check my posts on maximum main column width and sidebar width). Copy the Embed code and paste it into a simple text edit file. The code will look like this:

Hi Panos. Every now and then I find that a YouTube video I posted has been disabled, usually causing me to search for a replacement. Recently I tried using the gigya shortcode on a couple of them instead – and it worked!. Any thoughts?

@IM: Sorry, your comment had been withheld because of the number of links.

One example isn’t enough for conclusions, but here’s what I could make of it:

1) Used the URL you gave (or without the part from the questionmark on), with the youtube and the gigya shortcodes: video image showed up in my test blog, but clicking play brought the notice that the video contains content from UMG and is restricted from playback on certain sites.
2) Used the embed URL (http://www.youtube.com/embed/1GAKOLOnfV4), with the gigya shortcode: got a blank space.
3) Then I checked the sourcecode of the page and saw that the youtube shortcode produces a different URL: http://www.youtube.com/v/1GAKOLOnfV4. Used that URL with the gigya shortcode and got a playing video. Checked the sourcecode again to see what the difference was, and saw that the code produced by the youtube shortcode included “load_policy=1” while the code produced by gigya didn’t. So I’m guessing that this snippet is associated with the restriction for that video, and gigya can ignore it if you use the right URL.

I don’t know that I follow everything you said there but, when the video wouldn’t play, I simply went to Youtube as directed and simply wrapped everything from “src” on with the gigya shortcode. I don’t don’t remember including the “load_policy=1″ in my original html, and I always type it in myself rather than use WP’s generator. Is it possible that WP modified my code after the restriction was imposed?

Shortcodes are automated formulas that allow you to embed objects without using and manipulating forbidden code (iframes etc.) yourself. You don’t see the code in your HTML editor, but it’s there: you can see it if you select “view source” from your browser’s menu when you view the actual post. The code in essence says “fetch that thing from Youtube and insert it here, observing such-and-such parameters”.

So, no I didn’t mean you had added that snippet yourself, and no WP didn’t modify your code: the snippet is a standard part of it (but has no effect when there’s no restriction). The video changed when Youtube changed it.

I’ve got to spend more time looking at the source for pages to learn more of the “under the hood” stuff, but it’s so hard to read with the scrolling left and right. Guess I’m going to have to start copying the info into an editor with word wrap.

The thing is though, since I’m assuming most people who embed these videos can do it directly (without having to use things like the WP shortcodes), this seems to be an ineffective way to prevent them from posting restricted videos. Put another way, wouldn’t it make more sense for them to simply not provide embed codes at all, as I’ve seen many times before?

Scrolling left and right? Then you’re probably using Firefox. Try Safari: no overflow in its View Source window.

That restriction referred to “some sites” only, so it wouldn’t be right not to provide the embed code: this happens when one requests no embedding in general. But you’re right, all these things are imperfect: effective only for the less knowledgeable.

Hi there!
Thanks for posting this information. However, I can’t seem to access the content! The actual issuu frame is loading, but it keeps giving me an error about there being a connection issue or publisher must have changed something.
I have kept going to the original source to make sure it’s the best version, and I’ve cleared all cookies and cache just to make sure, but to no avail. Any help?
I’ll paste the code here:[Code relic removed – P.]

Mature means “not suitable for general audiences”. You mark a blog mature via your grey admin bar (“Blog info” dropdown) so that it won’t show up in the global tag pages – in other words to ensure that prude mothers won’t start screaming to WP that their daughters accidentally saw that… But you only need to mark your blog mature if you start posting much stuff like that doc.

hi, i have a flash code from my shop on etsy, that i would like to include in my WP blog, how to do that?
i can send it to you in private.
i tried to manage with the code you already published, to copy and paste, but somehow i cannot manage.
thanks a lot.
Paola

WP doesn’t process PDFs, so you can’t embed them via their URL only. You have to turn them into Issuu or Scribd docs. Unless of course Dropbox provides embed codes as well (I don’t know that, as I’ve never tried Dropbox).

Hi Panos,
I was able to enter ISSUU sidebar (bottom right) and the Foto di Putignano.
I noticed that while the size of 180×180 set security imprints against counterfeiting, remains a blank space at the bottom. This does not happen in your post above: may depend on what?
(the code is exactly the one shown above).
I thank and salute you.
Franco

I did not understand your previous reply. Excuse me.
Now it works fine !
(I left the line with these commands, -type=application/x-shockwave-flash allowfullscreen=true menu=false-
otherwise it is now in full screen.
Thank you so much and I salute you.
Franco

I keep trying this–inputting the code into the HTML portion of ‘Create a Page’ on WordPress and everything looks great when I go to the Visual part. However, when I click “publish,” WordPress changes everything and all that shows up is a link to the issuu project. Any ideas?http://textsnip.com/dd3b62

1) You either copypaste the iframe code into a simple text file, change the width and height numbers, then paste the changed code into the HTML post editor, or you paste the iframe code into the post editor, Update, change width and height in the resultant shortcode, Update again.

2) No. Using iframes isn’t a novelty: you don’t see them but WP uses them all the time (for Youtube videos and all like objects). When you embed an iframe object they have allowed, WP changes the iframe code into a shortcode in your editor. Now they just extended this to include Google docs and Google calendars. But you can’t use the googleapps shortcode for anything other than googleapps.

Hi Panos. The thing about iframes has reminded me of another apparent “exception” that I ran across a while back. Correct me if I’m wrong, but isn’t javascript supposed to be disallowed? If it is, I’m wondering why the map widget from whos.amung.us – build a custom map, which seems to only offer javascript code, is working at whos.amung.us « Kymlee: Life Story?

well i almost forgot about my question, do we can add facebook like button in wp.com post or sidebar? if can can you show me how?

and…one more thing…how to add links in our “gigya-ed” flash, in my blog http://www.yuanadesukma.wordpress.com ,i can show the clock, but i can’t put links in my clock toward clockwidget.net. Its not a big deal but i feel sorry if i hotlinked an image from websites and not giving link back to them.

sorry if these question already answered, i try to search in your blog but can’t find the answer

And you can’t make changes to a ready-made flash object if they aren’t included in the options it provides. Simple thing to do is add a plain link below it. If you want the clock itself to be clickable, I can probably think of a workaround. Help me do this by giving me the URL of the page you want to link to, plus the exact shortcode you’ve used – see here how:https://wpbtips.wordpress.com/comment-guidelines/

HI Panos, in my about page, link below, i have used your code to make two columns which is no problem.
But i am trying to make the page background coloured and i cannot get the code to work, i have tried several ways and i think the column code is stoppping it.

Second issue, i have the people site url’s put into a ” name ” link, when i try to put a colour code into the link code to colour the name it changes the code and kills the link.

2) Yes of course you need to keep the 2-column coding – how else are you going to get two columns? Sorry I wasn’t clear: by “COMPLETE CONTENT HERE” in my previous suggestion I meant literally everything you already had in your HTML editor (including the 2-column coding). New model, for the sake of clarity:

By the way, the title attribute you’ve used is pointless, since the titles are identical to the actual names of the links. The title attribute (optional) in a link is used for extra information, for instance when the name of the link isn’t the title of the page in question – example here (scroll down to explanation of “title”):https://wpbtips.wordpress.com/2010/05/23/html-allowed-in-comments-2/

Hi,
But the screenshot isn’t enough for me to tell what’s wrong. Either link to the page with the document you want to embed, or show me the code you’ve tried to use, using Textsnip – see point 4 here:https://wpbtips.wordpress.com/comment-guidelines/

Hi. Followed every step indicated in the post but I cant make it work. Any idea what i may be doing wrong. Get a window informing that the document can’t load. That may have been chaged by the publisher or there is a connection error. Furthermore part of the code shows in the post.
This is the blog post: http://3els.wordpress.com/2010/03/
And this is the embeded code that I’m trying to publish (without the changes indicated in this post):

Study my post more carefully please. First, the post says copy the red parts, turn them into a shortcode as shown, and use that shortcode; it doesn’t say replace the red parts of the original code with the shortcode and use the entire code. Second, the post says paste the shortcode in the HTML editor, not the Visual.
As for your attempt to show me the code, see the red notice at the bottom of the page.

Firs of all, sorry about the code. My bad, miss that part. Will never happen again.
As for my doubt, did everything as said in the post, but still nor working. Now i get some links. The first one gives the same error mentioned above. The one that says “open publication” works, but opens the document in a new window. it doesn’t embed the document in the blog post.
See here: http://3els.wordpress.com/2010/03/

Thanks in advance for trying to help, and once again sorry for posting the code.

Hope I can post URL here.
Here goes.
Textsnip: http://textsnip.com/37a806
Issue: http://issuu.com/3els/docs/beatrizf.#embed
Using Issuu, I choose “old embed page” (the new one give-me some errors on another blog hosted on a server using wordpress.org). Chose the platform I want, in this case is wordpress, then customize the appearance, and copy the embed code.
Paste it in wordpress article using HTML and do the changes mentioned in the post.

Author

Recent Posts

Subject Index

Subject Index

Search for:

Announcement 22/03/2012:
After WP's latest move, this blog will no longer offer active support and assistance. The blog will remain online but commenting on older posts has been disabled.
✶ All theme-related posts are updated up to and including theme 189 in this list, but will not continue to be updated.

Stats

3,258,409 views

Views per month:

Note: if you see ads on this site, they are placed by WordPress, not me.

Mostly on themes, formatting, coding, tweaks and workarounds.
Based on or springing from my contributing in the wp.com forum.