Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

186
Visualizações
is it Possible to get current play time of a video Embedded using iFrame using JavaScript? How?

is there a way to track user's activity on a video embedded using iFrame tag? the metadata am most interested in is current Duration, title, src... ps: YouTube Player API did not work for me :(

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

if it's for youtube as the tag suggest I'd consider using youtube iFrame API as suggested in this post you could use player.playerInfo.currentTime using that API.

now if it's just a <video> in html, you can use the currentTime property you could also find the video element in your youtube iFrame and use that same property, it's gonna work. Basically as long as there is a video html element, you'll have access to this property

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda