S3Bubble streaming problems
I've now tried 3 times to set up video streaming on my WP membership site using S3Bubble trial account, Amazon Cloudfront, and the S3Bubble plugin.
Each time I have tried I have started from scratch - deleting all Amazon users, distributions, etc. I've followed the instructions on S3Bubble but, whilst my videos are showing on the page, they are certainly not streaming.
I have used the shortcode format as follows:
s3bubbleVideoSingle bucket="xxxxxx" track="001.mp4" style="plain" Cloudfront="XXXXXXXXXXXXXX" - in square brackets
Looking at the S3Bubble forum, others are having the same problem, and one of the replies says that they are bringing out a plugin later this year to deal with Cloudfront, but I'd like to solve this as soon as possible.
I just went over to my post about S3Bubble and took a gander at my code.
Here's what I have:
s3bubbleVideoSingle bucket="xxxxx" track="true-love.mp4" cloudfront="XXXXXXXXXXX" autoplay="false" download="false" (in brackets)
So, pretty much the same shortcode that you have.
A few things to troubleshoot:
1. Is your CloudFront RTMP distribution enabled?
2. Is your CloudFront Download distribution enabled?
3. Have you set the video permissions to 'public'? (they're not public by default)
Also, since I wrote that post on S3Bubble, they started charging for their service.
But there's actually another really solid video plugin that's free called FV FlowPlayer.
I actually prefer it over S3Bubble for simple applications.
You can check it out at https://foliovision.com/player
I've tested it on client websites and it works really well.
Thanks Vic. I'll check out your suggestions. I don't mind paying for the S3Bubble service as long as it works!
I certainly have CloudFront RTMP distribution enabled, but not sure about your other 2 suggestions. Where do I check these settings?
I will definitely also look into FV FlowPlayer as an alternative.
Thanks for your help. It's very much appreciated.
1. To create a CloudFront download distribution it's the same process as creating an RTMP distribution.
You simply go to CloudFront, create distribution, select the bucket, select download distribution and then create.
It takes about 15 minutes to propagate.
2. To set permissions go to S3, go to your bucket, select your video file and then you'll see a checkbox for permissions.
Make sure to set it to 'make everything public'.
Obviously this means the file is now available for unprotected download.
For most applications this is sufficient.
However, if you really need to secure the file so that it's only viewable within the video player (and not downloadable), then it's a different and more involved process, especially if you're using RTMP streaming as well.