Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

[SOLVED] Trying to create buffer around embedded video using "hspace=xx" code

Old Apr 7, 2010, 11:58 AM
9 posts · Mar 2010
I have a video embedded on one of my pages (http://www.rebuildingalliance.org/pr...ppened-to-abir). I would like to create a buffer area so that text does not run up right against the video.
I've used the "hspace" and "vspace" code and it seems to work initially, but it eventually disappears.

The code is:
<object style="float: right;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="315" height="259" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="align" value="left" /><param name="src" value="http://www.youtube.com/v/34cruJsVMRc" /><embed style="float: right;" type="application/x-shockwave-flash" width="315" height="259" src="http://www.youtube.com/v/34cruJsVMRc" align="left"></embed></object>

I have put ' hspace="10" and vspace="10" ' right in front of the width and height code, so the first line of code looks like
<object style="float: right;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" hspace="10" vspace="10" width="315"...>

I seems to save the code for a time, but eventually (within 10 or 15 minutes) the hspace and vspace codes have disappeared.

Anyone know a way to work this out?
Old Apr 7, 2010, 01:11 PM
lmilesw's Avatar
10,176 posts · Jul 2009
Central New York State USA
The easiest way I can think of is to use the [embed] shortcode as follows and you can tweak the css to your hearts content.
HTML Code:
<div style="float:right;margin-bottom:5px;">[embed]http://www.youtube.com/watch?v=dGSK-gBPFW8[/embed]</div>
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
Old Apr 7, 2010, 04:40 PM
9 posts · Mar 2010
Thanks a lot Larry. That seemed to do the trick.



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Embedded video not working at all... Alien99 New Versions, & Updating 5 Feb 2, 2011 11:42 AM
Plugin "User Photo" => Where to put the code in Atahualpa? nudgens Plugins & Atahualpa 2 Nov 26, 2009 07:31 AM
Looking for "robots" code in header jenb Header configuration & styling 1 Oct 11, 2009 10:35 AM
Executing PHP Code in "HTML Inserts Header" Section twola Forum How-To 1 Sep 30, 2009 04:51 AM
How to use <?php... ?> code in "Post Info Items" sections? TotalBalance Post-Kicker, -Byline & -Footer 0 Mar 14, 2009 03:01 PM

All times are GMT -6. The time now is 11:42 AM.

Powered by vBulletin® Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.