Hi Marina,
I sent details in email to: a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a
Hi Marina,
I sent details in email to: a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a
Hi Don,
Thank you. We got details, I will update.
In Audio component properties, tick "Auto Play".
On image click, JavaScript that we adviced runs.
Replace it with the following code:
codevar cell = $(this).parents('.cell-wrapper');
var vmailurl = $('[name="voicemail_msg_link"]', cell).eq(0).text();
var player = $('[name="voicemail_player"]');
player.empty();
player.append('<source src="'+ vmailurl +'" type="audio/wav">');
player[0].play();
/code
Hi Katya,
Sorry... still nothing happens.
I replaced with your above code and ticked Auto Play in the audio component.
I have re-confirmed that the full URL is in voicemail_msg_link.
I have also re-confirmed that the url does return and play the wav file when visited directly.
Hello! On page Voicemail:
1) check Auto Play for voicemail_player;
2) on Complete REST_voicemail run JS:
codeTiggzi('voicemail_player').eq(0).empty();/code
3) on Click event on image (with dynamic) run JS code:
codevar cell = $(this).parents('.cell-wrapper');
var vmailurl = $('[name="voicemail_msg_link"]', cell).eq(0).text();
var player = Tiggzi('voicemail_player').eq(0);
player.empty().append('<source src="'+ vmailurl +'" type="audio/wav">');
player[0].play();
showSpinner();
player.on('canplay', function () {
hideSpinner();
});/code
Sorry, that does not work either.
Now I get a shaded white overlay and an endless wait circle.
The entire app seems to crash and I have to exit out of it.
Even going back to the main page still has the white overlay and endless wait circle.
Hi Don,
On what browser and what device do you test your app?
Also... http://developer.android.com/intl/ru/...
Here is the table that contains the list of audio formats supported by Android.
i.e. if file is not played on device then Android version is not appropriate.
Hi Katya,
wav files are clearly supported and you have re-confirmed this in the link provided.
I also know wav files work, as one of the issues above was that it would only play the first url know matter which was selected.
Anyways... as this was clearly not working... I changed the design and now use a popup to play the audio file. This works.
If you ever get the other to work, it is the preferred method, instead of having popup.