HighDots Forums  

Validating page with "embed" command

alt.html alt.html


Discuss Validating page with "embed" command in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
I.N. Galidakis
 
Posts: n/a

Default Validating page with "embed" command - 04-29-2008 , 06:51 AM






After spending some time validating my webpages for transitional 4.01 HTML I
find that some pages of mine which contain the "embed" audio/video command fail
stubbornly to validate. For example, my music page:

http://ioannis.virtualcomposer2000.com/music/index.html

fails because of the embedded music command:

<embed src="Fugue_BWV_999_g.mid" hidden="false" border="0" width="310"
height="16" autostart="true" autoplay="true" loop="false" volume="58%">

Is there any way to make this page pass the validation test?

Many thanks,
--
I.N. Galidakis


Reply With Quote
  #2  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Validating page with "embed" command - 04-29-2008 , 11:47 AM






Scripsit I.N. Galidakis:

Quote:
After spending some time validating my webpages for transitional 4.01
HTML I find that some pages of mine which contain the "embed"
audio/video command fail stubbornly to validate.
That's no wonder, since the embed "command" does not belong to HTML 4.01
at all.

Quote:
embed src="Fugue_BWV_999_g.mid" hidden="false" border="0" width="310"
height="16" autostart="true" autoplay="true" loop="false"
volume="58%"
That's user-unfriendly. I was listening to Sibelius on my computer, and
visiting your page, this gets intrerrupted by some BWV noise. At least
change "true" to "false".

Quote:
Is there any way to make this page pass the validation test?
Surely; use a DTD that allows the embed element; e.g. with
<!DOCTYPE HTML SYSTEM "http://www.cs.tut.fi/~jkorpela/html/tagsoup.dtd">
modifying it with the attributes you consider as appropriate; see
http://www.cs.tut.fi/~jkorpela/html/own-dtd.html

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/



Reply With Quote
  #3  
Old   
Jonathan N. Little
 
Posts: n/a

Default Re: Validating page with "embed" command - 04-29-2008 , 12:33 PM



Jukka K. Korpela wrote:
Quote:
Scripsit I.N. Galidakis:

After spending some time validating my webpages for transitional 4.01
HTML I find that some pages of mine which contain the "embed"
audio/video command fail stubbornly to validate.

That's no wonder, since the embed "command" does not belong to HTML 4.01
at all.

embed src="Fugue_BWV_999_g.mid" hidden="false" border="0" width="310"
height="16" autostart="true" autoplay="true" loop="false"
volume="58%"

That's user-unfriendly. I was listening to Sibelius on my computer, and
visiting your page, this gets intrerrupted by some BWV noise. At least
change "true" to "false".

Is there any way to make this page pass the validation test?

Surely; use a DTD that allows the embed element; e.g. with
!DOCTYPE HTML SYSTEM "http://www.cs.tut.fi/~jkorpela/html/tagsoup.dtd"
modifying it with the attributes you consider as appropriate; see
http://www.cs.tut.fi/~jkorpela/html/own-dtd.html

Careful Jukka, the OP may not catch the sarcasm.

To OP, the best solution is just remove the embed. Chances are your
visitor to not really want to hear the Fugue. You can give them the
option with a simple link, and it will pass validation.

<p>If you really want to hear <a href="Fugue_BWV_999_g.mid">JSB's
Prelude in C Minor</a>!</p>

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


Reply With Quote
  #4  
Old   
Gus Richter
 
Posts: n/a

Default Re: Validating page with "embed" command - 04-29-2008 , 04:13 PM



I.N. Galidakis wrote:
Quote:
After spending some time validating my webpages for transitional 4.01 HTML I
find that some pages of mine which contain the "embed" audio/video command fail
stubbornly to validate. For example, my music page:

http://ioannis.virtualcomposer2000.com/music/index.html

fails because of the embedded music command:

embed src="Fugue_BWV_999_g.mid" hidden="false" border="0" width="310"
height="16" autostart="true" autoplay="true" loop="false" volume="58%"

Is there any way to make this page pass the validation test?
<http://developer.mozilla.org/en/docs/Gecko_Plugin_API_Reference:Plug-in_Basics#The_Default_Plug-in>

1. Use the object element - this is the standards conforming method.
2. Use the embed element - non-standard but all browsers support it -
it was a Netscape proprietory element which W3C never recognized.

I was into this a few years back. Quite a bit out of touch now. I recall
some problems with IE/WMP problems requiring classid and having to nest
embed for others. The problem was that IE did not support this
properly. If the first encountered (object) is supported, then it should
do so and exit, but it would continue and also use embed resulting in
two renditions.

I found the easiest was to use embed and the hell with validation.

--
Gus



Reply With Quote
  #5  
Old   
Travis Newbury
 
Posts: n/a

Default Re: Validating page with "embed" command - 04-29-2008 , 08:53 PM



On Apr 29, 6:51 am, "I.N. Galidakis" <morph... (AT) olympus (DOT) mons> wrote:
Quote:
After spending some time validating my webpages for transitional 4.01 HTML I
find that some pages of mine which contain the "embed" audio/video command fail
stubbornly to validate.
So what. Does the page work correctly?

Validation is a tool. NOT a goal.


Reply With Quote
  #6  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Validating page with "embed" command - 05-01-2008 , 08:21 AM



Scripsit Jonathan N. Little:

Quote:
Jukka K. Korpela wrote:
[...]
Is there any way to make this page pass the validation test?

Surely; use a DTD that allows the embed element; e.g. with
!DOCTYPE HTML SYSTEM
"http://www.cs.tut.fi/~jkorpela/html/tagsoup.dtd"> modifying it with
the attributes you consider as appropriate; see
http://www.cs.tut.fi/~jkorpela/html/own-dtd.html

Careful Jukka, the OP may not catch the sarcasm.
There was no sarcasm in my message, including the part quoted above,
where I answer the direct question.

Quote:
To OP, the best solution is just remove the embed.
I think I said that, indirectly but not sarcastically. _This_ would have
been sarcastic:
Oh, I'm _so_ delighed at your use of <embed>, which guarantees all
visitors an unforgettable musical experience.

Quote:
You can give them the
option with a simple link, and it will pass validation.
Surely that's almost always the best approach. The technical answer to
the technical question still stands.

Besides, real multimedia isn't strictly illegal, and it may actually
make sense and not just noise on the web. For example, you could have an
HTML page containing embedded music, embedded video, text, and images,
telling a story better than any of these media forms alone could tell.
Of course, to avoid nasty surprises to visitors, authors should not link
to such pages except with explicit warnings about content, and any
reasonable effort should be made to keep them out of search engine
databases (and to create versions without such embedding and with links
to multimedia versions, with any reasonable effort to make search
engines index _these_ pages).

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.