External Vimeo API

Hello!

I have searched the forums, but can’t find an exact answer to my question. I’m not sure if I need a custom looper provider or what, but I just can’t seem to get the data I need. I have set up the Vimeo External API with my Authorization headers, etc… I am able to pull the data in various ways and have finally gotten it drilled down pretty far, but I can’t seem to access the data I need. In this case, it’s the HLS link. I will send a private note with the access to the site so you can see what I’m talking about. Thank you for your help!!!

1 Like

Hey @mkench,

Thank you for the very detailed post information. I have checked the page and I could not find the HLS link in the JSON. Can you please point it out in a screenshot?

Cheers.

@ruenel — here is a screenshot for you from the bottom of the /work-2 page. This is pulling the hard-coded video ID “854391964” from the “Red Dress Test” video, but should be pulled dynamically after the feature is working via the “grid_video” acf field (just the ID instead of the full video URL).

Hello,

Couple of things. You were in Debug mode which requires another looper. In your setup that was causing issues. See the API tester “Sucess” div for more information about that.

You were also in “Raw” return mode, but I think that was confusion from the earlier issue. In that particular API you are going to loop over the files key. See the page you sent us for a sample usage of looped videos.

Have a great day.

1 Like

Thanks @charlie! After I saw what you did, I looked again at the Vimeo API Documentation for the video files and ended up using the “play” key and used {{dc:looper:field key=“hls.link”}} to pull the exact link I needed. I really appreciate your help!

1 Like

Hi @mkench,

Glad that we are able to help you.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.