";
const video = document.createElement("video");
video.src = videoSrc;
video.play();
\end{code}
This should embed the video in the page and play it automatically.
If you want to control the video playback, such as pausing or seeking to a specific time, you can use the `video` element's `pause()`, `play()`, `seekTo()` methods.
For example:
\begin{code}
const video = document.createElement("video");
video.src = videoSrc;
video.play();
// Pause the video
video.pause();
// Seek to a specific time in the video
video.seekTo(5); // Seek to 5 seconds into the video
// Play the video again
video.play();
\end{code
I hope this helps! Let me know if you have any other questions.