businessman332211@hotmail.com Posted July 6, 2006 Share Posted July 6, 2006 First time ever having to ask an xhtml related question.What is deprecated and what is not.<object></object><embed></embed>I saw that when I am coding in dreamweaver it tells me object is outdated, change to embed. When I see www.w3schools.com it tells me object is not deprecated, which is it? Link to comment Share on other sites More sharing options...
aspnetguy Posted July 6, 2006 Share Posted July 6, 2006 object is not depreciated and embed is.Depending on what you what to insert you may or may not be able to use xhtml strict. Link to comment Share on other sites More sharing options...
businessman332211@hotmail.com Posted July 6, 2006 Author Share Posted July 6, 2006 I regularly use Xhtml transitional. The other question I had is there a place I can find a list of the types of files supported by basic object tags.What filetypes are supported with just<object src="" height="" width=""></object> Link to comment Share on other sites More sharing options...
aspnetguy Posted July 6, 2006 Share Posted July 6, 2006 good question. I know you can usee only object and get Flash to work (with a bit of work) but I haven't really looked into this before so I am not sure.Did you try Google? Link to comment Share on other sites More sharing options...
businessman332211@hotmail.com Posted July 6, 2006 Author Share Posted July 6, 2006 Yes all over google, I just wanted to get a good list, of atleast some of the stuff supported, I couldn't even get .wma to work, I watned to set up as many as possible, I am using a php variable, from a database, I hve the url's recorded, so I am using a variable, but it should be the same thing. Ijust have to figure out what file types it supported, I have been scouring google/yahoo for hours, I still am. I am trying to work that out right now, I am searching everything I can think of for it. Link to comment Share on other sites More sharing options...
scott100 Posted July 6, 2006 Share Posted July 6, 2006 object is not depreciated and embed is.<embed> was a tag created by netscape but works in most browsers. It was never part of w3 recommendations, so since it never officaly existed it can't be deprecated.W3C recommend using the <object> tag. Link to comment Share on other sites More sharing options...
aspnetguy Posted July 6, 2006 Share Posted July 6, 2006 since you are using transitional anyway why not just go ahead and use embed. It iwll save you some time. Link to comment Share on other sites More sharing options...
businessman332211@hotmail.com Posted July 6, 2006 Author Share Posted July 6, 2006 How, I just changed my tags to objectI am only creating one, and php will be feeding it variables, anykind of music, or video, I am just wondering which ones I can trust it to play. Link to comment Share on other sites More sharing options...
businessman332211@hotmail.com Posted July 6, 2006 Author Share Posted July 6, 2006 I know it just played an mp3I am just wondering what types do you know this will play<object data="<?=$funnyurl?>" width="200" height="200"></object>What file types can I atleast safely say it will pick up and play, without problems. Link to comment Share on other sites More sharing options...
businessman332211@hotmail.com Posted July 6, 2006 Author Share Posted July 6, 2006 I am afraid to browse and pick up random filetypes, because of viruses, I am just wondeirng which ones you have tested these on before, or know for a fact, or just have a list somewhere, I have been googling all morning, Link to comment Share on other sites More sharing options...
aspnetguy Posted July 6, 2006 Share Posted July 6, 2006 take a look at this http://cit.ucsf.edu/embedmedia/step1.php Link to comment Share on other sites More sharing options...
businessman332211@hotmail.com Posted July 6, 2006 Author Share Posted July 6, 2006 That will help a lot but what file types are covered by Flash QuickTime Real Media Windows Media I really appreciate this link as well, this is going to be very helpful on this and other related projects, I really appreciate it, thanks, do you have any idea about what filetypes those cover. Link to comment Share on other sites More sharing options...
businessman332211@hotmail.com Posted July 6, 2006 Author Share Posted July 6, 2006 Actually I tried that, I will use that later, but it's a little too annoying to work with it using php variables, does anyone know what file types just the basic object tags support? Link to comment Share on other sites More sharing options...
justsomeguy Posted July 6, 2006 Share Posted July 6, 2006 I don't think the object tag itself has explicit support for anything, it's what software is loaded on the client's machine. If they have a windows media player plugin for the browser, then the browser can play an embedded windows media file. If they have a real player plugin, then the browser can play real media files (not that anyone would want to). It's more about the client then the tag though, the tag just suggests what the browser should do, it's up to the browser to actually find something to do it with. Link to comment Share on other sites More sharing options...
businessman332211@hotmail.com Posted July 6, 2006 Author Share Posted July 6, 2006 I used the following script pages for my includes on my display page. This should take care of everything<!-- begin embedded Flash file... --> <table border='0' cellpadding='0' align="center"> <tr><td> <OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width="320" height="240"> <param name='movie' value="<?=$funnyurl?>"> <param name='quality' value="high"> <param name='bgcolor' value='#FFFFFF'> <param name='loop' value="true"> <EMBED src="<?=$funnyurl?>" quality='high' bgcolor='#FFFFFF' width="320" height="240" loop="true" type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'> </EMBED> </OBJECT> </td></tr> <!-- ...end embedded Flash file --> </table><a href="<?=$funnyurl?>"><?=$nameoffunny?></a>And a lot more. I did one for each and covered almost all of the file extensions I could think of Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now