logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git

video_attachment.vue (355B)


  1. <template>
  2. <video
  3. class="video"
  4. preload="metadata"
  5. :src="attachment.url + '#t=0.00000000000001'"
  6. :loop="loopVideo"
  7. :controls="controls"
  8. :alt="attachment.description"
  9. :title="attachment.description"
  10. playsinline
  11. @playing="onPlaying"
  12. @pause="onPaused"
  13. />
  14. </template>
  15. <script src="./video_attachment.js"></script>