It’s time to learn how to insert video files in your posts. You can just insert one as an HTML link, but who does that anymore? It’s a good way to drive your prospective readers away! In today’s world, you need to offer your spectators the easiest, quickest, and most attractive way to see what you have to offer. My job is to show you how to do that with your Roller weblog, so let’s get to it!
In this exercise, I’ll show you how to upload a video file to your blog server and then insert it into a post using Apache Roller:
Don’t forget to write down the three URLs from the previous Roller message; you’ll need them when inserting the video into an entry (post).
<object height="498" width="640" id="csSWF"
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/
cabs/flash/swflash.cab#version=9,0,115,0">
<param name="src"
value="http://localhost/roller/main/
resource/video/showvbox_controller.swf" />
<param name="bgcolor" value="#1a1a1a" />
<param name="quality" value="best" />
<param name="allowScriptAccess" value="always" />
<param name="allowFullScreen" value="true" />
<param name="scale" value="showall" />
<param name="flashVars" value="autostart=false" />
<embed height="498" width="640" name="csSWF"
src="http://localhost/roller/main/resource/
video/showvbox_controller.swf"
bgcolor="#1a1a1a" quality="best"
allowscriptaccess="always"
allowfullscreen="true" scale="showall"
flashvars="autostart=false&
thumb=http://localhost/roller/main/resource/
video/FirstFrame.png&
thumbscale=45&color=0x000000,0x000000"
pluginspage="http://www.macromedia.com/
shockwave/download/
index.cgi?P1_Prod_Version=ShockwaveFlash"
/>
</object>
The previous exercise showed you how to upload a video to your blog server and insert it in a post. As you can see, videos are a little more complicated than plain images. In this case, we used the following files:
The video was produced with Camtasia Studio, an excellent screen recording software application from TechSmith (http://www.techsmith.com). If you want to practice with your own videos, you can download 30-day free trial version of Camtasia Studio from the following URL: http://www.techsmith.com/download/camtasiatrial.asp.
What would happen if you wanted to embed a video from your camera or cell phone? Well, you can embed it directly in your blog, but the best thing to do is use a software application such as Camtasia Studio to create the .swf controller and the HTML code to embed into your post automatically. Then you just need to change the .swf controller and thumbnail URLs, as you did in step 9 of the previous exercise. You can use the same embed code to insert a different video in your blog; just be sure to change the URL in bold text.
You could also upload your video to YouTube instead of uploading it into Roller, as we’ll see later in this article.
I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…
Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…
Once we learn how to deploy an Ubuntu server, how to manage users, and how…
Key-takeaways: Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…
While developing a web application, or setting dynamic pages and meta tags we need to deal with…
Software architecture is one of the most discussed topics in the software industry today, and…