Solved

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

Posted on 2008-10-19
15
212 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
ID: 22755098
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
ID: 22755223
thank you so much
0
 

Author Comment

by:joew1620
ID: 22755225
for the help
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 22755305
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
ID: 22755397
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
ID: 22755404
Are you handcoding this or dragging the MP3 into Design View?
0
 

Author Comment

by:joew1620
ID: 22755408
dragging into design view
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 22755427
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
ID: 22755439
can I do it without using that player?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 22755467
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
ID: 22755563
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
ID: 22755581
>> 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
ID: 22755601
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
ID: 22755606
>> 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
ID: 22755610
thank you so much
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Issue when emailing and there is a space 7 387
xml to xml using xslt and php 4 550
.dwt files not viewable in browser - why? 2 75
Live mode in DW, need to creae Session 4 79
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…
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

863 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

20 Experts available now in Live!

Get 1:1 Help Now