fjeldhoff Posted April 23, 2006 Share Posted April 23, 2006 hi All!I need help!! Is it possible to add multiple music-files to the media-player Using The <object> Element?Best RegardsMads Fjeldhoff Link to comment Share on other sites More sharing options...
boen_robot Posted April 23, 2006 Share Posted April 23, 2006 I don't know about multiple files, but I think you may load some playlist (m3u was the format I think) which would load all the needed files itself. Link to comment Share on other sites More sharing options...
fjeldhoff Posted April 23, 2006 Author Share Posted April 23, 2006 How do i do that? Link to comment Share on other sites More sharing options...
boen_robot Posted April 23, 2006 Share Posted April 23, 2006 Simply use the <object> tag to initiate the media player. Something like: <objectclassid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"><param name="FileName" value="playlist.m3u" /></object> Where playlist m3u must be the playlis with all the files.You can create this playlist by choosing the songs you want and put them in a now playing list at Windows Media Player (I don't know if other players could it nor how they do it). Then select "File>Save Now Playing List As... " In the dialoug box, select the desired format (either wpl or m3u. I don't know their differences), write the desired name above that dropdown menu, select the location on your hard drive and "Save". Upload the newly created file on the same folder where the object tag will be used (in the code case above at least) and that's it.Note that you must play the desired music files from the server, or you'll create local paths. Link to comment Share on other sites More sharing options...
dlaidi Posted April 24, 2006 Share Posted April 24, 2006 Simply use the <object> tag to initiate the media player. Something like:<objectclassid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"><param name="FileName" value="playlist.m3u" /></object> Sorry to interrupt.I'm wondering what is the clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 means in the code above? thanks Link to comment Share on other sites More sharing options...
johneva Posted April 24, 2006 Share Posted April 24, 2006 The class id is telling your browser what the object is.As object can be used for many many diffrent things. Link to comment Share on other sites More sharing options...
fjeldhoff Posted April 24, 2006 Author Share Posted April 24, 2006 thanks a lot! it's finally working 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