Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
best way to embed jeroen's media player?
so i know two of his other widgets have been made into textpattern plugins(video and mp3) but the media player combines the two. i have not seen any textpattern plugins yet that feature playlist style media playback. ideally i wouldn’t even need to use a plugin as i just really need one instance of it and am not going to be attaching this to posts frequently. any ideas would be great.
Offline
Re: best way to embed jeroen's media player?
one way after embedding it via swfobject would be to have it read your track data from a ‘page’ that just has the xml information in it. it wont be pretty to edit (you’d still have to sift through the simple xml stuff like <track>, <title>, <location> etc etc) but at least you wouldn’t have to update an actual file and upload it all the time.
so basically, one way you could do it would be:
1) embed the media player via swfobject
2) add a section called ‘playlist’
3) create blank ‘page’ called ‘playlist.xml’ (or whatever you want) and paste in your xml info
4) assign the section you just created with the page (‘playlist.xml’)
5) edit the mediaplayer attributes to read xml data from your page (ie so.addVariable(‘file’,’/playlist’)
Last edited by iblastoff (2007-09-15 17:26:59)
Offline
Re: best way to embed jeroen's media player?
hey thanks for the info – i started out by putting the player on the page, a first big step. but i used negative margins to get it where it is so this doesn’t show up in IE7
mrtunes.ca
i’m quite the CSS hack
as for the method you suggest, yeah i’ll have to think about trying it. thankfully i have a test site now where i can actually play with ideas before implementing them.
Last edited by mrtunes (2007-09-16 05:33:15)
Offline