CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

IWCGJQPlayer set up

General discussion

by Davide » 09 May 2014 15:05

Hello,

I'm working on a IWCGJQPlayer and I would like to avoid the user can interact with it.
I check the "Features" property and it seems it contains all the available features.
How can I set it ?
It expects a TIWCGJSONSimpleArray, how can I create it void to disable all features?

Sometimes the player stops to fill the buffer.
Is there a way to cache the video so it can play without interrupts ?

Thank you,
Davide
Davide
 
Posts: 150
Joined: 14 Oct 2013 11:33

by Jorge Sousa » 09 May 2014 15:15

Hi

I hope you have already read this

many times it's also very useful read the plugin documentation, right clicking the component at design-tme and selecting "plugin documentation"

Which in this case is very useful, because someone forgot to add this to the documentation.

features: ['playpause','progress','current','duration','tracks','volume','fullscreen'],

About

Sometimes the player stops to fill the buffer.


This is done by the browser itself using html5 standards, the plugin only manages the html5.

Is there a way to cache the video so it can play without interrupts ?


if you find a way to do this with html5, you will be able to do it for sure, in your project.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Jorge Sousa » 09 May 2014 15:29

I forget this

It expects a TIWCGJSONSimpleArray, how can I create it void to disable all features?


It's a TStrings descendant
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Davide » 09 May 2014 16:32

Hello,
I read the documentation before post on the forum and I don't understand or the documentation is not so clear...
Is it possible to avoid interaction setting features to an empty TIWCGJSONSimpleArray ?
Assignig to the "Features" property a TStrings result in a "[dcc32 Error] u_MediaContentRenderer.pas(110): E2010 Incompatible types: 'TIWCGJSonSimpleArray' and 'TStrings' " error..?

Thank you,
Davide
Davide
 
Posts: 150
Joined: 14 Oct 2013 11:33

by Alexander Bulei » 09 May 2014 16:39

Hi Davide,

Why you do not work directly with the property?

Like this:

delphi code
IWCGJQPlayer1.JQPlayerOptions.Features.Clear;


or this:

delphi code
IWCGJQPlayer1.JQPlayerOptions.Features.Clear;
IWCGJQPlayer1.JQPlayerOptions.Features.add('progress');


Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to General - Archive

Who is online

Users browsing this forum: No registered users and 3 guests

Contact Us.