All Implemented Interfaces:
TagBase, AudioAttributable, Serializable, Cloneable

public class AutoPlay extends AbstractAttribute implements AudioAttributable
<element autoplay> A Boolean attribute; if specified (even if the value is "false"!), the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading.
Since:
1.0.0
See Also:
  • Constructor Details

    • AutoPlay

      public AutoPlay()
    • AutoPlay

      public AutoPlay(String value)
  • Method Details

    • setValue

      public void setValue(String value)
    • setValue

      public void setValue(boolean updateClient, String value)
      sets the value for this attribute
      Parameters:
      updateClient - true to update client browser page if it is available. The default value is true but it will be ignored if there is no client browser page.
      value - the value for the attribute.
      Since:
      2.1.15
    • getValue

      public String getValue()
    • init

      protected void init()
      invokes only once per object
      Since:
      1.0.0