我必须在打开视频时跟踪事件(点击大按钮) . 我显示关于“技术点击”的结果,但它没有点击大按钮 .
player = amp(randomId, <any>{
techOrder: ["azureHtml5JS", "flashSS", "html5FairPlayHLS", "silverlightSS", "html5"],
"nativeControlsForTouch": false,
"logo": { "enabled": false },
controls: true,
width: attrs.width,
height: attrs.height,
autoplay: scope.autoplay,
poster
});
player.addEventListener("tech-click", () => {
appInsights.trackEvent("homeVideo");
});
1 回答