javascript - How to use big json databe in html -


hello i'm having issue database.json

what need database info (video id) 1000 , more items.

{  "contentdetails" : { "videoid" : "vez9qbnh5ik"  }, 

....... (there long useless line of code between) ......

 {     "contentdetails" : {       "videoid" : "_zfple3jbmg" 

at end have html string able convert info in format :

 <div style="position:relative;height:0;padding-bottom:56.25%">  <iframesrc="https://www.youtube.com/embed/**62szxub-ups**?ecver=2" width="640" height="360" frameborder="0" style="position:absolute;width:100%;height:100%;left:0" allowfullscreen></iframe></div> 

where 62szxub-ups become '$' , replace different video id items.

i'm not experienced in programming i'm trying learn. in advance help. federico


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -