crowbartools / Firebot

A powerful all-in-one bot for Twitch streamers
https://firebot.app
GNU General Public License v3.0
352 stars 100 forks source link

[Bug] Play Video effect Twitch clips are no longer functional #2768

Open CrowbarToolsRobot opened 4 weeks ago

CrowbarToolsRobot commented 4 weeks ago

Description

Since the Twitch clips update approximately 17 hours ago, the Play Video effect fails for Twitch clips created after the V2 migration.

Steps to Reproduce

  1. Create a new clip, or find a very recent one.
  2. Try to play it in a Play Video effect.
  3. Sob at the lack of clip.

    Expected Behavior

    The overlay to show the linked clip

    Firebot Version

    v5.63.2

    Submitted By

    phroggie

Created via Discord.

CKY- commented 3 weeks ago

im blocking this as it is not a firebot bug but more so a change by twitch in how they deliver the clips themselves. if twitch changes the way they deliver the clip then we can revisit this.

simoniz0r commented 1 week ago

FWIW, https://cobalt.tools/ is able to reliably fetch the actual video URL for clips, even V2. They have an API that could be used for playing clips if the 'Play Video' function allowed remote URLs as an input. https://github.com/imputnet/cobalt

:EDIT: Actually, the URLs returned by the above API can be played pretty easily in an iframe.

CKY- commented 1 week ago

the gql used in that github is off-limits to third party as per tos that is insightful though

simoniz0r commented 2 days ago

FWIW, I have had quite a few issues playing clips in the default embeds. Some clips play fine, but most clips created using the new clip method stutter and end up with the audio lagging behind the video. For example, this clip ends up with the audio lagging behind the video every time: https://clips.twitch.tv/embed?autoplay=true&clip=CrackyIcyCaribouCharlietheUnicorn-PKEW87m7_OzwSdes&parent=localhost as does this one: https://clips.twitch.tv/embed?autoplay=true&clip=TalentedLachrymoseKoupreyItsBoshyTime-Dg8opFs6fgk8UHdC&parent=localhost

https://github.com/user-attachments/assets/fcc3a159-912c-4e9f-8a2f-be2838fe19e8

CKY- commented 2 days ago

FWIW, I have had quite a few issues playing clips in the default embeds. Some clips play fine, but most clips created using the new clip method stutter and end up with the audio lagging behind the video. For example, this clip ends up with the audio lagging behind the video every time: https://clips.twitch.tv/embed?autoplay=true&clip=CrackyIcyCaribouCharlietheUnicorn-PKEW87m7_OzwSdes&parent=localhost as does this one: https://clips.twitch.tv/embed?autoplay=true&clip=TalentedLachrymoseKoupreyItsBoshyTime-Dg8opFs6fgk8UHdC&parent=localhost

lag.mp4

you need to report this to twitch