문제

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.

도움이 되었습니까?

해결책

In php it might look like:

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

to do this in jquery, this question might help.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top