Foliovision › Forums › FV Player › How to … › Export encrypted videos
-
Hello,
I’m currently rebuilding my website. i’ve exported all FV_Player tables to new database as described in tutorial. Normal video play, but encrypted video don’t play in new site.
hlsjs-lite : Network error
Mime Type: text/htmlAccess to video forbidden (HTTP 403)!
Could you please help
Best regads
-
-
Hello Bruno,
Please make sure you move the wp-admin -> FV Player -> Settings -> Hosting -> BunnyCDN domain and key to the new website too.
Next please switch to the Beta release using the steps from here if you are not already using it: https://foliovision.com/player/basic-setup/switching-fv-player-pro-to-beta
Then go to wp-admin -> FV Player -> Settings -> Tools -> Encrypted Playback for 3rd Party Domains. There you need to enter your old website domain.
Otherwise the HLS streams will request the decryption keys from the old website which will not give it to the player.
Thanks,
MartinHello,
encrypted video don’t play after following your instructions-I moved BunnyCDN domain and key to the new website (see attached file)
-Switched to beta release (see attached file)
-Entered old website domain in FV Player -> Settings -> Tools -> Encrypted Playback for 3rd Party Domains. (see attached file)
Same error message :
hlsjs-lite : Network error
Mime Type: text/htmlAccess to video forbidden (HTTP 403)!
Please help
Hello Bruno,
Based on what I see you are not using the proper settings in https://dash.bunny.net -> Delivery -> CDN -> pick you zone -> Security -> S3 Authentication.
The key and secret which you enter there must be the same one as on https://cloud.digitalocean.com/account/api/spaces
The AWS Region Name must be something like ams3.digitaloceanspaces.com, depending on which region your Space is located in. You can see that on https://cloud.digitalocean.com/spaces by looking at the URLs.
Thanks,
MartinHello,
thank you, it worked.
Now i have an issue with the encryption. When i lauch it, i get the error message in attached file.
Error from S3-compatible endpoint: Error executind “ListObjects” on … encoded-videos… AWS HTTP error: Client error: ‘GET … resulted in ‘403 Forbidden’ response: …
InvalidAccessKeyId
Hello Bruno,
Since it mentions the “encoded-videos” Space and “InvalidAccessKeyId” you probably have invalid Access Key or “DigitalOcean Spaces Key” in wp-admin -> FV Player -> Coconut Jobs -> Settings -> “DigitalOcean Spaces Key”.
Like last time it has to be present on https://cloud.digitalocean.com/account/api/spaces
Thanks,
MartinHello Martin,
Encryption worked, but video doesn’t play. Actually encrypted video is stored on DigitalOcean while all the old ones are stored on Bunny.
In FV Coconut settings shouldn’t i have to enter Bunny details instead of DigitalOcean details ? (see attached file)Error message is : Server returned 403 Forbidden (access denied)
Access to video forbidden (HTTP 403)!Thanks
Hello Bruno,
When you say the encryption worked do you mean that the video took a while to encode and then it reported it’s done?
Can you actually add that video to FV Player as seen in step 4. here? https://foliovision.com/player/video-security/encoding/encrypt-encode-videos-wordpress I mean – does it show in the “Coconut” tab when picking the video for FV Player and does it show with the picture?
A test page with your failing video would be helpful too, please let us know.
Thanks,
MartinHello Bruno,
I see that the video URL is not rewritten to Bunny CDN. I’m not sure how did you end up with this setup.
It seems that you moved all the FV Player tables, but then run the FV Player Coconut wizard again and perhaps there’s some bug there.
Please make sure you are using FV Player 7.5.40.7212 which was released last week.
Then grab a fresh ZIP file of FV Player Coconut from https://foliovision.com/my-licenses
Finally append the following to wp-admin -> FV Player -> Settings -> Hosting -> DigitalOcean Spaces -> Space Name:
,...-new-encoded-videos-coconut
So currently you probably have something like this in place:
...-source-videos
And it should become:
...-source-videos,...-new-encoded-videos-coconut
Then the video should play.
If there’s still some issue, make sure wp-admin -> FV Player -> Settings -> Stream Loader -> “Enable” is checked.
Thanks,
Martin