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

joew1620Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
joew1620Author Commented:
thank you so much
0
joew1620Author Commented:
for the help
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Dreamweaver

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.