frankjonen
CDCloudflare Developers
•Created by frankjonen on 3/10/2024 in #pages-help
mp4 issue, files end up broken
I have a solution.
The video sequences now are on Netlify where they actually work.
I added a ternary in Astro that checks if it's
build
or dev
. If it's dev
it uses the mp4 files within the project. If it's build
, it uses the Netlify URL.31 replies
CDCloudflare Developers
•Created by frankjonen on 3/10/2024 in #pages-help
mp4 issue, files end up broken
I'm just tired of trying to optimise for the lowest stress possible on the network only to be shat on by tech again and again.
31 replies
CDCloudflare Developers
•Created by frankjonen on 3/10/2024 in #pages-help
mp4 issue, files end up broken
I'll just convert it to GIF, filesize be damned. If it's big, it's big.
31 replies
CDCloudflare Developers
•Created by frankjonen on 3/10/2024 in #pages-help
mp4 issue, files end up broken
It takes you 5 minutes. Probably would take me all day because I don't even know what it is at this point.
31 replies
CDCloudflare Developers
•Created by frankjonen on 3/10/2024 in #pages-help
mp4 issue, files end up broken
If just doesn't say that anywhere.
31 replies
CDCloudflare Developers
•Created by frankjonen on 3/10/2024 in #pages-help
mp4 issue, files end up broken
Oh crap. I moved to CF because AWS was getting too complicated. Now it's the same hell here too.
31 replies
CDCloudflare Developers
•Created by frankjonen on 3/10/2024 in #pages-help
mp4 issue, files end up broken
So what do I do now?
31 replies
CDCloudflare Developers
•Created by frankjonen on 3/10/2024 in #pages-help
mp4 issue, files end up broken
How can I add them?
31 replies
CDCloudflare Developers
•Created by frankjonen on 3/10/2024 in #pages-help
mp4 issue, files end up broken
According to ChatGPT, Safari requires range headers.
31 replies
CDCloudflare Developers
•Created by frankjonen on 3/10/2024 in #pages-help
mp4 issue, files end up broken
the range header thing would explain why it works locally from every device but not on CF. I'd hate to use GIF as that's around 10MB for looking OK or 4MB and looks crap.
31 replies
CDCloudflare Developers
•Created by frankjonen on 3/10/2024 in #pages-help
mp4 issue, files end up broken
Safari just has the 'damaged' play button and almost all of my users are on Safari (iOS, iPad OS).
31 replies
CDCloudflare Developers
•Created by frankjonen on 3/10/2024 in #pages-help
mp4 issue, files end up broken
MIME type is served correctly. No idea why it only plays in Brave.
31 replies
CDCloudflare Developers
•Created by frankjonen on 3/10/2024 in #pages-help
mp4 issue, files end up broken
I'm using pages but what do you mean by branches? Do I have to use GitHub for videos to work?
I can give you the URL of the file before I rolled back:
https://b66d368d.silverball.pages.dev/dmd/dmd_newsletter_01.mp4
The local Astro build worked and still works whether I run it from Astro or my Go server. The only thing that happened was that I deployed it with Wrangler.
The only browser I could get it work work was Brave, which discards MIME when detecting a filetype that it knows. So I thought it might be a MIME issue.31 replies
CDCloudflare Developers
•Created by frankjonen on 3/10/2024 in #pages-help
mp4 issue, files end up broken
"I'd do a preview build on another branch and look at console for any errors"
What does that mean? I works on the local install of Astro and when I run the generated code through a min web server I wrote in GOlang.
I don't get an "exact" error, it just doesn't load. When I go the the URL of the video directly, the play button is crossed out as if I had used an incompatible file.
Could it be a MIME issue? Last time I had video issues we were still dealing with QuickTime vs Windows Media when that was a thing. Since then it just sort of worked by itself.
31 replies
CDCloudflare Developers
•Created by Chaika on 4/28/2023 in #workers-discussions
The plugin documentation
I had no doubt the functions go with the page content. The docs only talk about them in isolation, never in context. It just seemed logical. Especially given that I tell wrangler which folder to use. I never thought it would use something outside of that folder. So strange. Glad it's working now though.
22 replies
CDCloudflare Developers
•Created by Chaika on 4/28/2023 in #workers-discussions
The plugin documentation
Damn what a ride. So glad it's finally working.
22 replies
CDCloudflare Developers
•Created by Chaika on 4/28/2023 in #workers-discussions
The plugin documentation
Boom! It uploaded. I tested. I got mail! Thank you so much for your patience. I really appreciate it.
22 replies
CDCloudflare Developers
•Created by Chaika on 4/28/2023 in #workers-discussions
The plugin documentation
yep
22 replies
CDCloudflare Developers
•Created by Chaika on 4/28/2023 in #workers-discussions
The plugin documentation
and now I'm getting errors. So that's progress. Does
Authentication error [code: 10000]
mean anything to you?22 replies
CDCloudflare Developers
•Created by Chaika on 4/28/2023 in #workers-discussions
The plugin documentation
that's where that comes from. I just copied it away so it's not in the way.
22 replies