Function infoAudio

  • Adds an audio player to the info stack.

    Using the infoUrl, infoAudio, infoText, and infoVideo events, media and text can be shown on the Info tab. Multiple entries can be active simultaneously and are arranged in a stack.

    Parameters

    • json: {
          autoplay: boolean;
          height: string;
          removeExisting: boolean;
          src: string;
          type: string;
      } = ...
      • autoplay: boolean

        if true, autoplay the audio

      • height: string

        the height specifying pixels or as a %

      • removeExisting: boolean

        if true, remove all existing content from the info stack

      • src: string

        a link to the audio media. Must be served using https:

      • type: string

        "audio"

    Returns void

    Example

    {
    type: "audio",
    src: "https://raw.githubusercontent.com/quasarframework/quasar-ui-qmediaplayer/dev/demo/public/media/Scott_Holmes_-_04_-_Upbeat_Party.mp3",
    height: "20px",
    autoplay: true,
    removeExisting: false,
    }