Wednesday 18 July 2018

How to place audio outside of datatable?

Alloy Audio UI example is provided in https://alloyui.com/examples/audio/real-world

Data table row click can be achieved via

$('#mp3table').on( 'click', 'tbody tr', function () {
  var rowData = table.row( this ).data();

  // can modify the audio player's source here
  ...

  audio.play();
} );

I would like to place the audio outside of the datatable and cannot find a way to do it.



from How to place audio outside of datatable?

No comments:

Post a Comment