diff --git a/README.md b/README.md index 056a92f..ebdba6c 100644 --- a/README.md +++ b/README.md @@ -53,18 +53,18 @@ Don't want all that statistic clutter on your embed and only want the video or i We check all the boxes for being one of the best TikTok embedding services with many features that others don't have. Here's a table comparing our service, tnktok.com, with the other TikTok embedding services as well as TikTok's default embeds. -| | [tnktok.com](https://www.tnktok.com) | Default TikTok | [tiktxk.com](https://tiktxk.com) | [vxtiktok.com](https://vxtiktok.com) | [tfxktok.com](https://tfxktok.com) | -|---------------------------------------- |--------------------------------------------------- |---------------- |---------------------------------- |------------------------------------------------------------------------------ |------------------------------------ | -| Embed playable videos | ☑️ | ❌ | ❔ | ☑️ | ☑️ | -| Embed multi-image slideshows | ☑️ | ❌ | ❔ | [❌](https://github.com/dylanpdx/vxtiktok/issues/142#issuecomment-2128030983) | ☑️ | -| Embed lives | ☑️ | ➖ | ❌ | ❌ | ☑️ | -| Open source | ☑️ | ❌ | ☑️ | ☑️ | ❌ | -| Supports direct embeds | [➖](https://github.com/okdargy/fxTikTok/issues/9) | ❌ | ❌ | ❌ | ❌ | -| Shows like, shares, comments | ☑️ | ➖ | ➖ | ☑️ | ☑️ | -| Removes tracking for redirects | ☑️ | ❌ | ☑️ | ☑️ | ☑️ | -| Support for multi-continent short URLs | [☑️](https://github.com/okdargy/fxTikTok/issues/5) | ☑️ | ☑️ | ☑️ | ❌ | -| Support for h265/high quality | ☑️ | | ❔ | ❌ | ❌ | -| Last commit | [![][tnk]][tnkc] | N/A | [![][txk]][txkc] | [![][vxt]][vxtc] | | | N/A | +| | [tnktok.com](https://www.tnktok.com) | Default TikTok | [tiktxk.com](https://tiktxk.com) | [vxtiktok.com](https://vxtiktok.com) | [tfxktok.com](https://tfxktok.com) | | | +| -------------------------------------- | -------------------------------------------------- | -------------- | -------------------------------- | ----------------------------------------------------------------------------- | ---------------------------------- | --- | --- | +| Embed playable videos | ☑️ | ❌ | ❔ | ☑️ | ☑️ | | | +| Embed multi-image slideshows | ☑️ | ❌ | ❔ | [❌](https://github.com/dylanpdx/vxtiktok/issues/142#issuecomment-2128030983) | ☑️ | | | +| Embed lives | ☑️ | ➖ | ❌ | ❌ | ☑️ | | | +| Open source | ☑️ | ❌ | ☑️ | ☑️ | ❌ | | | +| Supports direct embeds | [➖](https://github.com/okdargy/fxTikTok/issues/9) | ❌ | ❌ | ❌ | ❌ | | | +| Shows like, shares, comments | ☑️ | ➖ | ➖ | ☑️ | ☑️ | | | +| Removes tracking for redirects | ☑️ | ❌ | ☑️ | ☑️ | ☑️ | | | +| Support for multi-continent short URLs | [☑️](https://github.com/okdargy/fxTikTok/issues/5) | ☑️ | ☑️ | ☑️ | ❌ | | | +| Support for h265/high quality | ☑️ | ❌ | ❔ | ❌ | ❌ | | | +| Last commit | [![][tnk]][tnkc] | N/A | [![][txk]][txkc] | [![][vxt]][vxtc] | N/A | | | [tnk]: https://img.shields.io/github/last-commit/okdargy/fxTikTok?label [tnkc]: https://github.com/okdargy/fxTikTok/commits diff --git a/src/index.ts b/src/index.ts index f269ebb..79ae897 100644 --- a/src/index.ts +++ b/src/index.ts @@ -211,7 +211,8 @@ app.get('/generate/alternate', (c) => { app.get('/generate/video/:videoId', async (c) => { const { videoId } = c.req.param() - const forceLow = c.req.query('h264') === 'true' || c.req.query('encoder') === 'h264' || c.req.query('quality') === 'h264' + const forceLow = + c.req.query('h264') === 'true' || c.req.query('encoder') === 'h264' || c.req.query('quality') === 'h264' try { // To ensure the video is valid, decrease load on TikWM by checking the video data first