[Pas2js] not TJSHTMLMediaElement or TJSHTMLVieoElement?

Pedro Pablo Oviedo Vera verakuba13 at gmail.com
Mon Aug 12 18:49:04 CEST 2019


Hello people,
I'm trying catch <video id="media"> from my project1.html in my
project1.pas with
 medio1:= TJSHTMLElement(document.getElementById("medio"));
but this way not allow to me get properties like paused, ended, duration,
currenttime,etc.....so I listed Web.pas unit looking for a
TJSHTMLVideoElement or TJSHTMLMediaElement but not found nothing......any
help please!

-- 

MSc. Ing. Pedro Pablo Oviedo Vera
Dirección Técnica y Desarrollo
Empresa de Proyectos e Ingeniería del
Ministerio de la Agricultura.ENPA.
Boyeros y Conill, Piso 10 Edif MINAG
Telef. 884 7197
SIP:23000116
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20190812/cd400dbc/attachment.html>


More information about the Pas2js mailing list