h4x3d.com

- h4x3d.com

Archive
Tag "embed"

Today I wanted to publish a real quick post about how to embed a paypal button into your wordpress post. A topic that has been covered many times elsewhere (if you consult google), but yet many paypal buttons failed to hide the merchant’s email address which would result in evil spam to be sent. Anyhow, I thought posting this quick article would take max 5 minutes or so, but it turned out to be more difficult: WordPress MU for security purposes does not allow specific HTML code to be included in posts or pages.
This is for security reasons, as mentioned before, because in a multi-blog environment people could post all sorts of crap to compromise your site, server and work, ultimately driving you nuts and causing all sorts of havoc.

After some Googling I found several interesting articles, most of them repeated themselves and said “well.. edit the ksas.php file in wp-includes” and then stated a long-list with many interesting HTML pieces. This works, but a plugin is more fancy I thought: so I googled on and found a plugin called “unfiltered” content WordPress MU, released by the WordPress guys. This is in so far cool, as you can either stick it in the mu-plugins folder and have it sidewide, or in the regular plugins folder and just activate it on a blog by blog basis. Since I am running this WordPress MU installation on my own and do not have posts to monitor for “havoc causing script includes”, I decided to go for the plugin and enable it side-wide. This way I can upgrade my wordpress mu next time a new version comes out and keep my sanity (because by then I would probably have forgotten about the includes folder and the php file that I need to update every time…)

Hope this helps,
best,
jez

Read More

So… you’ve been given this task where you need to present movies in your Powerpoint presentation…

How does one go about inserting movies into Powerpoint without massively increasing the size of the presentation?

Well, by default, Powerpoint allows you to insert MPEG/AVI files in via the Insert menu, but we all know that MPEG/AVIs are HUGE in size…

So… what do we do? We use the latest hype in Web 2.0 language – SWF/FLV files! “How do we insert those, Russ ?” you might ask. Well, that’s where this article and a few other come in handy:

1) You cannot import FLV files! But … … you CAN import SWF Video files. What’s the difference? The extension and size limitation(s). the reason FLV exists is because SWF by default can only support upto 16,000 frames. There are a few software out there that have been successful in beating this limit, by “stitching” the multiple files together. Mainly, Sorenson Squeeze and Allok’s FLV Converter come to mind (edit by jez: A free FLV converter). By using these tools, you point to the MPEG, define the parameters for the SWF/FLV file and click “Convert”.

2) Tools needed:

a) Sorenson Squeeze, Allok FLV Converter, or any other converter of your choice that you feel comfortable with in generating SWF/FLV files with.

b) Powerpoint ’00/’03/’07

c) Patience and Comprehension

d) These M$ articles:
http://support.microsoft.com/kb/291875 AND http://support.microsoft.com/kb/291876

Read More