mp3 player
  • hello,

    i put this code on my web site

    {{ if $gimme->article->has_attachments }}
    {{ list_article_attachments }}
    {{ if $gimme->attachment->extension == "mp3" }}
        {{ $gimme->attachment->description }}<br />
        <object height="20" width="200" data="/templates/set_thejournal/medien/player/player.swf" type="application/x-shockwave-flash" align="top">
            <param value="/templates/set_thejournal/medien/player/player.swf" name="movie" />
            <param name="wmode" value="opaque" />
            <param value="mp3={{ uri options="articleattachment" }}&amp;showstop=1&amp;showvolume=1&amp;buttonwidth=25&amp;sliderwidth=15&amp;bgcolor1=5EA65E&amp;bgcolor2=365E36" name="FlashVars" />
        </object><br />
        <a href="{{ uri options="articleattachment" }}" />{{ $gimme->attachment->file_name }}, {{ $gimme->attachment->size_kb }}Kb</a>
    {{/if}}
    {{/list_article_attachments}}
    {{/if}}
                                                                                                                                                               
    i see the falsh an if i play they buffering but they don't work.
     why?
  • 2 Comments sorted by
  • Vote Up0Vote Down Micz FlorMicz Flor
    Posts: 184Administrator
    so the player is on the server and at the right place, it shows up on the page. it also buffers. but it does not play.

    i had problems with that player before. to my knowledge the development of the player is not supported anymore. possibly try another one?

    e.g. http://flowplayer.org/

    we used this for videos (but it also does audio and playlists) here:
    http://www.fluter.de/de/waehrung/tv/

    good luck and post your code here!

    micz
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    make sure that mp3 file is accessible in browser (just try to download)