Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash mp3 xml in xml website!

Status
Not open for further replies.

Manjinda

Technical User
Jul 17, 2009
9
hey people new to the forum hope every1 is ok..have a big problem...

i have a web template that is fully driven by xml ..

my question is that how do i insert an xml driven flash player into the xml website...

when for example i insert the source.. on the xml site it comes up like this CODING -

<main><![CDATA[<img src="media_content/remix/mp3player.swf" align="right" width="200">

(image is attatched)

what specific coding would i need to put in for the flash mp3 player to be able to read the xml playlist ?

im new to this you see..thanks for all the help and support in advance
 
thanks mate i will try that now ...

 
hey just having a problem i understand you said i would have to insert that coding into the xml

exactly how though im new to this you see ..

i have attached an image.. would you be kind enough to write out the coding for me as i can just copy and paste over and then fiddle around with it to my own accordance.. just the simple basic code inc the height align tags?

image attached below
 
 http://img195.imageshack.us/img195/5935/capturecmk.jpg
<object> tag for embedding SWF is like this:
Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="780" height="420"><param name="movie" value="myContent.swf" /><!--[if !IE]>--><object type="application/x-shockwave-flash" data="myContent.swf" width="780" height="420"></object><!--<![endif]--></object>
Try replacing your <img> tag with this (obviously you need to set the path to the SWF correctly)


Kenneth Kawamoto
 
thanks for the reply... sorry i forgot to tell you ... i changed my template .. to a better looking 1.. (above in the images)

this is how the coding looks ...

<mainmenu>
<title><![CDATA[MEDIA]]></title>
<content_menu><![CDATA[submenu]]></content_menu>
<submenu>
<item>
<title_submenu><![CDATA[Bhangra Music Player]]></title_submenu>
<content_submenu><![CDATA[Check out all the exclusive tracks right here
<font colour="#ffffff" size="22">Latest Albums Added;</font>
<font size="16">Tarli Digital - Project Rehab
Pal D - Diamond In The Rough
Yugraj - Chan Warga Chamkara
Rana Sahota - Khakde Glassy
Taj E - Sik N Twisted</font>
<font colour="#ffffff" size="22">Latest Singles Added;</font>
<font size="16">Jags Klimax ft Lehmber - Mele Vich Jatt
Sef ft Des C - Need A Hero
Kaka Bhaniawala - Nachu Saara
The Dark Mc - Baara Boorti
The Dark Mc - Dushmani Platinum Mix
Kaka Bhaniawala - Mere Wattan
Code Red - Yaar Yaar Ne</font>
<br><br><br><br>]]>
</content_submenu>
</item>


I HAVE THE SWF MP3 FILE AND XML PLAYLIST FILE IN ROOT FOLDER ... WHERE AND HOW WILL I CODE IT BECAUSE I COPIED AND PASTED THE CODE U GAVE I THEN CHANGED THE PATH BUT IT KEPT COMING UP AS INFO NULL WHEN VIEWING THE SITE..

THE XML SITE HAS A BUILT IN VIDEO PLAYER AND THERE IS A CONFIG XML WHERE YOU LINK THE VIDEOS IN THERE ..

IM SURE IF U CAN HAVE A VIDEO PLAYER WHICH READS OFF A XML PLAYLIST IT CAN BE DONE WITH MP3 ..

DO U HAVE MSN OR SOMETHING AND U CAN LOGMEIN? OR SOMETHING MAKE IT EASIER FOR URSELF AND UNDERSTAND MORE.. ?

SOULJHA.88@HOTMAIL.CO.UK - MSN?
 
<mainmenu>
<title><![CDATA[MEDIA]]></title>
<content_menu><![CDATA[submenu]]></content_menu>
<submenu>
<item>
<title_submenu><![CDATA[Bhangra Music Player]]></title_submenu>
<content_submenu><![CDATA[Check out all the exclusive tracks right here<br><br><br>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="250" height="250"><param name="swfFile" value="swfFile.swf" /><!--[if !IE]>--><object type="application/x-shockwave-flash" data="swfFile.swf" width="250" height="250"></object><!--<![endif]--></object><br><br><br>
<font colour="#ffffff" size="22">Latest Albums Added;</font>
<font size="16">Tarli Digital - Project Rehab
Pal D - Diamond In The Rough
Yugraj - Chan Warga Chamkara
Rana Sahota - Khakde Glassy
Taj E - Sik N Twisted</font>
<font colour="#ffffff" size="22">Latest Singles Added;</font>
<font size="16">Jags Klimax ft Lehmber - Mele Vich Jatt
Sef ft Des C - Need A Hero
Kaka Bhaniawala - Nachu Saara
The Dark Mc - Baara Boorti
The Dark Mc - Dushmani Platinum Mix
Kaka Bhaniawala - Mere Wattan
Code Red - Yaar Yaar Ne</font>
<br><br><br><br>]]>
</content_submenu>
</item>


i put that coding in , it comes up like this ...

ive included an image with a random swf file .. it works with the image tag but replacing this is what happens with the above code ....


 
<object type="application/x-shockwave-flash" width="400" height="270"
data="F:\WoRk\Website\NEW_KB_DESIGN_1\flashmp3\bhangra\mp3player.swf?playlist_url=F:\WoRk\Website\NEW_KB_DESIGN_1\flashmp3\bhangra\playlist.xml">
<param name="movie"
value="F:\WoRk\Website\NEW_KB_DESIGN_1\flashmp3\bhangra\mp3player.swf?playlist_url=F:\WoRk\Website\NEW_KB_DESIGN_1\flashmp3\bhangra\playlist.xml" />
</object>

i even put this coding in... the space comes up to show something is there but obviously nothink
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top