Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / pas2js / 2019-08

not TJSHTMLMediaElement or TJSHTMLVieoElement?

7 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Pedro Pablo Oviedo Vera

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>

Reply by email

Michael Van Canneyt
to Pedro Pablo Oviedo Vera
Pedro Pablo Oviedo Vera wrote 8 lines
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.

Reply by email

Pedro Pablo Oviedo Vera
to Michael Van Canneyt

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 (<

Show quoted text 29 lines
) 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 - 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20190812/a40c7c05/attachment-0001.html>

Reply by email

Pedro Pablo Oviedo Vera
to Pedro Pablo Oviedo Vera

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 (<

Show quoted text 50 lines
) 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 (< >) 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 - > 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>

Reply by email

Michael Van Canneyt
to Pedro Pablo Oviedo Vera
Pedro Pablo Oviedo Vera wrote
what must I do? ......take all source files a put it into paquages folder in my pas2js folder?....

You can download it here:

https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/rtl/web.pas?view=co&root=pas2js

Just copy it over the existing one.

You can always view all recent files through the web interface of subversion:
https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/?root=pas2js

Michael.

Reply by email

Pedro Pablo Oviedo Vera
to Michael Van Canneyt

I got it!.....I move on....Thanks!!

El mar., 13 ago. 2019 a las 2:11, Michael Van Canneyt (<

Show quoted text 27 lines
) escribió: On Mon, 12 Aug 2019, Pedro Pablo Oviedo Vera wrote: > what must I do? > ......take all source files a put it into paquages folder in my pas2js > folder?.... You can download it here: https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/rtl/web.pas?view=co&root=pas2js Just copy it over the existing one. You can always view all recent files through the web interface of subversion: https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/?root=pas2js Michael. _______________________________________________ Pas2js maillist - 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20190813/d3c5b877/attachment.html>

Reply by email

Pedro Pablo Oviedo Vera
to Pedro Pablo Oviedo Vera

I finished my first successfully exercise from the book "The HTML5,CSS3 and JavaScript Book" programing a web video player....pas2js looks really good...ok next exersice....thenks!

El mar., 13 ago. 2019 a las 11:45, Pedro Pablo Oviedo Vera (<

Show quoted text 45 lines
) escribió: I got it!.....I move on....Thanks!! El mar., 13 ago. 2019 a las 2:11, Michael Van Canneyt (< >) escribió: > > > On Mon, 12 Aug 2019, Pedro Pablo Oviedo Vera wrote: > > > what must I do? > > ......take all source files a put it into paquages folder in my pas2js > > folder?.... > > You can download it here: > > > https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/rtl/web.pas?view=co&root=pas2js > > Just copy it over the existing one. > > You can always view all recent files through the web interface of > subversion: > https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/?root=pas2js > > > Michael. > _______________________________________________ > Pas2js maillist - > 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/20190814/83ec54c4/attachment.html>

Reply by email