# autoPlay

Type: \<boolean\>\
Default: true

Determine if the media will automatically start playing as soon as it can do so without stopping.

-

  React



-

  Vue



-

  Jekyll



-

  Vanilla



    <template>
      <Microlink
        url="https://www.youtube.com/watch?v=9P6rdqiybaw"
        media="video"
        :auto-play="true"
      />
    </template>

To control the media just hover with your cursor.

[](https://www.youtube.com/watch?v=9P6rdqiybaw)

The default behavior is to start the media playing; You can change that by passing `autoPlay: false`.

-

  React



-

  Vue



-

  Jekyll



-

  Vanilla



    <template>
      <Microlink
        url="https://www.youtube.com/watch?v=9P6rdqiybaw"
        media="video"
        :auto-play="false"
      />
    </template>

[](https://www.youtube.com/watch?v=9P6rdqiybaw)