You need to sign in to do that
Don't have an account?
Ankit Saraiya 13
<iframe> in Visualforce page - Cross domain
Hi.. I am using <iframe> tag in my VF page and want to post doubts:
1) I am using src as bucket url - "https://bucketeer-8c4ead3e-9208-43cb-bb6c-f4a5cc3b597e.s3.amazonaws.com/......html/". I have set the X-Frame-Options to "Allow" for my bucket. Now when I use the above path as src, instead of showing the content of .html file it is directly getting downloaded and when I see the console, I find below:
"Resource interpreted as Document but transferred with MIME type application/octet-stream in iframe"
2) Since I was not able to get any positive solution on 1, I was trying to implement "http://jsfiddle.net/Y9beh/", however same doesnt work in my Salesforce instance.
Can anybody please comment on above mentioned points?
1) I am using src as bucket url - "https://bucketeer-8c4ead3e-9208-43cb-bb6c-f4a5cc3b597e.s3.amazonaws.com/......html/". I have set the X-Frame-Options to "Allow" for my bucket. Now when I use the above path as src, instead of showing the content of .html file it is directly getting downloaded and when I see the console, I find below:
"Resource interpreted as Document but transferred with MIME type application/octet-stream in iframe"
2) Since I was not able to get any positive solution on 1, I was trying to implement "http://jsfiddle.net/Y9beh/", however same doesnt work in my Salesforce instance.
Can anybody please comment on above mentioned points?
You can use this tag and put src url another vf page link like "/apex/testvf"