import { Plugin } from "white-web-sdk" ; import { PluginContext , WhiteVideoPluginAttributes } from "./types" ; import { WhiteVideoPlugin } from "./WhiteVideoPlugin" ; example export const videoPlugin2 = Object . freeze ( { kind : "video2" , render : WhiteVideoPlugin , defaultAttributes : { src : "" , hostTime : 0 , currentTime : 0 , paused : true , muted : false , volume : 1 , } , hitTest ( plugin ) { const memberState = ( plugin as any ) . component . context . getMemberState ( ) ; return ! ( memberState ?. currentApplianceName === "eraser" ) ; } , } ) ;