Reputation: 45
I have to integrate epub files in our existing ebook reader application by using ExpressPlay Sdk.
However, I am unable to get solution.
I got some idea by given link : https://www.expressplay.com/ebooks/
but it is still not able to integrate.
Any idea will be appreciated. Thanks in advance.
Upvotes: 3
Views: 1813
Reputation: 3523
We need to setup proper details while encrypting file. And need to use token for the decryption.
So here are the steps to follow :
1. Encryption using bento4 packaging tools : (You can find tools here : https://www.bento4.com/downloads/ ) :
mp4dcfpackager --method CBC --key CONTENT_KEY:00112233445566778899aabbccddeeff --content-id CONTENT_ID --content-type CONTENT_TYPE INPUT_FILE_PATH OUTPUT_FILE_NAME
Where,
2. Create a Marlin BB License Token (BB Token is used for offline validation):
Add following parameters from https://admin.expressplay.com/bblicensetoken/ :
Now, you can get an idea from the samples they provided in SDK that how to use this token file with project.
If you still have any confusion let me know. I've followed the same steps for android so it should work for iOS too.
Thanks.
Upvotes: 3