You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working with an API that has many videos, for example http://thvid-api.herokuapp.com/videos/game/THPS4 this is an array of about 300+ youtube videos, I am grabbing the position from each item, in a variable I store the "key" for each one of the videos so in the URL I have this: https://imgur.com/62leXW0
The way im using the youtube ext. is just by giving it your "regular" youtube link, so like this : "src": "https://www.youtube.com/watch?v={{ $thps4Video['ID'] }}"}],
This throws an error but I think the question needs to be, if I wanted to use the embedded piece of code from youtube, how can I do that with the extension? I would like to be able to display the correct video by passing the ID for each video and insert that on the youtube URL, hope that makes sense.
I am working with an API that has many videos, for example http://thvid-api.herokuapp.com/videos/game/THPS4 this is an array of about 300+ youtube videos, I am grabbing the position from each item, in a variable I store the "key" for each one of the videos so in the URL I have this: https://imgur.com/62leXW0
The way im using the youtube ext. is just by giving it your "regular" youtube link, so like this :
"src": "https://www.youtube.com/watch?v={{ $thps4Video['ID'] }}"}],
This throws an error but I think the question needs to be, if I wanted to use the embedded piece of code from youtube, how can I do that with the extension? I would like to be able to display the correct video by passing the ID for each video and insert that on the youtube URL, hope that makes sense.
https://codepen.io/eduardonwa/pen/YzNLevN
The text was updated successfully, but these errors were encountered: