API check
The snippet tries to verify if the mail is okay or bad in general by reaching out to my/a backend.
Therefor the statuscode is important: return a 2xx
for okay, and a 4xx
with a message for not okay.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="aspect-ratio"> | |
<iframe | |
class="video" | |
:src="'https://www.youtube-nocookie.com/embed/' + data.videoUrl " | |
frameborder="0" | |
allow="autoplay; encrypted-media" | |
allowfullscreen | |
></iframe> | |
</div> |