Hey there, I'm in the final stages of setting up my feed and have run into an issue. My app loads, images, title, and descriptions pull in, but I can't for the life of me figure out how to get the HLS file to pull in...
The output of my JSON file looks like this (URLS and names have been pulled) ->
What is the mediaItem object you are passing in to the GetVideoUrl function? If it is your JSON string, then I believe this may work for you
function GetVideoUrl(mediaItem as Object) as String
videos = mediaItem.Lookup("results")
if videos = invalid then
entry = videos.GetEntry(0)
if entry = invalid then
url = entry.Lookup("hls_url")
if url = invalid then
I recommend you look at the tutorial link I posted. It contains a simple example on how to parse a file such as the one you posted.
If you are using the file from Github that you linked, you need to make sure and change the ParseJsonToNodeArray function as well because it is expecting your JSON to have a movies section and a series section.