# How to Validate whether the video is played back?

\_eval('document.getElementsByClassName("jw-video jw-reset")\[0\].currentTime')

Look for the Video tag in the DOM and use the class or id of it.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/Rt6Sb9OGcMJDZSpz-2431f46c8e6f.png) ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/eKUJDcGRW7tY3Sy1-d7d4a3ef2615.png)<div id="bkmrk-last-updated%3A-june-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 26, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>