login  Naam:   Wachtwoord: 
Registreer je!
 Forum

JW playist probleem (Opgelost)

Offline bertvanhees - 28/05/2008 19:18
Avatar van bertvanheesOnbekend Beste,
Ik gebruik de script van jeroen wijering voor mijn MP3 playist, Nu heb ik hierbij een probleem, het is namelijk zo dat hij geen titels geeft van het liedje.

Een voorbeeld vind je op: http://users.pa...enten.html

Herbij de codes:

  1. <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
  2. codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8"
  3. width="255" height="105"
  4. id="theMediaPlayer">
  5. <param name=movie value="mp3player.swf">
  6. <param name=quality value="high">
  7. <param name=bgcolor value="#FFFFFF">
  8. <param name=allowFullScreen value="false">
  9. <param name=swLiveConnect value="true">
  10. <param name=allowScriptAccess value="sameDomain">
  11. <param name="FlashVars" value="file=mp3playlist.xml&width=320&height=100&displaywidth=320&displayheight=0&autostart=true&backcolor=0xFFFFFF">
  12.  
  13. <embed type="application/x-shockwave-flash"
  14. pluginspage="http://www.macromedia.com/go/getflashplayer"
  15. width="255" height="105" bgcolor="#FFFFFF"
  16. name="theMediaPlayer"
  17. src="mp3player.swf"
  18. flashvars="file=mp3playlist.xml&width=320&height=100&displaywidth=320&displayheight=0&autostart=true&backcolor=0xFFFFFF">
  19. </embed>
  20. </object>


  1. <playlist version="1" xmlns="http://xspf.org/ns/0/">
  2. <trackList>
  3.  
  4.  
  5. <track>
  6. <title>Pepito</title>
  7. <location>http://www.lisadelbo.be/liedjes/pepito.mp3</location>
  8.  
  9. </track>
  10. <track>
  11. <title>Blanket on the ground</title>
  12. <location>http://www.lisadelbo.be/liedjes/blanket.mp3</location>
  13.  
  14. </track>
  15. <track>
  16. <title>Blue Bayou</title>
  17. <location>http://www.lisadelbo.be/liedjes/bluebayou.mp3</location>
  18.  
  19. </track>
  20. <track>
  21. <title>Don't leave tonight</title>
  22. <location>http://www.lisadelbo.be/liedjes/Don't leave tonight.mp3</location>
  23.  
  24. </track>
  25. <track>
  26. <title>Boom-bang-a-bang</title>
  27. <location>http://www.lisadelbo.be/liedjes/boom.mp3</location>
  28.  
  29. </track>
  30. <track>
  31. <title>Lay love on you</title>
  32. <location>http://www.lisadelbo.be/liedjes/laylove.mp3</location>
  33.  
  34. </track>
  35. <track>
  36. <title>Be my guest</title>
  37. <location>http://www.lisadelbo.be/liedjes/Be my guest.mp3</location>
  38.  
  39. </track>
  40. <track>
  41. <title>Oh Lonesome me</title>
  42. <location>http://www.lisadelbo.be/liedjes/Oh lonesome me.mp3</location>
  43.  
  44. </track>
  45. <track>
  46. <title>Paper roses</title>
  47. <location>http://www.lisadelbo.be/liedjes/Paper roses.mp3</location>
  48.  
  49. </track>
  50. <track>
  51. <title>Some kind of wonderful</title>
  52. <location>http://www.lisadelbo.be/liedjes/Some kind of wonderful.mp3</location>
  53.  
  54. </track>
  55. <track>
  56. <title>Demasiado corazon</title>
  57. <location>http://www.lisadelbo.be/liedjes/Demasiado corazon.mp3</location>
  58.  
  59. </track>
  60. <track>
  61. <title>Ich bin wie du</title>
  62. <location>http://www.lisadelbo.be/liedjes/Ich bin wie du.mp3</location>
  63.  
  64. </track>
  65. <track>
  66. <title>Tango d'amore</title>
  67. <location>http://www.lisadelbo.be/liedjes/Tango d'amore.mp3</location>
  68.  
  69. </track>
  70. <track>
  71. <title>Stop looking in his eyes</title>
  72. <location>http://www.lisadelbo.be/liedjes/Stop looking in his eyes.mp3</location>
  73.  
  74. </track>
  75. <track>
  76. <title>Shout</title>
  77. <location>http://www.lisadelbo.be/liedjes/Shout.mp3</location>
  78.  
  79. </track>
  80. <track>
  81. <title>There's a sparkle in your eyes</title>
  82. <location>http://www.lisadelbo.be/liedjes/There's a sparkle in your eyes.mp3</location>
  83.  
  84. </track>
  85. <track>
  86. <title>Kiss me honey</title>
  87. <location>http://www.lisadelbo.be/liedjes/Kiss me honey.mp3</location>
  88.  
  89. </track>
  90. <track>
  91. <title>Party samba de Brazil</title>
  92. <location>http://www.lisadelbo.be/liedjes/Party samba de Brasil.mp3</location>
  93.  
  94. </track>
  95. <track>
  96. <title>Do the hucklebuck</title>
  97. <location>http://www.lisadelbo.be/liedjes/Do the Hucklebuck.mp3</location>
  98.  
  99. </track>
  100.  
  101. </trackList>
  102. </playlist>

22 antwoorden

Gesponsorde links
Offline vinTage - 28/05/2008 20:04
Avatar van vinTage Nieuw lid Wat is hier OOP aan ?  

Anyway, het bold gedeelte ...
Citaat:
Warning: onHTTPStatus is not a function
Warning: Failed to load policy file from http://www.zita.be/crossdomain.xml
*** Security Sandbox Violation ***
Connection to http://www.zita.be/users_error/ halted - not permitted from http://users.pandora.be/xera/lisa-bo/mp3player.swf
Error: Request for resource at http://www.zita.be/users_error/ by requestor from http://users.pandora.be/xera/lisa-bo/mp3player.swf is denied due to lack of policy file permissions.

Warning: onHTTPStatus is not a function
Warning: readHandler is not a function
Warning: onHTTPStatus is not a function
Warning: readHandler is not a function
Warning: onID3 is not a function
Offline bertvanhees - 28/05/2008 20:51
Avatar van bertvanhees Onbekend Dit krijg ik niet bij mij hoor, ik krijg gewoon mijn speler (met muziek).
Alleen wordt er geen titels gegeven
Offline vinTage - 28/05/2008 20:52 (laatste wijziging 28/05/2008 20:53)
Avatar van vinTage Nieuw lid Ja, maar jij hebt geen debug player en flashtracer, ikke wel 

anyway, probeer eens om een absolute pad in te geven voor die xml, misschien dat dat werkt..
Offline bertvanhees - 28/05/2008 20:53
Avatar van bertvanhees Onbekend Maar hoe kan ik het precies oplossen dan ?
Offline vinTage - 28/05/2008 20:54
Avatar van vinTage Nieuw lid Probeer eens een absoluut pad voor die xml (testje)
Offline bertvanhees - 28/05/2008 20:56
Avatar van bertvanhees Onbekend Hoe bedoel je precies ? (voorbeeldje)
Offline vinTage - 28/05/2008 20:57
Avatar van vinTage Nieuw lid je flashvars:
file=htt...mp3playlist.xml
Offline bertvanhees - 28/05/2008 20:57 (laatste wijziging 28/05/2008 21:01)
Avatar van bertvanhees Onbekend Heb het zo gezet, jammer genoeg nog altijd geen titels te zien  
Offline vinTage - 28/05/2008 21:07 (laatste wijziging 28/05/2008 21:15)
Avatar van vinTage Nieuw lid Mjah, ik was er al achter dat het niet aan de paden lag, anders kon hij de tracks ook niet vinden.
Even kijken hoe zo'n xml eruit moet zien.

edit
Volgens mij moet het zo:

  1. <track>
  2. <title>Party samba de Brazil</title>
  3. <location>http://www.lisadelbo.be/liedjes/Party samba de Brasil.mp3</location>
  4. </track>


edit2 code geupdate, was een foutje in



Offline bertvanhees - 28/05/2008 21:19
Avatar van bertvanhees Onbekend Nu zegt hij plots:
wrong playlist format
Offline vinTage - 28/05/2008 21:22 (laatste wijziging 28/05/2008 21:23)
Avatar van vinTage Nieuw lid Wel verder alle tags nog gebruiken he, dus alleen de gegevens binnen <track> ...</track>

  1. <playlist version="1" xmlns="http://xspf.org/ns/0/">
  2. <trackList>
  3.  
  4. <track>
  5. <title>Party samba de Brazil</title>
  6. <location>http://www.lisadelbo.be/liedjes/Party samba de Brasil.mp3</location>
  7. </track>
  8.  
  9. <track>
  10. <title>Party samba de Brazil</title>
  11. <location>http://www.lisadelbo.be/liedjes/Party samba de Brasil.mp3</location>
  12. </track>
  13.  
  14. </tracklist>
Offline bertvanhees - 28/05/2008 21:27 (laatste wijziging 28/05/2008 21:31)
Avatar van bertvanhees Onbekend hmm, hij blijft ineens wrong playlist format zeggen, heb alle liedjes op de juiste wijze erop gezet, waarom zegt hij nu ineens dit ?

Groetjes Bert

edit: Wrong playlist is ineens weg (hoe dit kan weet ik ook niet). Maar er zijn nog altijd geen titels  
Offline vinTage - 28/05/2008 21:36 (laatste wijziging 28/05/2008 21:37)
Avatar van vinTage Nieuw lid Nou, dan weet ik het ook niet (tenzij je in de fla hebt gezeten en iets hebt veranderd (als dat kan bij die player?))

Volgens jw players site moet de xml zoals ik net zei goed zijn...als ik die auto generated playlist ontleed, dan hou ik de xml over die ik je net gaf

http://www.jero..._Playlists

edit, misschien MOET die info tag er ook bij, dat weet ik niet... ff testen dus.
Offline bertvanhees - 28/05/2008 21:40
Avatar van bertvanhees Onbekend Wel dit dacht ik ook, heb daarom deze code ook ingegeven, jammer genoeg zonder effect. Snap er echt niks van :-(
Offline vinTage - 28/05/2008 21:52 (laatste wijziging 28/05/2008 21:53)
Avatar van vinTage Nieuw lid Nou, die playlist die je nu hebt trekt natuurlijk nergens op, geeft btw een error ook  
  1. <?xml version="1.0" encoding="UTF-8"?>.
  2. <playlist version="1" xmlns="http://xspf.org/ns/0/">
  3. <title>Sample XSPF Playlist</title>
  4. <info>http://www.jeroenwijering.com/?item=Flash_Media_Player</info>
  5. <annotation>An example of a playlist with commercial</annotation>
  6. <trackList>
  7. <track>
  8. <title>Pepito</title>
  9. <location>http://www.lisadelbo.be/liedjes/pepito.mp3</location>
  10. </track>
  11.  
  12. <track>
  13. <title>Blanket on the ground</title>
  14. <location>http://www.lisadelbo.be/liedjes/blanket.mp3</location>
  15. </track>
  16. </trackList>
  17. </playlist>


Dit is imo de enige goeie manier..(adhv die autogenerated meuk..)
  1. <playlist version="1" xmlns="http://xspf.org/ns/0/">
  2. <trackList>
  3.  
  4. <track>
  5. <title>Party samba de Brazil</title>
  6. <location>http://www.lisadelbo.be/liedjes/Party samba de Brasil.mp3</location>
  7. <info>lala</info>
  8. </track>
  9.  
  10. <track>
  11. <title>Party samba de Brazil</title>
  12. <location>http://www.lisadelbo.be/liedjes/Party samba de Brasil.mp3</location>
  13. <info>bebe</info>
  14. </track>
  15.  
  16. </tracklist>
Offline bertvanhees - 28/05/2008 21:55
Avatar van bertvanhees Onbekend Hmm en nog altijd geen titels  
Heb nu jou playlist gebruikt, het wilt precies maar niet werken bij mij 
Offline vinTage - 28/05/2008 21:59 (laatste wijziging 28/05/2008 21:59)
Avatar van vinTage Nieuw lid ah foutje...
  1. <playlist version="1" xmlns="http://xspf.org/ns/0/">
  2. <trackList>
  3.  
  4. <track>
  5. <title>Party samba de Brazil</title>
  6. <location>http://www.lisadelbo.be/liedjes/Party samba de Brasil.mp3</location>
  7. <info>lala</info>
  8. </track>
  9.  
  10. <track>
  11. <title>Party samba de Brazil</title>
  12. <location>http://www.lisadelbo.be/liedjes/Party samba de Brasil.mp3</location>
  13. <info>bebe</info>
  14. </track>
  15.  
  16. </trackList>

Offline bertvanhees - 28/05/2008 22:02
Avatar van bertvanhees Onbekend Sorry vintage,

Maar nog altijd niet: http://users.pa...enten.html

weet echt niet wat er fout aan is
Offline vinTage - 28/05/2008 22:08 (laatste wijziging 28/05/2008 22:09)
Avatar van vinTage Nieuw lid probeer deze eens 
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <playlist version="1" xmlns="http://xspf.org/ns/0/">
  4.  
  5. <trackList>
  6.  
  7. <track>
  8. <title>Party samba de Brazil</title>
  9. <location>http://www.lisadelbo.be/liedjes/Party samba de Brasil.mp3</location>
  10. <info>lala</info>
  11. </track>
  12.  
  13. <track>
  14. <title>Party samba de Brazil</title>
  15. <location>http://www.lisadelbo.be/liedjes/Party samba de Brasil.mp3</location>
  16. <info>bebe</info>
  17. </track>
  18.  
  19. </trackList>
  20.  
  21. </playlist>
Offline bertvanhees - 28/05/2008 22:11
Avatar van bertvanhees Onbekend En.....



Nog altijd niks    
Offline vinTage - 28/05/2008 22:19
Avatar van vinTage Nieuw lid Ik geef het op 
Offline bertvanhees - 28/05/2008 23:30 (laatste wijziging 29/05/2008 15:00)
Avatar van bertvanhees Onbekend Probleem is opgelost, hebt nieuwe script gebruikt, voor mensen die de script ook zoeken:

  1. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  2. codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8" name="theMediaPlayer"
  3. width="253" height="140"
  4. id="theMediaPlayer">
  5. <param name=movie value="mediaplayer.swf">
  6. <param name=quality value="high">
  7. <param name=bgcolor value="#f1efee">
  8. <param name=allowFullScreen value="false">
  9. <param name=swLiveConnect value="true">
  10. <param name=allowScriptAccess value="sameDomain">
  11. <param name="FlashVars" value="file=mp3playlist.xml&width=253&height=140&displaywidth=253&displayheight=0&autostart=true&backcolor=0xf1efee">
  12.  
  13. <embed type="application/x-shockwave-flash"
  14. pluginspage="http://www.macromedia.com/go/getflashplayer"
  15. width="253" height="140" bgcolor="#f1efee"
  16. name="theMediaPlayer"
  17. src="mediaplayer.swf"
  18. flashvars="file=mp3playlist.xml&width=253&height=140&displaywidth=253&displayheight=0&autostart=true&backcolor=0xf1efee">
  19. </embed>
  20. </object>
Gesponsorde links
Dit onderwerp is gesloten.
Actieve forumberichten
© 2002-2024 Sitemasters.be - Regels - Laadtijd: 0.193s