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

137
Views
javascript se ejecutará solo en la vista móvil

Quiero hacer esto como javascript móvil, ejecuto este código pero en la vista de computadora portátil macbook safari también se está ejecutando

 if( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ) { function scrollFinished() { vid = document.getElementsByClassName('my-video-scroll') //play video if (runningVideo < vid.length && runningVideo >= 0) { vidTop = vid[runningVideo].offsetTop window.scrollTo(0, vidTop - 0 - scrHeight * 0); vid[runningVideo].currentTime = 0; vid[runningVideo].play() } //show the currently playing video and the total video to the console console.clear() console.log('running: ' + (runningVideo + 1)) console.log('total: ' + vid.length) setTimeout(function () { scrooling = false }, 500) } }

Intenté eliminar el webOS/iphone/ipad/ipod también está funcionando

about 4 years ago · Juan Pablo Isaza
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!