Hi all,
so, I've got this scenario
I've embedded some mp3's into the App as media.
The infomation regarding the mp3's is being pulled from a SQL table into a collection, which includes the filename of the mp3's embedded into the app.
ClearCollect(podcastList,SortByColumns(Filter('[dbo].[t_podcasts]',live=1),"dateloaded",Descending))
This is then displayed in a gallery with a click through action of:
Set(selectedProcess, ThisItem);
Navigate(Screen3,ScreenTransition.UnCover)
In Screen3, I've an audio player and have set the Media as selectedProcess.filename - I've also set up a text file with this as the value, to make sure I'm bringing the correct data through.
When I run it, I get my gallery, I click through and the correct filename is shown in the text box, but the media item won't play. Now, I suspected that as the app wasn't actually referencing the mp3's when published, it wasn't including them in the download. To test this, I added a hardcoded media item, which works, however, referencing the same mp3 dynamically doesn't.
So, I'm now a tad confused. Firstly, I think I do need to force the app to publish with the mp3's embedded, even though they aren't used...how do I do that? And secondly, why isn't the dynamic update of Media working?
Any help gratefully received!
Phil