WordPress.org

Ready to get started?Download WordPress

Forums

Live Stream Badger
Stream mini-embed when live? (16 posts)

  1. djquadrocks
    Member
    Posted 11 months ago #

    I installed the plugin and it seems to work great. Within the sidebar widget is there any way to display the actual stream if it's live?

    http://wordpress.org/plugins/live-stream-badger/

  2. Tadas Krivickas
    Member
    Plugin Author

    Posted 10 months ago #

    For single streams, you can use an embed shortcode in a text widget to display the embed. Check the installation page for shortcode documentation.

    Displaying actual streams in Stream status widget can be quite tricky in terms of page performance. Say I have 15 streams in the sidebar and they all are live at a given point of time. What would happen then?

  3. djquadrocks
    Member
    Posted 10 months ago #

    Yeah I'm just using it for 1. Would putting the shortcode inside the plugin if it detects the stream online work?

    Drupal has a plugin for this. If the stream is offline it either has offline like yours, or a thumnbail, if it's online it embeds a small stream with the volume off. I believe each stream is configurable as far as if it's live to embed the stream, so if you have 15 streams, no big deal. I think it also has a max number of streams to embed, so if you have 15 all online, it would only embed a couple.

  4. djquadrocks
    Member
    Posted 10 months ago #

    Also, isn't what I'm suggesting already on http://www.dota2.lt? 1 of the streams is online and there's an embed.

  5. Tadas Krivickas
    Member
    Plugin Author

    Posted 10 months ago #

    There's no embed there, but a live screencap (which updates time from time) - simply put, just an image. It can be set to display a screencap in widget options.

  6. djquadrocks
    Member
    Posted 10 months ago #

    Oh ok, so instead of a live screenshot, can it be an embed?

  7. Tadas Krivickas
    Member
    Plugin Author

    Posted 10 months ago #

    Could you deploy a demo of how Drupal renders it (live and non-live)?

  8. djquadrocks
    Member
    Posted 10 months ago #

    Yep I'll do a local install and install the plugin. I'll let you know when. :)

  9. djquadrocks
    Member
    Posted 10 months ago #

    ...Drupal is such a PITA. lol

    Instead see http://wikigameguides.com/Grand-Theft-Auto-5 - If you can catch it between 6 PM - 8 PM EST they livestream. Outside of those hours you'll see the offline icon.

    If you're considering feature requests for this, let me know and I can organize my requests in a much more organized way.. heh. I have some ideas how the display and admin could work.

    We really need a solid plugin for this. The other one doesn't work and it appears development has stopped. I'd be more than happy to make a donation as well.

  10. djquadrocks
    Member
    Posted 10 months ago #


  11. djquadrocks
    Member
    Posted 10 months ago #

    In case you missed the stream, I put a live screen cap at http://djquad.com/twitch-live-screen-cap.png

  12. djquadrocks
    Member
    Posted 10 months ago #

    Have you had a chance to take a look?

  13. Tadas Krivickas
    Member
    Plugin Author

    Posted 9 months ago #

    I have installed Drupal, media_twitch and all other required modules. Yet I'm struggling to setup a stream list and haven't been able to find any documentation on that module. Could you share any information how to do it?

  14. djquadrocks
    Member
    Posted 9 months ago #

    Does https://drupal.org/node/1832766 help?

    If not, it just checks to see if it's online likes yours and embeds HTML based on that.

    The default embed is -

    <object type="application/x-shockwave-flash" height="378" width="620" id="live_embed_player_flash" data="http://www.twitch.tv/widgets/live_embed_player.swf?channel=wikigameguides" bgcolor="#000000">
    <param name="allowFullScreen" value="true" />
    <param name="allowScriptAccess" value="always" />
    <param name="allowNetworking" value="all" />
    <param name="movie" value="http://www.twitch.tv/widgets/live_embed_player.swf" />
    <param name="flashvars" value="hostname=www.twitch.tv&channel=wikigameguides&auto_play=true&start_volume=25" /></object>
    Watch live video from WikiGameGuides on http://www.twitch.tv

    And the default chat is

    <iframe frameborder="0" scrolling="no" id="chat_embed" src="http://twitch.tv/chat/embed?channel=wikigameguides&popout_chat=true" height="500" width="350"></iframe>

    They're live now at the left column of http://wikigameguides.com/Grand-Theft-Auto-5/wiki/Online-Space-Docker-and-Car-Duplication-Glitch-24355 if you want to take a look.

  15. richconner
    Member
    Posted 9 months ago #

    I also would be interested in a "channel" list.

    Basically, 1 large screen with a list of twitch.tv streams are available. People on my site could then pick and choose which they want to watch at a given time, kind of like television.

  16. djquadrocks
    Member
    Posted 9 months ago #

    @Tadas, I think a much more simple solution for this is to simply check the stream's status like you're already doing.

    If it's online, include the content from an online page. If it's offline, include the content from an online page.

    That content from the online page could contain the status, the code for the embed, whatever they want.

    @rich, that's a great idea. I've seen that done "manually" where the channels were predetermined. The page consisted of 4 frames with a stream in each.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.