Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript outputting JSON parameters

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45204
    matthisco
    Participant

    Hi Folks,

    Can someone please tell me how I can output the parameters using javascript:

    {“id”:33305533001,”name”:”Vitiligo: Robert’s story”,”adKeys”:null,”shortDescription”:”Robert has vitiligo, which causes loss of skin colour.”,”longDescription”:null,”creationDate”:”1249991203914″,”publishedDate”:”1251283514629″,”lastModifiedDate”:”1335455445342″,”linkURL”:null,”linkText”:null,”tags”:[“conditions”,”SkinHairNails”,”ConditionsOtherConditions”,”SkinHairNailsSkin”],”videoStillURL”:”xxx”,”thumbnailURL”:”xxx.jpg?pubId=25938593001″,”referenceId”:”2317″,”length”:262400,”economics”:”AD_SUPPORTED”,”playsTotal”:58,”playsTrailingWeek”:0,”FLVURL”:”xxx.mp4″,”renditions”:[{“audioOnly”:false,”controllerType”:”DEFAULT”,”displayName”:”xxx.mov”,”encodingRate”:962000,”frameHeight”:576,”frameWidth”:1024,”id”:33330912001,”referenceId”:null,”remoteStreamName”:null,”remoteUrl”:null,”size”:31543863,

    using:

    var addy = jsonData[“items”][“FLVURL”][i];

    I get a undefined error. Any help much appreciated.

    Thankyou

    #137055
    matthisco
    Participant

    FIxed I used:

    var title = jsonData[“items”];
    innerHTML = title.FLVURL

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.