Arithus Lion Posted May 3, 2006 Share Posted May 3, 2006 Check this code out... I was wondering what I could add to it in order to make it play "only" when you click on the play button. I don't want it to play as soon as you enter the page.<EMBED src="http://lads.myspace.com/mini/mini.swf?b=NDIzNDA5NA==&o=NDUwNzMzNjk=&d=MTE0NjY2NzY2Mw==&u=aHR0cDovL211c2ljcGxheWVyLm15c3BhY2UuY29tLw==&i=Njk5MzUxMTY=&a=RmFsc2U=" quality=high WIDTH="295" HEIGHT="51" NAME="mp3player" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> Link to comment Share on other sites More sharing options...
johneva Posted May 3, 2006 Share Posted May 3, 2006 Firstly you should not use the embed tag anymore as it is depricated now, the object tag should be used instead.Then to your question I am not sure if it works with flash player I only used it with windows media player. I think for flash you have to do something in the flash file but I am not sure as I dont use Flash.<param name='autoStart' value='0' /> Link to comment Share on other sites More sharing options...
htmlkid Posted May 3, 2006 Share Posted May 3, 2006 <EMBED src="http://lads.myspace.com/mini/mini.swf?b=NDIzNDA5NA==&o=NDUwNzMzNjk=&d=MTE0NjY2NzY2Mw==&u=aHR0cDovL211c2ljcGxheWVyLm15c3BhY2UuY29tLw==&i=Njk5MzUxMTY=&a=RmFsc2U=" quality="high" WIDTH="295" HEIGHT="51" NAME="mp3player" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> i inserted the attribute high between quotes because without them it may cause issues Link to comment Share on other sites More sharing options...
Arithus Lion Posted May 3, 2006 Author Share Posted May 3, 2006 Firstly you should not use the embed tag anymore as it is depricated now, the object tag should be used instead.Then to your question I am not sure if it works with flash player I only used it with windows media player. I think for flash you have to do something in the flash file but I am not sure as I dont use Flash.<param name='autoStart' value='0' /><{POST_SNAPBACK}> Thanks I'll try it.So instead of <EMBED> I should use "<object>" ok So why is it depricated? My knowlage is mediocre at best right now so thats why I ask. Link to comment Share on other sites More sharing options...
Arithus Lion Posted May 3, 2006 Author Share Posted May 3, 2006 <EMBED src="http://lads.myspace.com/mini/mini.swf?b=NDIzNDA5NA==&o=NDUwNzMzNjk=&d=MTE0NjY2NzY2Mw==&u=aHR0cDovL211c2ljcGxheWVyLm15c3BhY2UuY29tLw==&i=Njk5MzUxMTY=&a=RmFsc2U=" quality="high" WIDTH="295" HEIGHT="51" NAME="mp3player" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> i inserted the attribute high between quotes because without them it may cause issues <{POST_SNAPBACK}> Issues with what exactly? Does it effect the code in a similar way as it would if I didn't put an end tag after a code?Thanks! Link to comment Share on other sites More sharing options...
johneva Posted May 3, 2006 Share Posted May 3, 2006 Thanks I'll try it.So instead of <EMBED> I should use "<object>" ok So why is it depricated? My knowlage is mediocre at best right now so thats why I ask.<{POST_SNAPBACK}> They have depiciated the embed tag as it is no longer needed the object tag does the same job and a whole lot more too.With them clamping down on all this sloppy coding that was just one of many things that had to go.Here is an article on how Flash objects should now be added to the page.http://www.alistapart.com/articles/flashsatay/This is it without progressive download you will have to set the height and width in CSS for it to be valid too thats why I have not added it to this example.<object type="application/x-shockwave-flash" data="filename.swf"><param name="movie" value="filename.swf" /><param name="autostart" value="0"/></object> Link to comment Share on other sites More sharing options...
Arithus Lion Posted May 3, 2006 Author Share Posted May 3, 2006 They have depiciated the embed tag as it is no longer needed the object tag does the same job and a whole lot more too.With them clamping down on all this sloppy coding that was just one of many things that had to go.Here is an article on how Flash objects should now be added to the page.http://www.alistapart.com/articles/flashsatay/<{POST_SNAPBACK}> Ok well I guess I can cut embed out of all my stuff now. I'd like to be as efficiant as possible. I don't want my site to be all jacked up and slow. Who exactly decides this stuff? Who is the "they" or "them" Link to comment Share on other sites More sharing options...
johneva Posted May 3, 2006 Share Posted May 3, 2006 World Wide Web Consortium (W3C) Link to comment Share on other sites More sharing options...
Arithus Lion Posted May 3, 2006 Author Share Posted May 3, 2006 World Wide Web Consortium (W3C)<{POST_SNAPBACK}> Awsome!!!!!This place is great. I'll learn form you guy's real quick. 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