My Wordpress Twitch plugin is not working anymore

Problem solved, thank you !

My Wordpress Twitch plugin is not working anymore.
Maybe someone can help me make it functional again? The developer of this plugin is no longer reachable. The one who tells me how I can bring it back to the one I like to send the full program on request.

What exactly is not working? (Error message, no streaming being returned, etc.)

Also, please post the actual code of the Twitch class to Pastebin or similar. It’s very difficult to provide assistance with only an image of the code.

1 Like

The Video Streams are no longer displayed.The chat and the Thumbnails to the streams are still working fine.

https://pastebin.com/HST683mP

All of the <object> tags should be changed to the supported iframe embed method, and in streamVideo the URL should be https://player.twitch.tv/?channel=$channel, and not www.twitch.tv/$channel/embed

$final .= "<iframe src=\"https://player.twitch.tv/?channel=$channel\" height=\"606\" width=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"yes\"></iframe>"

if I insert this changed line in exactly the same way, the website crashes immediately.I will upload the whole plugin now, maybe someone will get that thing working again. That would be really great

probably need a ; at the end of the line. something like:

$final .= "<iframe src=\"https://player.twitch.tv/?channel=$channel\" height=\"606\" width=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"yes\"></iframe>";

I love You :heart_eyes: it worked !
the tip from another User 3ventic β€œstreamVideo the URL should be
https://player.twitch.tv/?channel=$channel, and not www.twitch.tv/$channel/embed” and only this little missing part β€œ;”

Only you noticed! You are a genius, Thank you !
If you want I send you a link to the full WPplugin :sunglasses:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.