Live Stream Badger
Disable Stream Autoplay (5 posts)

  1. kxtlol
    Posted 3 years ago #

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


  2. Tadas Krivickas
    Plugin Author

    Posted 3 years ago #

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

  3. Tadas Krivickas
    Plugin Author

    Posted 3 years 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
    Posted 2 years ago #

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

    doesn't work

  5. zeus05
    Posted 2 years 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

  • Live Stream Badger
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.