Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 225
  • Last Modified:

why does my media in dreamweaver recieve this message while validating?

error in dreamweaver
The tag name: "embed" Not found in currently active versions.[XHTML 1.0 transitional]

Open in new window

0
joew1620
Asked:
joew1620
  • 8
  • 6
1 Solution
 
CDirenziCommented:
The <embed> tag is not valid HTML, and will cause your page not to validate when you use it. There are a number of workarounds, try this:

http://blog.deconcept.com/2005/03/31/proper-flash-embedding-flashobject-best-practices/

0
 
joew1620Author Commented:
thank you so much
0
 
joew1620Author Commented:
for the help
0
Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

 
Jason C. LevineNo oneCommented:
joew1620,

Check your source code from DW.  Since version 8, DW will write calls to active media using javascript (AC_RunActiveContent, etc.) and also write embed tags for the same media.   The reason this happens is twofold:

1) The internal DW rendering engine won't evaluate the javascript, but it will evaluate embed tags.  This allows DW to display placeholders for the active content correctly

2) By writing both sets of tags, your content will play even for people with javascript disabled.

However, the embed tags are not necessary.  Just select and remove them from Code View.
0
 
joew1620Author Commented:
when I take out the embed tags, iy just shows the code when I preview in IE, also, my images that are also links show as boxes with x;x in the corner, with the text link in the box but no image. what could cause that?
<td><embed src="/jw_player_files/TakedownOpen.mp3" width="200" height="22" autoplay=""></td>

Open in new window

0
 
Jason C. LevineNo oneCommented:
Are you handcoding this or dragging the MP3 into Design View?
0
 
joew1620Author Commented:
dragging into design view
0
 
Jason C. LevineNo oneCommented:
Dragging the MP3 into Design View will not activate the JW Media Player.  Instead, you put the player in the page and use the options as described on the JW site to pass the playlist...
0
 
joew1620Author Commented:
can I do it without using that player?
0
 
Jason C. LevineNo oneCommented:
Not really.  You need to use some form of player to play the mp3, otherwise you are depending on the user's browser being configured properly with a MP3 player and you lose control over how it appears and plays.
0
 
joew1620Author Commented:
thanks alot, that really helps. Also, could you tell me if this is the proper code for an image that links to another site?
"http://www.wrestlinghalloffame.org/" target="_blank"><img src="../imported_images/casber logos/Natl_Museum.jpg" alt="nat_museum" name="nat_museum" width="180" height="180" id="nat_museum" /></a></p>

Open in new window

0
 
Jason C. LevineNo oneCommented:
>> proper code for an image that links to another site?

Surround the image with an <a> tag and it will link to wherever you want.
0
 
joew1620Author Commented:
thats what I currently have and when the site loads, the images arent there, just a box with a x in the corner and a text link to the site the image is suppose to link t
<p><a href="http://www.wrestlinghalloffame.org/" target="_blank"><img src="../imported_images/casber logos/Natl_Museum.jpg" alt="nat_museum" name="nat_museum" width="180" height="180" id="nat_museum" /></a></p>

Open in new window

0
 
Jason C. LevineNo oneCommented:
>> just a box with a x in the corner

Check the path to the image and check to see if you loaded the image to the server.

This is getting into "new question" territory.  Close this issue and open a new one if you need additional help.
0
 
joew1620Author Commented:
thank you so much
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 8
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now