Skip to content

Commit b399b15

Browse files
fix(blog): replace broken video iframes with Youtube component (#7729)
Blog posts used iframes pointing to local file paths (e.g. /blog/.../imgs/vXvfrfqqDbU) instead of YouTube URLs. These local files were saved YouTube HTML pages served without a proper Content-Type, causing browsers to download them instead of rendering. Replaced with the existing <Youtube> component and deleted the stale HTML files. Affected posts: - from-rust-to-typescript-a-new-chapter-for-prisma-orm - iopool-customer-success-story-ulscwvaqzxoa - watch-prisma-day-talks-z11sg6ipb3i1
1 parent 7a5b77c commit b399b15

6 files changed

Lines changed: 5 additions & 50 deletions

File tree

  • apps/blog
    • content/blog
      • from-rust-to-typescript-a-new-chapter-for-prisma-orm
      • iopool-customer-success-story-ulscwvaqzxoa
      • watch-prisma-day-talks-z11sg6ipb3i1
    • public
      • from-rust-to-typescript-a-new-chapter-for-prisma-orm/imgs
      • iopool-customer-success-story-ulscwvaqzxoa/imgs
      • watch-prisma-day-talks-z11sg6ipb3i1/imgs

‎apps/blog/content/blog/from-rust-to-typescript-a-new-chapter-for-prisma-orm/index.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ This may have been only a sentence in our post, but it has caused quite a few re
3737
<TweetEmbedComp tweets={['1863837970471784924']}/>
3838
For example we really loved this video from Theo:
3939

40-
<p><iframe width="560" height="315" src="/blog/from-rust-to-typescript-a-new-chapter-for-prisma-orm/imgs/vXvfrfqqDbU" title="" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowFullScreen></iframe></p>
40+
<Youtube videoId="vXvfrfqqDbU" />
4141

4242
All in all, these are pretty reasonable reactions. The Rust query engine has been with Prisma ORM since the beginning. The discussion we have seen online has been great, but we also wanted to step in and provide some updates as our TypeScript implementation approaches Early Access.
4343

‎apps/blog/content/blog/iopool-customer-success-story-ulscwvaqzxoa/index.mdx‎

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,6 @@ To find out more about how iopool was successful with Prisma, and to learn more
7676

7777
- [Learn more about iopool](https://iopool.com/en/)
7878
- [Join the Prisma Community for updates](https://slack.prisma.io/)
79-
- [Watch Luc Matagne's talk at a recent Prisma Meetup](/iopool-customer-success-story-ulscwvaqzxoa/imgs/mWvroX_lkZI)
80-
81-
<iframe
82-
width="560"
83-
height="400"
84-
src="/blog/iopool-customer-success-story-ulscwvaqzxoa/imgs/mWvroX_lkZI"
85-
title="YouTube video player"
86-
frameborder="0"
87-
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
88-
allowfullscreen
89-
/>
79+
- [Watch Luc Matagne's talk at a recent Prisma Meetup](https://www.youtube.com/watch?v=mWvroX_lkZI)
80+
81+
<Youtube videoId="mWvroX_lkZI" />

‎apps/blog/content/blog/watch-prisma-day-talks-z11sg6ipb3i1/index.mdx‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,7 @@ With [Peter van Hardenberg](https://twitter.com/pvh) MCing the conference, Prism
3838

3939
📺 You can find the full list of talks in the associated YouTube playlist:
4040

41-
<iframe
42-
width="560"
43-
height="400"
44-
src="/blog/watch-prisma-day-talks-z11sg6ipb3i1/imgs/videoseries"
45-
frameborder="0"
46-
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
47-
allowfullscreen
48-
/>
41+
<Youtube videoId="videoseries?list=PLn2e1F9Rfr6k7Xy9MLV-1wJG0bh7vzz-p" />
4942

5043
---
5144

‎apps/blog/public/from-rust-to-typescript-a-new-chapter-for-prisma-orm/imgs/vXvfrfqqDbU‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎apps/blog/public/iopool-customer-success-story-ulscwvaqzxoa/imgs/mWvroX_lkZI‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎apps/blog/public/watch-prisma-day-talks-z11sg6ipb3i1/imgs/videoseries‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)