amplitudejs icon indicating copy to clipboard operation
amplitudejs copied to clipboard

iOs visualizations

Open culbrique opened this issue 5 years ago • 2 comments

Hi I had the same problem as described here: https://github.com/521dimensions/amplitudejs/issues/418 My site uses a simple visualization and switches on when the play button is activated. With the previous version, it worked very well on safari / firefox / chrome with the visualization except on iOS: the sound and the visualization did not work.

I waited for the latest version (5.0.3) to see if it would be better. Indeed, the sound works on iOs with this version, but not the visualization.

Steps to reproduce the issue

Check out on this url : https://lachambredouie.com/ (still the previous version)

What is expected?

Would like it to work with both visualization and sound on iOs :)

BTW, this is what the code looks like :

$.getJSON('projets/api', function(getTrack) {
   $.each(getTrack, function(i, songs) {
   });
   Amplitude.init({
      "bindings": {
         32: 'play_pause',
      },
      debug: false,
      continue_next: false,
      preload: "none",
      visualizations: [
    {
      object: FrequencyAnalyzerVisualization,
      params: {
        type: 'single'
      }
    }
  ],
      "songs": getTrack,
      "callbacks": {
         'play': function(){
         },
         'initialized': function(){}
      }
   });
   

});

culbrique avatar May 31 '20 17:05 culbrique

We just released AmplitudeJS 5.1 last week. Can you upgrade and see if you are still having the issue?

jaydrogers avatar Jun 01 '20 14:06 jaydrogers

Thanks for your reply I've just set a test url here with 5.1 version : https://lachambredouie.com/test/ The sound is playing well, but not the visualization, same thing on iOS.

culbrique avatar Jun 01 '20 16:06 culbrique