Black Hat Forum Black Hat SEO The only backlink provider with unlimited projects/links per day!
Go Back   Black Hat Forum Black Hat SEO > BlackHatWorld > BlackHat Lounge

BlackHat Lounge What’s been on your mind lately? Maybe you've come across a website that made you laugh. Almost anything goes here!

Mad Content   BLOG SEO
Search
 
LinkWheel

LiveChatAgent



Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-29-2010, 03:18 PM
SpellZ's Avatar
Regular Member
 
Join Date: Feb 2009
Location: Toronto, ON
Posts: 304
Thanks: 127
Thanked 233 Times in 96 Posts
Reputation: 27
iTrader: (0)
Default Help w/ basic HTML/CSS/PHP/Java?

I am not sure under what it falls but it seems pretty basic, but I just don't want to fuck it up...

So here is the code

Quote:

<div class="banner-area">
<div id="banner"><img src="<?= ROOT_PATH ?>public/images/temp/banner.jpg" alt="" /></div>
<a href="#">advertise with us</a>
</div>
</div>
</div>
<? wp_footer(); ?>
</body>
</html>

I want to change BANNER.JPG to BANNER.SWF, so instead of an image, I want it to be a flash file. My question is... at the start, can it still be "img src=", or it needs to be something else?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-29-2010, 03:29 PM
195471's Avatar
Regular Member
 
Join Date: Oct 2008
Posts: 402
Thanks: 198
Thanked 240 Times in 152 Posts
Reputation: 31
iTrader: (0)
Default Re: Help w/ basic HTML/CSS/PHP/Java?

You can't use the <img> tag to display a video file. What you need to do is replace this:

Code:
<img src="<?= ROOT_PATH ?>public/images/temp/banner.jpg" alt="" />
with this:

Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,16,0"
width="320" height="400" >
<param name="movie" value="yourvideo.swf">
<param name="quality" value="high">
<param name="play" value="true">
<param name="LOOP" value="false">
<embed src="yourvideo.swf" width="320" height="400" play="true" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash">
</embed>
</object>
You may need to adjust the properties of your "banner" div to accommodate the video. You can change the dimensions of the video by changing the width and height above. Note that there are two places in which you need to insert your video file name.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to 195471 For This Useful Post:
SpellZ (01-29-2010)
  #3 (permalink)  
Old 01-29-2010, 03:48 PM
SpellZ's Avatar
Regular Member
 
Join Date: Feb 2009
Location: Toronto, ON
Posts: 304
Thanks: 127
Thanked 233 Times in 96 Posts
Reputation: 27
iTrader: (0)
Default Re: Help w/ basic HTML/CSS/PHP/Java?

195471

Works like a charm!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to SpellZ For This Useful Post:
195471 (01-29-2010)
Reply

Bookmarks

Backlinks Genie

SE Nuke



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


SEO Paladin


Web Hosting
Copyright © 2005 - 2012 BlackHatWorld.com All rights reserved.