WordPress.org

Ready to get started?Download WordPress

Forums

Live Stream Badger
Disable Stream Autoplay (5 posts)

  1. kxtlol
    Member
    Posted 1 year ago #

    How do I prevent live streams from autoplaying? I am currently using the shortcode on a sidebar text widget.

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

  2. Tadas Krivickas
    Member
    Plugin Author

    Posted 1 year ago #

    I will add a shortcode parameter to disable autoplay in the next version.

  3. Tadas Krivickas
    Member
    Plugin Author

    Posted 1 year ago #

    Try the latest dev version and see if it works for you: http://downloads.wordpress.org/plugin/live-stream-badger.zip

    Autoplay can be disabled by adding autoplay="false" to the shortcode.

  4. zeus05
    Member
    Posted 8 months ago #

    [livestream url="http://www.twitch.tv/channel" autoplay="false"]

    doesn't work

  5. zeus05
    Member
    Posted 8 months ago #

    Partially I fixed the problem, but i don't create a real solution. In my solution autoplay is always set on false. The string is wrong instead of & you have to add & # 0 3 8 ; (without the spaces). Additionally I deleted also the request, my flashvars value looks like this:
    value="hostname=www.twitch.tv&channel=' . $stream_summary->channel_name . '&auto_play=$autoplay' . '&start_volume=25"
    But the allocation auto_play=$autoplay doesn't work. The value is always false and I don't know why. Writing [livestream url="http://www.twitch.tv/channel" autoplay="false"] or [livestream url="http://www.twitch.tv/channel" autoplay="true"] seems to be wrong, because he don't write true or false in the variable. But I don't feel like fixing this problem, because I don't want autplay on true. So when anyone want to fix the problem I gave him a preperation. If anyone fixed the whole problem please post the answer ;).

    greets zeus

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.