Firebot icon indicating copy to clipboard operation
Firebot copied to clipboard

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

Open CrowbarToolsRobot opened this issue 1 year ago • 5 comments

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.

CrowbarToolsRobot avatar Aug 30 '24 12:08 CrowbarToolsRobot

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.

CKY- avatar Sep 01 '24 13:09 CKY-

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.

simoniz0r avatar Sep 20 '24 22:09 simoniz0r

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

CKY- avatar Sep 21 '24 19:09 CKY-

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

simoniz0r avatar Sep 26 '24 15:09 simoniz0r

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

CKY- avatar Sep 26 '24 22:09 CKY-

Is there anything at all a user can do in Firebot to play a new clip via the new URL? I tried trimming the URL to just the ID as was suggested on Discord but it didn't work

NafenX avatar Dec 07 '24 03:12 NafenX

Is there anything at all a user can do in Firebot to play a new clip via the new URL? I tried trimming the URL to just the ID as was suggested on Discord but it didn't work

use the nightly it should be working in the nightly build nightly

CKY- avatar Dec 09 '24 11:12 CKY-

Is there anything at all a user can do in Firebot to play a new clip via the new URL? I tried trimming the URL to just the ID as was suggested on Discord but it didn't work

use the nightly it should be working in the nightly build nightly

Hmmm it just brought up a black screen with a buffering symbol for 1 second, then played 1 second of the clip, then stopped 😅 glad to see it's being fixed though, I'll just wait for the release version

NafenX avatar Dec 09 '24 22:12 NafenX

I don't think clips are working in Firebot at all now, but I might be incorrect.

MattyCanny avatar Feb 23 '25 12:02 MattyCanny