Hi,
We understand that you want to hide the url. But we doubt the url will be visible in the final output. In short, if the plugin can load the PDF file, user can too! That’s a shortcoming of using PDF.js as rendering engine.
For testing try without dflip shortcode and use HTML.
<div class="_df_thumb" source="[amazon_s3 bucket=booksinpdf object=private/wp-content/uploads/2021/05/21113858/RaviJayagopal.pdf] > Open FLipbook</div>
https://dearflip.com/responsive-html5-flipbook-jquery-plugin/#popup-examples
Best Regards,
Deip
1:i tried the HTML shortcode that you provided above.
But the problem is: dflip not executing shortcode within the source. can you tell me the method how can i make shortcode to execute ?
2: you was saying that ” But we doubt the url will be visible in the final output” but that will not be a problem, if above code will execute within source. because above shortcode will generate signed url every time when it will get executed between source. so there will be no problem if url will still visible, it will work only once.
3: many users want to hide url from the public. Problem for every user will get solved. i will share the whole tutorial, how shortcode is working. that’s way kindly do something that shortcode within the above code get executed.
Hi,
A shortcode inside a shortcode tag won’t work. So this doesn’t work:
[dflip source=[amazon_s3 bucket=booksinpdf object=private/wp-content/uploads/2021/05/21113858/RaviJayagopal.pdf] type=”button”]Button[/dflip]
Have you really tried that?
so far we know that nested shortcode work if the shortcode are after the tags..
[dflip [next_shortcode] ][/dflip] won’t work
[dflip] [nextshortcode] [/dflip] works
As workaround we tried setting the url in flipbook post (PDF source).
http://[home_url]/wp-content/uploads/2021/05/glfw.pdf
using plugin
https://wordpress.org/plugins/basic-url-shortcodes/
and changed the output of that shortcode to remove http:// so that it would work with dflip.
Using a file handler as middlelayer is indeed a solution to stop unwanted PDF access. But the major issue had been IDM(Internet Download Manager), that can hijack the PDF in just one single attempt. There are ways to stop IDM too, but then partial loading stops!
We had been through these, tried and gave up and yet we love to help someone who is trying to find a solution.
Best Regards,
Deip