video analytics tracking
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
<template>
|
||||
<div style="margin-top: 1.5em; margin-bottom: 1.5em;">
|
||||
<!-- NOTE: add ?autoplay=1 to the src query string-->
|
||||
<iframe style="display: inline-block" width="560" height="315" :src="`https://www.youtube.com/embed/${idAndSi}&autoplay=${autoplay?'1':'0'}`" title="Dexorder on YouTube" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
|
||||
<!-- NOTE:
|
||||
add ?autoplay=1 to the src query string
|
||||
add enablejsapi=1 to query to allow video play tracking in the page's Google Analytics
|
||||
-->
|
||||
<iframe style="display: inline-block" width="560" height="315" :src="`https://www.youtube.com/embed/${idAndSi}&enablejsapi=1&autoplay=${autoplay?'1':'0'}`" title="Dexorder on YouTube" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user