• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

OS recommendation

[Solved]

Foliovision › Forums › FV Player › How to … › OS recommendation

  • Daniel A. 8 years, 9 months ago

    I just bought the pro license to test the encrypted HLS options. The problem is that I use centos 7 and I get a message regarding Amazon AWS Decoder:
    Your PHP version must be Newer than 5.5.0

    I do not want to change the default PHP of the current server as I have several domains hosted. I am willing to setup a test cloud server, so here are my options other than cento OS: ubuntu, debian, opensuse, CoreOS and Arch Linux (the last 2 I have not heard before).
    Which OS will you recommend for best performance and package updates regarding apache-php-mysql?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Martin 9 years ago

    Hello Daniel,

    is your sites are all built on WordPress, then you shouldn’t have issues with switching from one PHP 5.x version to the another.

    For our servers we use Ubuntu 16 and PHP 7 is a must – if you have some time to check the error logs for any issues.

    Please let us know if you have any other questions.

    Thanks,
    Martin

    Daniel A. 9 years ago

    Hi Martin, I just cloned the server where the fv licensed domain was residing and then were able to find a distribution of php5.6 for centos 7 (for production purposes I may reimage to Ubuntu 16). I followed your guide and were able to play the encrypted HLS. I have some questions:
    1. I had to make the bucket available to the public in order for the player to access the encrypted video. What I do not like is that if you access the cloud front URL gives XML list of the bucket contents. Is there a way to prevent this?
    2. Regarding playing the encrypted HLS is there any player settings you recommend? (I noticed that if I check Enable HLS.js (beta):, mobile versions of chrome could not play the video)

    Thanks

    Martin 9 years ago

    Hello Daniel,

    1) For our test stream https://d15mkutvqd9ewt.cloudfront.net/20_gothic_avenue_live/index.m3u8 https://d15mkutvqd9ewt.cloudfront.net/20_gothic_avenue_live doesn’t list the files, but let me check with Eduard if he has similar issue.

    2) You can enable HLS.js and then check if the video plays for you in Google Chrome. We are working on improving the video checker to report missing CORS headers as these are requred for HLS.js to play HLS.

    Thanks,
    Martin

    Martin 9 years ago

    Hello Daniel,

    1) I see, you mean https://d15mkutvqd9ewt.cloudfront.net I solved that by removing “Everyone” from the bucket permissions. As long as the Bucket Policy has this in it it works:

    {
        "Version": "2008-10-17",
        "Id": "PolicyForCloudFrontPrivateContent",
        "Statement": [
            {
                "Sid": "1",
                "Effect": "Allow",
                "Principal": {
                    "AWS": "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity {id}"
                },
                "Action": "s3:GetObject",
                "Resource": "arn:aws:s3:::{bucket name here}/*"
            }
        ]
    }
    

    That policy is created by CloudFlare when setting the read permissions for the bucket.

    I’ll ask Eduard to add that into our documentationt.

    Thanks,
    Martin

    Daniel A. 9 years ago

    What you are saying is that I have to create IAM user that has read/list access to the bucket and then attach it to this policy as the principal. Also this user has to be added to the hosting settings of the player under cloudront (pro). Is my assumption correct?

    Martin 9 years ago

    Hello Daniel,

    if you create the CloudFront distribution for the bucket with HLS videos it will have all the required permissions for the bucket and you will be able to remove the permissions to list the bucket listing like I did.

    If you followed our guide and you already have CloudFront in place, then you can just remove the bucket read permission for “Everyone”.

    If you don’t have CloudFront, then it might require some more steps to make sure any new HLS videos are still playable without requiring you to set permissions to “Everyone” to “Read” for these new HLS videos.

    Thanks,
    Martin

    Daniel A. 9 years ago

    Yes, I have created the cloudfront distribution, but according to the HLS tutorial I did not grant permissions to it. Also when I try to add it (the arn) as principal, I get – principal not valid from AWS.

    Martin 9 years ago

    Hello Daniel,

    my suggestion would be to do it like in step 2. here: https://foliovision.com/player/video-hosting/serving-private-cloudfront#cloudfront -> “Grant Read Permission on Bucket”

    Thanks,
    Martin

Viewing 8 replies - 1 through 8 (of 8 total)
Reply To: OS recommendation



Please Sign in or Register to upload files.

Related Posts

  1. Laptops for Schools: Microsoft Windows, Apple or Linux

  2. How to flush DNS on Windows, Apple OS X and Linux

  3. Foliopress SSL

    Foliopress SSL

Primary Sidebar

How to …

    Categories

    • Business
    • Camera Reviews
    • Case Studies
    • Design
    • FV Player
    • Internet Marketing
    • IT
    • Life
    • SEO
    • Slovak
    • Video of the Week
    • WordPress

    Footer

    Our Plugins

    • FV WordPress Flowplayer
    • FV Thoughtful Comments
    • FV Simpler SEO
    • FV Antispam
    • FV Gravatar Cache
    • FV Testimonials

    Free Tools

    • Pandoc Online
    • Article spinner
    • WordPress Password Finder
    • Delete LinkedIn Account
    • Responsive Design Calculator
    Foliovision logo
    All materials © 2026 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
    • This Site Uses Cookies
    • Privacy Policy
    • Terms of Service
    • Site Map
    • Contact
    • Tel. ‭+421 2/5292 0086‬