RGJ  
                
                  
                    December 28, 2024,  4:39pm
                   
                  1 
               
             
            
              Embedding a Twitch clip does not work, it somehow generates a bad parent parameter.
https://www.twitch.tv/paymoneywubby/clip/AmazonianMoralSwordCharlietheUnicorn-JoRQeBi1QJuyKfu2
At first I thought meta.tag had to do with Discourse Meta, but it’s the same value on every instance.
When you manually change the link into the actual hostname of the forum, the iframe will load.
A quick Google search leads me here , to another piece of software having the same issue, and the gist of that topic is
This suggests that it’s scraping the Twitch page for the Embed code. And is not replacing “meta.tag” with the correct parent.
 
Which seems to be the case here as well.
             
            
              5 Likes 
            
                
            
           
          
            
              
                Heliosurge  
                
                  
                    December 28, 2024,  9:10pm
                   
                  2 
               
             
            
              The link you posted above the pic.  Is that the one not loading the iframe?  When I created a post in my instance (Tests-passed) up to date it loads
https://www.twitch.tv/paymoneywubby/clip/AmazonianMoralSwordCharlietheUnicorn-JoRQeBi1QJuyKfu2
Here on Meta doesn’t load
Screenshot from my forum.
I thought it might have been added via the iftrane Theme component 
My dashboard for version
Additional info This is in my Google Pixel 8 Chrome
             
            
              
            
           
          
            
              
                RGJ  
                
                  
                    December 29, 2024, 12:00am
                   
                  4 
               
             
            
              
On my tests-passed instance (same commit as yours), I get a regular onebox when I paste that link, just like on your forum. But when I add ?foo (or any other query parameter) I get the behavior like here on Meta. So I guess that’s a second bug (or at least: something I don’t understand)
But anyway… that’s a regular onebox. I want an embedded player (and that’s what I get when I manually “fix up” the parent parameter in the  link through the dev tools inspector)
             
            
              1 Like 
            
            
           
          
            
              
                Heliosurge  
              
                  
                    December 29, 2024, 12:51am
                   
                  5 
               
             
            
              Is the clip a bit different than this
https://www.twitch.tv/videos/1845242876?tt_medium=mobile_web_share&tt_content=vodThe above works on my instance for twitch video.
Okay was able to repo.  As you said it is the clips that are not sharing correctly.  Full twitch videos seem fine.
Interesting bug.  I am wondering if it might be more on twitch’s side as Video works with player but the share clips doesn’t
             
            
              2 Likes 
            
            
           
          
            
              
                Falco  
              
                  
                    January 31, 2025,  4:54pm
                   
                  8 
               
             
            
              Testing formats
https://www.twitch.tv/jenandaliona/clip/CrispyFriendlyLobsterFeelsBadMan-MelPMGMLiS9GFKea?filter=clips&range=all&sort=time
https://clips.twitch.tv/CrispyFriendlyLobsterFeelsBadMan-MelPMGMLiS9GFKea
https://clips.twitch.tv/embed?clip=CrispyFriendlyLobsterFeelsBadMan-MelPMGMLiS9GFKea&parent=meta.discourse.org
Looks like all is done here.
             
            
              5 Likes 
            
            
           
          
            
              
                Falco  
              
                  
                    February 3, 2025, 11:00am
                   
                  9 
               
             
            
              This topic was automatically closed after 2 days. New replies are no longer allowed.