@edu-fe/reporter

    1.2.9 • Public • Published

    MediaReporter

    NativeMediaRepoter

    ###Args

    • target type { chapterId, wpsSid } 要上报的课程 Id,以及用户的 wpsSid
    • el enum { HTMLVideoElement, HTMLAudioElement } 绑定的媒体元素

    ###Usage

    import { NativeMediaReporter } from '@edu-fe/reporter'
    
    const target = {
      chapterId: '',
      wpsSid: ''
    }
    
    const el = document.getElementById('player')
    
    new NativeMediaReporter(target, el)

    Keywords

    none

    Install

    npm i @edu-fe/reporter

    DownloadsWeekly Downloads

    1

    Version

    1.2.9

    License

    NOLICENSE

    Unpacked Size

    6.1 MB

    Total Files

    14

    Last publish

    Collaborators

    • julywind
    • hungryyang
    • ccforeverd
    • shockw4ver