Click here to get back home

tag not working properly on linux

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
tag not working properly on linux Annu 01-10-2006
Posted by Annu on January 10, 2006, 12:48 am
Please log in for more thread options


Hi
I need help on <enbed> tag.
Following code(No 1) is working properly on windows but on linux code
no.2 is not working
Code No 1:
<EMBED type='application/x-mplayer2'

pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4'
autosize='-1'
bgcolor='darkblue' showcontrols="true" showtracker='-1'
showdisplay='0' showstatusbar='-1' videoborder3d='-1'
width="320" height="285"
src="C:\music\pop\artist\song.mp3" autostart="true"
designtimesp='5311' loop="true">
</EMBED>

Code No 2:
<EMBED type='application/x-mplayer2'

pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4'
autosize='-1'
bgcolor='darkblue' showcontrols="true" showtracker='-1'
showdisplay='0' showstatusbar='-1' videoborder3d='-1'
width="320" height="285"
src="/var/www/html/song.mp3" autostart="true"
designtimesp='5311' loop="true">
</EMBED>

Please tell me the reason and correction.
Thank You.


Posted by Jukka K. Korpela on January 10, 2006, 11:07 am
Please log in for more thread options


Annu wrote:

> I need help on <enbed> tag.

Drop it.

> Following code(No 1) is working properly on windows

It only works on browsers supporting the proprietary <embed> tag. The
tag itself is not always a bad idea, though. Using it to include sound
on a web page is bad, in HTML authoring for the WWW at least (which we
are discussing here). Any decent book or tutorial on WWW authoring will
tell you that.

If you have some interesting music, and if you _know_ that you have all
the rights (obtained from the authors and artists etc.) to use it on the
WWW, you may upload it and include a _link_ to it on your page. Make
sure the link text and context make it clear that you are linking to
some music, and which music it is.

Posted by Andy Dingley on January 10, 2006, 4:30 pm
Please log in for more thread options


wrote:

><EMBED type='application/x-mplayer2'

As a general principle, would it always be a bad idea to include a type
attribute on <embed> that has any value of "x-*" ?

<embed> has its uses. It is a data-oriented way to link content to the
user's desktop environment, allowing that desktop to try and find a
best-match for rendering that content (in this case their favoured MP3
player). <embed> can do this in a way for which <object> has no direct
equivalent (posts passim re. .mov files).

This can be done through either the src URL and its "file extension" or
through a type attribute. But if type is used, surely an "obscure" type
(and x-* should always be obscure) is contrary to the notion of
"distributing widely-known media in th eknowledge that most desktops
will recognise them and have their own choices for dealing with them".

If you really _have_ to use application/x-foobar, then isn't <object> a
better idea? (and accepting that you've limited the audience to foobar
users).


Similar ThreadsPosted
On-Page Anchors not working properly December 7, 2005, 10:33 pm
Problem with Anchor link now working properly in IE! February 1, 2005, 12:33 pm
What Is Linux? December 31, 2007, 10:06 am
realvideo on Linux FC3 February 1, 2005, 6:16 pm
Linux tool for Web Comps March 17, 2008, 12:09 pm
Font sizes on Windows and Linux March 14, 2007, 1:36 pm
6 months free trial - Windows & Linux web hosting August 30, 2006, 8:13 am
Linux-based full screen browser for kiosks January 8, 2007, 7:01 pm
Weird formatting problems appearing only in Linux version of FireFox December 23, 2004, 10:47 am
Surprise - IE 6 not behaving properly September 26, 2007, 12:22 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap