aboutsummaryrefslogtreecommitdiff
path: root/src/components/flash/flash.js
blob: f768ead804e39c3e3bd0c7eb479f186d79de8ada (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const Flash = {
  props: [
    'src'
  ],
  created: function () {
    this.$nextTick(function () {
      const ruffle = window.RufflePlayer.newest()
      const player = ruffle.createPlayer()
      const container = this.$refs.cunt
      container.appendChild(player)
      player.load(this.src)
    })
  }
}

export default Flash