Closed elalekey closed 4 years ago
Hi again! haha
Try this:
items: [
{
src: 'http://xyz.cloudfront.net/xyz.pdf?Expires=1591994230&Policy=eyJTDXYZBLABLABLABLABLALONGBLABLALIKE5109CHARS&Key-Pair-Id=APKAXYZAMXYZ',
mediaType: 'iframe'
}
]
I have to update the docs with an example like this one.
Works.. Love you so much
Hey, @lucaspulliese , it's me again, xD. If I use a signed Amazon URL with Cloudfront like this...
http://xyz.cloudfront.net/xyz.pdf?Expires=1591994230&Policy=eyJTDXYZBLABLABLABLABLALONGBLABLALIKE5109CHARS&Key-Pair-Id=APKAXYZAMXYZ
and I pass it by property "iframe" or "pdf" this keeps rendering it to me as an image. I tried to use the srcMediaType but nothing, it doesn't work