Playing a swf video?

I'm having issues getting an SWF video to play in my plugin.

 

I'm attempting to update the outdated twitch.tv plugin from here: https://github.com/pejoo/Twitch.tv-Plex-Plugin

 

I'm having an issue getting it to stream the video plugin and I would like some help.

 

This link works 100% if I put it in my browser, but fails to work at all in the plugin.

 

http://www.twitch.tv/widgets/live_embed_player.swf?&channel=riotgames

 

If I add it to the plugin using:

 dir.Append(WebVideoItem(streamURL, title=stream['channel']['display_name'], summary=stream['channel']['status'], subtitle=subtitle, thumb=stream['channel']['banner'], duration=0))

it shows up how it should show up, but when I click on the video item it immediate reports "Channel is currently unavailable" and no other error messages are logged.

 

This is the important part of my site config.

 

site="http://www.twitch.tv/widgets/"

        plugin=“http://www.twitch.tv/widgets/live_embed_player.*.swf
        windowWidth=“1280”
        windowHeight=“752”
        agent=“Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.83 Safari/537.1”
        initialState=“playing”
        identifier=“com.plexapp.plugins.twitchtv”
        version=“2.0”>

Any help on figuring out how to get that url to stream properly would be appreciated.

Hi!

I guess is that duration is set to 0 in the WebVideoItem, try leaving that out.

Let it out. Same issue.

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