Solved

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

Posted on 2008-10-19
15
209 Views
Last Modified: 2012-05-05
error in dreamweaver
The tag name: "embed" Not found in currently active versions.[XHTML 1.0 transitional]

Open in new window

0
Comment
Question by:joew1620
  • 8
  • 6
15 Comments
 
LVL 4

Accepted Solution

by:
CDirenzi earned 500 total points
Comment Utility
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
 

Author Comment

by:joew1620
Comment Utility
thank you so much
0
 

Author Comment

by:joew1620
Comment Utility
for the help
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
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
 

Author Comment

by:joew1620
Comment Utility
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
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
Are you handcoding this or dragging the MP3 into Design View?
0
 

Author Comment

by:joew1620
Comment Utility
dragging into design view
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
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
 

Author Comment

by:joew1620
Comment Utility
can I do it without using that player?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
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
 

Author Comment

by:joew1620
Comment Utility
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
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
>> 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
 

Author Comment

by:joew1620
Comment Utility
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
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
>> 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
 

Author Comment

by:joew1620
Comment Utility
thank you so much
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now