01. May 2008

The Scribd Embed code in Latest Wordpress version

So after reading Roshan’s Post about security risk in the previous versions of Wordpress , i followed his recommendations and upgraded my WordPress to the latest on using the easy Automatic Upgrade Plugin  . The upgrade was quick it was not all automatic. I had to manually activate some of my plugins and the lightbox script which i had used for photo zooming also got wrong somewhere and my Main Blog page was messed up for sometimes . I then removed lightbox codes from my blog then it was all fine.

I thought everything was fine now but later noticed the the scribd document which i had embedded in my blog as a post was also messed up . The document was actually coming twice . I went though the Scribd embed code and tried some tricks and it worked actually they use this king of long code as embed code

 

<div style=”display:none”><script>document.write(’<noscript>’);</script></div> 

<object codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0″ id=”embedded_flash_2628442_1k51nq_object” name=”embedded_flash_2628442_1k51nq_object” classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ align=”middle” height=”500″ width=”530″> 

<param name=”movie” value=”http://documents.scribd.com/ScribdViewer.swf?document_id=2628442&access_key=key-13te2da4vntxmlj0oxfn&page=7&version=1″> 

<param name=”quality” value=”high”> 

<param name=”play” value=”true”> 

<param name=”loop” value=”true”> 

<param name=”scale” value=”showall”>

 <param name=”wmode” value=”opaque”> 

<param name=”devicefont” value=”false”>

 <param name=”bgcolor” value=”#ffffff”> 

<param name=”menu” value=”true”>

 <param name=”allowFullScreen” value=”true”> 

<param name=”allowScriptAccess” value=”always”> 

<param name=”salign” value=”"> 

<embed src=”http://documents.scribd.com/ScribdViewer.swf?document_id=2628442&access_key=key-13te2da4vntxmlj0oxfn&page=7&version=1″ quality=”high” pluginspage=”http://www.macromedia.com/go/getflashplayer” play=”true” loop=”true” scale=”showall” wmode=”opaque” devicefont=”false” bgcolor=”#ffffff” name=”embedded_flash_2628442_1k51nq_object” menu=”true” allowfullscreen=”true” allowscriptaccess=”always” salign=”" type=”application/x-shockwave-flash” align=”middle” height=”500″ width=”530″></embed> 

</object>

<div style=”display:none”> </noscript> <script type=”text/javascript” src=’http://www.scribd.com/javascripts/view.js’></script></div>

<div id=’embedded_flash_2628442_1k51nq’ style=”width:100%;height:100%”>

<span style=”display:none”>Read this doc on Scribd: <a href=”http://www.scribd.com/doc/2628442/hidden-images”>hidden images</a></span> </div>

 <div style=”display:none”><script type=”text/javascript”> var scribd_doc = new scribd.Document(2628442, ‘key-13te2da4vntxmlj0oxfn’); scribd_doc.addParam(’height’, 500); scribd_doc.addParam(’width’, 530); scribd_doc.addParam(’page’, 7); scribd_doc.addParam(’mode’, ’slideshow’); scribd_doc.write(’embedded_flash_2628442_1k51nq’);</script></div>

 

but if you excerpt this much of code from the above long code it works and one scribd document will appear.

<embed src=”http://documents.scribd.com/ScribdViewer.swf?document_id=2628442&access_key=key-13te2da4vntxmlj0oxfn&page=7&version=1″ quality=”high” pluginspage=”http://www.macromedia.com/go/getflashplayer” play=”true” loop=”true” scale=”showall” wmode=”opaque” devicefont=”false” bgcolor=”#ffffff” name=”embedded_flash_2628442_1k51nq_object” menu=”true” allowfullscreen=”true” allowscriptaccess=”always” salign=”" type=”application/x-shockwave-flash” align=”middle” height=”500″ width=”530″></embed>


 

11. April 2008

Windows Vista code.

But i love windows. This is too funny only.

Vista code

20. February 2008

Every single Mouse move will open so many of popups

This happened with me when i was trying to open an URL . Below is the video captured by me in my Firefox. Notice the number of popups blocked by firefox. You can try the URL here

23. January 2008

The Most Strange Error Message I have Ever seen on My PC yet

This was from the Free version of Winamp when i was searching for Songs at my PC HardDrive through Winamp window.

Winamp Strange Error Popup

31. December 2007

New YahooMail in Firefox 3 Beta.

Today only i installed Firefox Beta Version 3 from official Mozilla site. Installed in in my Vista Ultimate . Now i Try to open New Yahoo mail ( not the classic interface ) . I am getting two JavaScript error Popups  . Below are the screenshots..

May be its Firefox problem because its a beta version. I dont think its Yahoo’s Problem. I will be reporting this to Firefox 3 beta  Guys.

yahoo1.jpg

yahoo.jpg

19. December 2007

Why busy… ?

It was long time working for my company .. We have been shown hope from our managers that from tomorrow we will have some time with little or no work. And in my room also i dont have internet connection now.. That will also come after tommorrow may be but thats a different story…

lastly … I am alive…. just lil busy

« Previous Entries   Next Entries »