• Plugin Author Nicolas Bernier

    (@nicolasbernier)


    The plugin has been updated to 1.4.0

    You can now embed a Twitch stream player using short codes!

    To insert a video player without the chatbox, use shortcode [twitch-player channel=”CHANNEL_NAME”]. With the chatbox, use shortcode [twitch-player channel=”CHANNEL_NAME” chat=”true”]. Replace CHANNEL_NAME with the name of a channel you have previously configured in the settings.

    You can also embed the chat only using [twitch-chat channel=”CHANNEL_NAME”] or just the status tag with [twitch-status channel=”CHANNEL_NAME”]

    For advanced users

    You can now use HTML5 data attributes to create content that is dynamically updated by your stream data. Check the example below and the JSON object returned by admin-ajax.php to learn more about the available data.

    <span data-twitch-channel="hearthstonefr" data-twitch-data="stream-viewers"></span> people are actually watching this.
    
    <span data-twitch-channel="hearthstonefr" data-twitch-data="playingHTML"></span>.
    
    <p data-twitch-channel="hearthstonefr" >
    	<img data-twitch-channel="hearthstonefr" data-twitch-attr-channel-logo="src" data-twitch-attr-channel-status="title,alt" />
    	<span data-twitch-data="stream-game"></span>
    </p>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thanks for your update.

    Is there a way to remove Twitch Status buttons from the toolbar when writing an article?

    Thanks

    Hello,

    I hope plugin still be actual, because one of the most plugin with good funnctions..of course i have question about shortcode: [twitch-player channel=”NAME” chat=”false”],

    is there idea to make video clicable? I mean default setting seems have “autoplay” when i have more videos, its horrible when 10 channels have autoplay hihi.

    Thanks for a small tip ??

    PS: Sorry for my eng.

    • This reply was modified 7 years, 8 months ago by glados.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘1.4.x update!’ is closed to new replies.