That is what I see as well on jQt. Videos play well on JHS, so I don't think 
that it is a J904 issue.

I prefer to use webview because it allows the playback controls to be on the 
video in a standard way.

If it turns out that this is not able to be corrected for webview, I can go to 
approach suggested by Norman using media player.

Cheers, bob

> On May 9, 2022, at 22:36, bill lam <[email protected]> wrote:
> 
> I download all 3 install file from jsoftware for mac, base install,qtide
> and qtlib.
> Running the same script show an empty webview with message
> 
> firewall or antivirus software may have block the connection.
> 
> 
> 
> On Tue, May 10, 2022 at 12:37 PM bill lam <[email protected]> wrote:
> 
>> Bob uses webview and play the link as embedded video.
>> The issue may be related to webengine.
>> 
>> On Tue, May 10, 2022 at 12:20 PM Norman Drinkwater <[email protected]>
>> wrote:
>> 
>>> The multimedia demo in the qtdemos add on works fine for both local files
>>> and web links.
>>> 
>>> On Mon, May 9, 2022 at 11:14 PM 'robert therriault' via Beta <
>>> [email protected]> wrote:
>>> 
>>>> I am on  a mac as well
>>>>    JVERSION
>>>> Engine: j904/j64avx2/darwin
>>>> Beta-c: commercial/2022-04-30T00:15:13
>>>> Library: 9.04.01
>>>> Qt IDE: 2.0.3/6.2.4(6.2.4)
>>>> Platform: Darwin 64
>>>> Installer: J904 install
>>>> InstallPath: /users/bobtherriault/j904
>>>> Contact: www.jsoftware.com
>>>> 
>>>> Is this an issue to be fixed in jQt or should I be looking to make
>>>> adjustments with my approach to playing videos?
>>>> 
>>>> Cheers, bob
>>>> 
>>>>> On May 9, 2022, at 21:09, bill lam <[email protected]> wrote:
>>>>> 
>>>>> I built binaries jqt on mac and ran from there, apparently it used
>>> OpenGL
>>>>> (not sure why) but it can play the video.
>>>>> The console log are as follows.
>>>>> 
>>>>> bill:~/dev/apps/ide/jqt(master)% jqt-9.04 ~/r1.ijs
>>>>> qt.core.qobject.connect: QObject::connect: No such signal
>>>>> QSignalMapper::mapped(QWidget *)
>>>>> qt.webenginecontext:
>>>>> 
>>>>> GLImplementation: core_profile
>>>>> Surface Type: OpenGL
>>>>> Surface Profile: CoreProfile
>>>>> Surface Version: 4.1
>>>>> Using Default SG Backend: yes
>>>>> Using Software Dynamic GL: no
>>>>> Using Angle: no
>>>>> 
>>>>> Init Parameters:
>>>>> *  application-name jqt-9.04
>>>>> *  browser-subprocess-path
>>>>> 
>>>> 
>>> /opt/homebrew/Cellar/qt/6.2.3_1/lib/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Conten
>>>>> *  disable-features
>>>>> 
>>>> 
>>> DnsOverHttpsUpgrade,ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureI
>>>>> *  disable-speech-api
>>>>> *  enable-features NetworkServiceInProcess,TracingServiceInProcess
>>>>> *  enable-threaded-compositing
>>>>> *  gpu-preferences
>>>>> 
>>>> 
>>> SAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYAwAAAAAAABgDAAAAAAAACAEAACAAAAA
>>>>> *  in-process-gpu
>>>>> *  use-gl core_profile
>>>>> 
>>>>> qt.qpa.fonts: Populating font family aliases took 144 ms. Replace
>>> uses of
>>>>> missing font family "Mono" with one that exists to avo
>>>>> js: Error with Permissions-Policy header: Unrecognized feature:
>>>>> 'ch-ua-bitness'.
>>>>> js: Error with Permissions-Policy header: Unrecognized feature:
>>>>> 'ch-ua-full-version-list'.
>>>>> 
>>>>> 
>>>>> 
>>>>> On Tue, May 10, 2022 at 10:30 AM 'robert therriault' via Beta <
>>>>> [email protected]> wrote:
>>>>> 
>>>>>> Here is a simple script that will demonstrate that video is being
>>>> blocked
>>>>>> in jQt but not in a browser or through JHS in J904
>>>>>> 
>>>>>> NB. multimedia lab viewer for jqt platform
>>>>>> 
>>>>>> NB. Video Source is Youtube promotional video for J
>>>>>> VIDEO=:'
>>>> https://www.youtube.com/embed/aV936cVrN0I?feature=oembed;rel=0&amp
>>>>>> ;'
>>>>>> 
>>>>>> NB. === form description
>>>>>> MULTIMEDIA=: 0 : 0
>>>>>> pc multimedia;
>>>>>> cc mm webview;set mm sizepolicy expanding;
>>>>>> )
>>>>>> 
>>>>>> NB. === close button
>>>>>> multimedia_close=: 3 : 0
>>>>>> wd 'pclose'
>>>>>> )
>>>>>> 
>>>>>> play=: 3 : 0
>>>>>> wd MULTIMEDIA
>>>>>> wd 'set mm minwh 480 285 ;'
>>>>>> wd 'set mm html <iframe width="450" height="265"
>>> src="',y,'"></iframe>;'
>>>>>> wd 'pshow;'
>>>>>> )
>>>>>> 
>>>>>> watch=: 3 : 0 NB. watch VIDEO will show video without jQt
>>>>>> launch y
>>>>>> )
>>>>>> 
>>>>>> play VIDEO  NB. will play video when loaded
>>>>>> 
>>> ----------------------------------------------------------------------
>>>>>> For information about J forums see
>>> http://www.jsoftware.com/forums.htm
>>>>>> 
>>>>> ----------------------------------------------------------------------
>>>>> For information about J forums see
>>> http://www.jsoftware.com/forums.htm
>>>> 
>>>> ----------------------------------------------------------------------
>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>>> 
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>> 
>> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to