Parisson / TimeSide

scalable audio processing framework and server written in Python
https://timeside.ircam.fr/docs/
GNU Affero General Public License v3.0
369 stars 59 forks source link

Trying to use the Web Player #55

Closed yPhil-gh closed 10 years ago

yPhil-gh commented 10 years ago

Hi :)

I installed python-timeside (had to temporary disable the repo to install Aubio) Then I created a test dir in my http root, cd in it and

cp -R /usr/share/pyshared/timeside/static/timeside/ ./timeside-ui

Then, as per the README (https://github.com/yomguy/TimeSide/blob/master/README.rst) I did something (I tried various markup combinations) like this :

<!DOCTYPE html>
<html>

  <head>
    <meta charset="UTF-8">
      <script type="text/javascript" src="timeside-ui/lib/jquery-1.6.min.js"></script>
      <script type="text/javascript" src="timeside-ui/lib/soundmanager2-nodebug-jsmin.js"></script>
      <script type="text/javascript" src="timeside-ui/timeside.js"></script>
      <script>
    $(document).ready(function() {

       var player = jQuery('#player')

        Timeside.load({
            container: player,
            sound: "MUSIC/Azer0/Counternatures/Azer0-Counternatures-01-Takaddum.ogg",
            soundDuration: 149264,
            soundImage: "MUSIC/Azer0/Counternatures/album.jpg",
        }

    });

      </script>
    </head>

    <script type="text/javascript">
       soundManager.url = 'timeside-ui/swf/';  // path (directory) where SM2 .SWF files will be found.
    </script>

    <div id="player">plop</div>

  </html>

But it seems I missed something (no player is showing). Can somebody see what?

yPhil-gh commented 10 years ago

You just closed the issue w/o any reason given, no help message, nothing?

yomguy commented 10 years ago

Isn't this issue a duplicate of #56 ?

yPhil-gh commented 10 years ago

Yes, it is, sorry about that, I messed up w/ the display filters.