Hi, Hope you are well
I tryed to follow the same example as this video:
which shows how to push a pdf stored on a collection to a html, in order to be visible for users.
This is my code… but when preview on both, edge and chrome, the contet of html is blocked.
Any ideas?
wixData . query ( “ProductDetails” ). eq ( “title” , productName ). find (). then (( results ) => {
let sourcePdf = results . items [ 0 ]. fichaPdf ;
$w ( “#linkSource” ). link = sourcePdf
let name = sourcePdf . split ( “/” )[ 4 ];
$w ( "#html1" ). src = ( `https://docs.wixstatic.com/ugd/ ${ name } ?` );
})