Skip to main content

Recently Updated Pages

Uploading videos to Bunny Stream

Infrastructure (Non-AWS) Bunny Stream

The Bunny Stream documentation is a little vague, so here are instructions for using the API in P...

Updated 1 year ago by Ant

Preventing Hotlinking

Infrastructure (Non-AWS) BunnyCDN

To prevent other sites hotlinking to content (and eating up bandwidth), we can specify a list of ...

Updated 1 year ago by Ant

Setting up BunnyCDN for use with Amazon S3

Infrastructure (Non-AWS) BunnyCDN

Step 1: Create an IAM user with permissions to read from the S3 Bucket Create an IAM user which ...

Updated 1 year ago by Ant

IPv4 and IPv6 Configuration

Webserver Documentation

Test Environments All servers use IPv4. Live Environments Documentation and articles server ha...

Updated 1 year ago by Ant

FFmpeg

Useful Commands Reference

Concatenate two videos, fading to a second of black between them ffmpeg \ -i "yourvideo1.mp4" \...

Updated 1 year ago by Ant

Accessing DynamoDB within VPC-enabled Lambda functions

Infrastructure (AWS) DynamoDB

Updated 1 year ago by Ant

Bucket Lifecycle Rules

Infrastructure (AWS) S3

For public and protected buckets, add a lifecycle rule: - Filter with prefix "tmpuploads/"- Expi...

Updated 1 year ago by Ant

Compiling Node Binaries for ARM architecture (unused)

Infrastructure (AWS) Lambda

Note: this isn't used, as despite the lower cost, ARM has significantly lower performance for Des...

Updated 1 year ago by Ant

archiver

Third-party libraries Backend libraries

Homepage https://www.npmjs.com/package/archiver What is it? A Node.js library for simplifying ...

Updated 1 year ago by Ant

Stripe Billing

Third-party service providers Stripe

Homepage https://stripe.com/gb/billing What is it? Stripe's offering for recurring payments, l...

Updated 1 year ago by Ant

AWS Overview

Third-party service providers Amazon Web Services (AWS)

Homepage https://aws.amazon.com/ What is it? Amazon Web Services (AWS) is a cloud infrastructu...

Updated 1 year ago by Ant

Bunny Stream

Third-party service providers Bunny

Homepage https://bunny.net/stream/ What is it? A service for uploading and managing videos to ...

Updated 1 year ago by Ant

Turnstile

Third-party service providers Cloudflare

Homepage https://www.cloudflare.com/en-gb/products/turnstile/ What is it? A CAPTCHA alternativ...

Updated 1 year ago by Ant

Overview

Media Transcoding Videos: Dedicated Services

Most cloud providers have some form of dedicated transcoding service that is specifically designe...

Updated 1 year ago by Ant

Implementing an animated preview generator

Media Transcoding Videos: Serverless Code

Generating animated previews with ffmpeg The basic command for animated preview generation looks...

Updated 1 year ago by Ant

Using a pre-built video transcoding solution

Media Transcoding Videos: Overview

A lot of cloud providers, particularly CDN providers, offer some form of video streaming service,...

Updated 1 year ago by Ant

Considerations for displaying upload previews

Media Transcoding Videos: Overview

Depending on your use case, and how long it's acceptable for your users to wait, there's a few di...

Updated 1 year ago by Ant

Video Formats and Codecs

Media Transcoding Videos: Overview

Just like with images, choosing your video codec is a crucial performance and quality considerati...

Updated 1 year ago by Ant

Variable evaluation and race conditions

Language pitfalls JavaScript

Suppose we have some code like this: // elementsArray is an array of 10 jQuery objects for (let...

Updated 1 year ago by Ant

CloudFront

Third-party service providers Amazon Web Services (AWS)

Homepage https://aws.amazon.com/cloudfront/ What is it? AWS' CDN offering. Why did we choose ...

Updated 1 year ago by Ant