Question

I have been trying to call the renditions call back for the brightcove media API using the innerHTML = renditions. If I look into the console of the page it is making the call and giving me an array of each rendition. In my page where I call upon it though it returns [object Object] for each rendition and the FLVURL nor anything I can find will return the arrays in a http form or anyother type. Does anyone have any advise.

Was it helpful?

Solution

In php it might look like:

   foreach ($bc_video->renditions as $rendition){
      echo $rendition->url;
          ...
         }

to do this in jquery, this question might help.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top