Posting Video
If you completed the previous section, Code Gen, you should have some advanced code for posting your video. This is the code displayed on that previous section…
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="240" height="196">
<param name="src" value="http://reporting.journalism.ku.edu/summer06/bradford/
upload/2006/06/alwvideoexample.mov" />
<param name="controller" value="true" />
<param name="autostart" value="false" />
<embed src="http://reporting.journalism.ku.edu/summer06/bradford/
upload/2006/06/alwvideoexample.mov" width="240" height="196" autoplay="false" controller="true" pluginspage="http://www.apple.com/quicktime/download/" /> </object>
The last step for posting your video is to add a div code to the code you now have copied. The div code will put your video into a box, which allows your text to wrap around that video. You always need to use the div code otherwise the web page where your story is posted will look very unattractive. When posting video, you have two options for page placement -> left and right.
For posting on the left you will use <div class="floatleft">
For posting on the right you will use <div class="floatright">
The beginning of the div code will go before the mess of code above. So if you want to post your video on the left, the beginning of the code will look like <div class="floatleft"><object classid="clsid
So basically, you paste the div code in front of the video code. Then at the end of the video code you type </div> so the end of the entire example code will look like this…
download/" /> </object></div>
When you put it all together it will look like this…
<div class="floatleft"><object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="240" height="196">
<param name="src" value="http://reporting.journalism.ku.edu/summer06/bradford/
upload/2006/06/alwvideoexample.mov" />
<param name="controller" value="true" />
<param name="autostart" value="false" />
<embed src="http://reporting.journalism.ku.edu/summer06/bradford/
upload/2006/06/alwvideoexample.mov" width="240" height="196" autoplay="false" controller="true" pluginspage="http://www.apple.com/quicktime/download/" /> </object></div>