Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

148
Views
cómo habilitar y ejecutar video en modo de imagen en imagen después de cargar el documento

Quiero hacer eso cuando el usuario inicie sesión con éxito en la siguiente página abierta o pestaña, se iniciará automáticamente el video en el modo de imagen en la imagen, pero cuando intento con este código a continuación no funciona:

 <div class="col-md-12"> <video loop="1" autoplay="1" muted="" id="video" controls="" style="width:550px;height:350px;" src="https://rawcdn.githack.com/Freshman-tech/custom-html5-video/911e6fbfc39d670cb26e94d6f3013b9426f4a679/video.mp4"> </video> </div> <script> var video = document.getElementById('video'); if ('pictureInPictureEnabled' in document) { document.addEventListener('click', () => { video.requestPictureInPicture() .catch(error => { console.warn("Your Browser does not support picture in picture"); }); }); } video.addEventListener('enterpictureinpicture', () => { video.play() }); video.addEventListener('leavepictureinpicture', () => { video.play(); }); window.onload = () => document.querySelector("body").click(); </script>

d

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!