Jump to content

cassiosi

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by cassiosi

  1. Hello I'm testing the unigui version of the site
    uniGUI Complete Trial Edition 1.70.0.1491 (uniGUI Pulsar), in our company and would like to know how I can do to create a music player .mp3

    With this demo uniGUI \ Demos \ Desktop \ HTML5 Audio

    in this demo only has to play, I needed the events of when the music is over, and to be able to pause the music and stop

  2.  managed to make 99% what I needed

     

    use this command in play

     

    UnimVideo1.Stop;

    UnimVideo1.JSInterface.JSCode (# 1'.media.dom.src = "'+ edt_link_musica.Text +'"; ');

    UnimVideo1.Play;

     

     

    I have not used UnimVideo1.Url

     

    When I want to go back to the previous song, I

     

    UnimVideo1.Stop;

    UnimVideo1.JSInterface.JSCode (# 1'.media.dom.src = "'+ edt_link_musica.Text +'"; ');

    UnimVideo1.Play;

  3. I did the following .. I opened the example that came in the folder ..Framework \ uniGUI \ Demos \ Touch \ Video

     

    I put a

    UnimButton1 with the code

     

     UnimVideo1.Urls.Clear;

     UnimVideo1.Urls.Text: = 'files / 2037.mp3'; (this file 2037.mp3 is in the files folder)

     UnimVideo1.Play;

     

    and tested via browser on the computer

     

     

    another question too and I would like to pause and change the file you are playing, for another example:

     

    reproducing this

     UnimVideo1.Urls.Clear;

     UnimVideo1.Urls.Text: = 'files / 2037.mp3'; (this file 2037.mp3 is in the files folder)

     UnimVideo1.Play;

     

    I put a

    UnimButton1 with the code

    UnimVideo1.stop;

     

     UnimVideo1.Urls.Clear;

     UnimVideo1.Urls.Text: = 'files / 2038.mp3'; (this file 2038.mp3 is in the files folder)

     UnimVideo1.Play;

     

    however it does not for it continues in the previous file even I changing

     

     

    My goal is to make a mp3 player, where I can show you events

     

    * if playing

    * if you have finished playing

    * change the volume

    pause

    * change the file you are playing
  4. Hi, I would like to know how, I do to play .mp3 on UnimVideo example:

     

    I tested with

    UnimVideo1.Url: = 'http: // localhost: 8077 / files / test_02.mp3'; It worked

     

    but I would like to reproduce like this

    UnimVideo1.Url: = 'files / test_02.mp3';

     

    and also like to give a stop in the middle of the playback and then change the sample file

     

    UnimVideo1.stop;

    UnimVideo1.urls.clear

    UnimVideo1.Url: = 'files / test_02.mp3';

    UnimVideo1.play;

×
×
  • Create New...