Skip to content

Commit

Permalink
chore: run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
okdargy committed Aug 9, 2024
1 parent 3ebe360 commit 6dd401b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6dd401b

Please sign in to comment.