Sorry to ask this, Im new here, easy on me, and sorry for my bad english,
since I can't add video from another video hosting beside ytube, vimeo, and fb, is that possible to use blank html iframe to connect to a database?, Im searching it but I didn't find it, here is example my page
![](https://static.wixstatic.com/media/a27d24_b9bb481c59cc48b5a3ddf4c15bf4ab33~mv2.jpg/v1/fill/w_980,h_551,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/a27d24_b9bb481c59cc48b5a3ddf4c15bf4ab33~mv2.jpg)
so, I want to use that blank html iframe page to connect into database, so I can add embed code more easy in database, is that possible?
Hi Turdliyah, To assign a URL to an iframe form database, you can use query to get that link form the dataset. Ex :
wixData.query("datasetName") .eq("title","pageName") // get the record where title = pageName .find() .then( (results) => { $w("#html").src = results.items[0].url; //set the url of iframe(html) } ) .catch( (err) => { let errorMsg = err; } );
for more information, please take a look at Wix-Data api Hope this helps! Best, Mustafa