Add WK api to get capture attribute for supporting HTML media capture