473,396 Members | 1,608 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

<embed> tag not working properly on linux

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.

Jan 10 '06 #1
2 3265
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.
Jan 10 '06 #2
On 10 Jan 2006 00:48:30 -0800, "Annu" <an***************@gmail.com>
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).

Jan 10 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Wolfgang Schwanke | last post by:
Dear usenet, I'm having the following small problem. I've been ask to add some Quicktime panoramas to a website. The author of the panoramas has made two versions of each: One in MOV format,...
4
by: AES/newspost | last post by:
Can anyone provide a quick tip on the html structure to link from a thumb to a movie poster and from there on to a QuickTime movie, all in one go, using EMBED? I have a number of (large)...
1
by: Frances Del Rio | last post by:
I have this tag to embed a video: <EMBED type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" SRC="video.wmv" name="Video"...
2
by: chaitatp | last post by:
Hi guys, I have posted a similar question before but this post has some different. The similar link is: ...
0
by: Andy Dingley | last post by:
I have code like this: <embed src="ftp://ftp.example.com/movies/clip1234.mov" > They're 10-20MB quicktime, held on an ftp server, no streaming. I don't know exactly what screen size they are. If...
2
by: Cris Curtis | last post by:
When I use an embed tag that uses a dynamic aspx page, the dynamic aspx page appears to get called 2 times instead. Below is code that adds an embed tag to a placeholder control that will use...
2
by: John | last post by:
I have CSS drop down navigatoon bar and it works fine. However, when I have page where I have an <embed - needed to show a PDF file, such as: <embed src="Security.pdf" width="900"...
1
by: Andy B | last post by:
I am trying to embed mp3 files in a web page by using the <embedtag. Every time I save the page I get xhtml validation(): embed tag no longer supported. When I run the page... I get nothing at all....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.