fix: support m.youtube.com subdomain links #27

Merged
verbiricha merged 3 commits from youtube-m into main 2023-01-10 16:39:48 +00:00
verbiricha commented 2023-01-10 14:56:56 +00:00 (Migrated from github.com)
https://snort.social/e/note1l8xjvck3cqa9ghlccf2vnsmdnp0vak7uam9h7uyqpzuggdrnj80qs0pfxq
cloudflare-pages[bot] commented 2023-01-10 14:57:58 +00:00 (Migrated from github.com)

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 236da05
Status:   Deploy successful!
Preview URL: https://40135bc6.snort-social.pages.dev
Branch Preview URL: https://youtube-m.snort-social.pages.dev

View logs

## Deploying with &nbsp;<a href="https://pages.dev"><img alt="Cloudflare Pages" src="https://user-images.githubusercontent.com/23264/106598434-9e719e00-654f-11eb-9e59-6167043cfa01.png" width="16"></a> &nbsp;Cloudflare Pages <table><tr><td><strong>Latest commit:</strong> </td><td> <code>236da05</code> </td></tr> <tr><td><strong>Status:</strong></td><td>&nbsp;✅&nbsp; Deploy successful!</td></tr> <tr><td><strong>Preview URL:</strong></td><td> <a href='https://40135bc6.snort-social.pages.dev'>https://40135bc6.snort-social.pages.dev</a> </td></tr> <tr><td><strong>Branch Preview URL:</strong></td><td> <a href='https://youtube-m.snort-social.pages.dev'>https://youtube-m.snort-social.pages.dev</a> </td></tr> </table> [View logs](https://dash.cloudflare.com/?to=/:account/pages/view/snort-social/40135bc6-e2c0-4963-b03b-ed1f891e34ef)
v0l commented 2023-01-10 15:00:42 +00:00 (Migrated from github.com)
How do we make this resize properly https://youtube-m.snort-social.pages.dev/e/note1l8xjvck3cqa9ghlccf2vnsmdnp0vak7uam9h7uyqpzuggdrnj80qs0pfxq
v0l commented 2023-01-10 15:05:04 +00:00 (Migrated from github.com)

How do we make this resize properly https://youtube-m.snort-social.pages.dev/e/note1l8xjvck3cqa9ghlccf2vnsmdnp0vak7uam9h7uyqpzuggdrnj80qs0pfxq

    display: block;
    margin: 10px auto;
    width: -webkit-fill-available;
    aspect-ratio: 16 / 9;
> How do we make this resize properly https://youtube-m.snort-social.pages.dev/e/note1l8xjvck3cqa9ghlccf2vnsmdnp0vak7uam9h7uyqpzuggdrnj80qs0pfxq ```css display: block; margin: 10px auto; width: -webkit-fill-available; aspect-ratio: 16 / 9; ```
v0l commented 2023-01-10 15:05:53 +00:00 (Migrated from github.com)

How do we make this resize properly https://youtube-m.snort-social.pages.dev/e/note1l8xjvck3cqa9ghlccf2vnsmdnp0vak7uam9h7uyqpzuggdrnj80qs0pfxq

    display: block;
    margin: 10px auto;
    width: -webkit-fill-available;
    aspect-ratio: 16 / 9;

image

> > How do we make this resize properly https://youtube-m.snort-social.pages.dev/e/note1l8xjvck3cqa9ghlccf2vnsmdnp0vak7uam9h7uyqpzuggdrnj80qs0pfxq > > ```css > display: block; > margin: 10px auto; > width: -webkit-fill-available; > aspect-ratio: 16 / 9; > ``` ![image](https://user-images.githubusercontent.com/1172179/211586984-75970610-03af-4561-bbdc-4260d73bdfd4.png)
v0l (Migrated from github.com) reviewed 2023-01-10 15:55:04 +00:00
@ -41,0 +40,4 @@
width: -webkit-fill-available;
aspect-ratio: 16 / 9;
}
v0l (Migrated from github.com) commented 2023-01-10 15:55:01 +00:00

It might be better to add w-max class to the iframe since this doesnt work on any non-webkit browsers

It might be better to add `w-max` class to the iframe since this doesnt work on any non-webkit browsers
verbiricha (Migrated from github.com) reviewed 2023-01-10 16:24:29 +00:00
@ -41,0 +40,4 @@
width: -webkit-fill-available;
aspect-ratio: 16 / 9;
}
verbiricha (Migrated from github.com) commented 2023-01-10 16:24:29 +00:00

Added in 236da05

Added in [236da05](https://github.com/v0l/snort/pull/27/commits/236da0561770a9ad9679f9ec2657e6c73b247221)
v0l (Migrated from github.com) approved these changes 2023-01-10 16:39:38 +00:00
Sign in to join this conversation.
No description provided.