joew1620
asked on
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]
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
for the help
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.
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.
ASKER
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>
Are you handcoding this or dragging the MP3 into Design View?
ASKER
dragging into design view
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...
ASKER
can I do it without using that player?
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.
ASKER
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>
>> 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.
Surround the image with an <a> tag and it will link to wherever you want.
ASKER
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>
>> 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.
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.
ASKER
thank you so much
ASKER