[Pas2js] not TJSHTMLMediaElement or TJSHTMLVieoElement?
Pedro Pablo Oviedo Vera
verakuba13 at gmail.com
Mon Aug 12 22:14:44 CEST 2019
what must I do?
......take all source files a put it into paquages folder in my pas2js
folder?....
El lun., 12 ago. 2019 a las 15:48, Pedro Pablo Oviedo Vera (<
verakuba13 at gmail.com>) escribió:
> Uhmmmmm.....excuse my ignorance...but I do not how to get trunck pas2js
> version...sorry
>
> El lun., 12 ago. 2019 a las 13:03, Michael Van Canneyt (<
> michael at freepascal.org>) escribió:
>
>>
>>
>> On Mon, 12 Aug 2019, Pedro Pablo Oviedo Vera wrote:
>>
>> > 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!
>>
>> Trunk contains this:
>>
>> web.pas: TJSHTMLMediaElement = Class external name 'HTMLMediaElement'
>> (TJSHTMLElement)
>> web.pas: TJSHTMLAudioElement = Class external name 'HTMLAudioElement'
>> (TJSHTMLMediaElement)
>>
>> I have used this for the pacman demo.
>>
>> Michael.
>> _______________________________________________
>> Pas2js maillist - Pas2js at lists.freepascal.org
>> https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js
>>
>
>
> --
>
> 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
>
>
--
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/4e15951c/attachment.html>
More information about the Pas2js
mailing list