FWIW, I implemented a Video component in Spectrum:
https://github.com/unhurdle/spectrum-royale/blob/master/Spectrum/src/com/unhurdle/spectrum/VideoAsset.as

There’s also Video in the HTML package:
https://github.com/apache/royale-asjs/blob/develop/frameworks/projects/HTML/src/main/royale/org/apache/royale/html/elements/Video.as

You can use the native <video> element to render both video and audio. In 
general it works very well.

Recording is another question. You’d probably want MediaRecorder APIs for that.
https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder

I don’t think we don’t have any built in components that encapsulate this, but 
it should be pretty easy to code it directly.

HTH,
Harbs

> On Sep 22, 2023, at 3:03 PM, Hugo Ferreira <hferreira...@gmail.com> wrote:
> 
> The option 2, will be a faster way to solve the problem but the option 1
> will fill the gap between Flex and Royale and also will enrich even more
> Royale.
> But in the end, it depends.
> 
> For example: A TexInput makes perfect sense having full native support in
> Royale (and of course we have). It's like a single/native control.
> But a calendar no. A calendar itself it's a huge complex mini program and
> it's preferred to use as external, with someone or some company
> that already focus on that and also there are many calendars and flavors
> out there.
> 
> 
> Piotr Zarzycki <piotrzarzyck...@gmail.com> escreveu no dia sexta,
> 22/09/2023 à(s) 12:55:
> 
>> Hi Virginia,
>> 
>> In general when you are using Apache Royale to port Flex application I
>> would recommend to think about it like - if something is missing in Royale:
>> 1) I can add it on my own - make a pull request
>> 2) I would search in JS world library/native solution which solves my
>> problem
>> 
>> - When you find #2 - you can easily use it in Royale. With my clients we
>> are using lots of external libraries in Royale projects.
>> 
>> Thanks,
>> Piotr
>> 
>> czw., 21 wrz 2023 o 22:07 <cont...@cristallium.com> napisał(a):
>> 
>>> This is great ! Thanks for links
>>> Fred
>>> 
>>> Le 2023-09-21 18:03, Maria Jose Esteve a écrit :
>>> 
>>>> The integration with Echart is here [1 [1]]
>>>> 
>>>> [1] https://github.com/mjesteve/Royale-ECharts/tree/develop
>>>> Hiedra
>>>> 
>>>> De: Maria Jose Esteve <mjest...@iest.com>
>>>> Enviado el: jueves, 21 de septiembre de 2023 18:01
>>>> Para: dev@royale.apache.org
>>>> Asunto: RE: Rich media in Royale
>>>> 
>>>> Yes [1 [1]] I haven't updated it in a while, I sorry 😝. If you have
>> any
>>>> problem let me know.
>>>> 
>>>> [1] https://github.com/mjesteve/royale-examples-community/tree/develop
>>>> 
>>>> Hiedra
>>>> 
>>>> De: cont...@cristallium.com<mailto:cont...@cristallium.com>
>>>> <cont...@cristallium.com<mailto:cont...@cristallium.com>>
>>>> Enviado el: jueves, 21 de septiembre de 2023 17:24
>>>> Para: dev@royale.apache.org<mailto:dev@royale.apache.org>
>>>> Asunto: Re: Rich media in Royale
>>>> 
>>>> Hi Maria,
>>>> Would you have some samples to share of externals js or perhaps is
>>>> there somes others than the highlightjs example that I miss ?
>>>> 
>>>> Fred
>>>> 
>>>> Le 2023-09-21 17:10, Maria Jose Esteve a écrit :
>>>> By the way,... +1 with cristallium, working with "externals" works very
>>>> well; It depends a lot on how the JS implementation is made and/or
>>>> compiled, but I have been able to do an acceptable job with libraries
>>>> such as virtualselect, Echart, fullcalendar and mobiscroll.
>>>> 
>>>> Hiedra
>>>> 
>>>> De: cont...@cristallium.com<mailto:cont...@cristallium.com>
>>>> <cont...@cristallium.com<mailto:cont...@cristallium.com>>
>>>> Enviado el: jueves, 21 de septiembre de 2023 14:24
>>>> Para: dev@royale.apache.org<mailto:dev@royale.apache.org>
>>>> Asunto: Re: Rich media in Royale
>>>> 
>>>> Hi Virginia,
>>>> 
>>>> As Maria said, Apache Royale has Audio and VideoPlayer with variable
>>>> playrate in 0.9.10 version.
>>>> 
>>>> Tour de jewel (https://royale.apache.org/tourdejewel/) is not now up
>> to
>>>> date to see it.
>>>> 
>>>> You can find attached zip with tdj up to date and see by yourselft
>>>> Audio and Video player usage.
>>>> 
>>>> For recording side, you can use external js capabilities of Apache
>>>> Royale
>>>> (
>>> 
>> https://royale.apache.org/blog/using-external-javascript-libraries-in-apache-royale/
>> )
>>> 
>>>> to use javascript recording librarie from AS3.
>>>> 
>>>> Hope that will help you
>>>> 
>>>> Fred
>>>> 
>>>> Le 2023-09-19 10:35, Virginia Westwood a écrit :
>>>> Hi,
>>>> 
>>>> About 10 years ago, after working with First Nations Communities, I
>>>> completed a Flex application (Flash) for Computer Assisted Language
>>>> Learning for their Language (NYIKINA) - the first of its kind in the
>>>> world. However, it was effectively killed by Adobe. I tried over
>>>> several years to keep it going, trans-piling it, and using Flash
>>>> players in browsers like BlueMoon. I also followed the Royale
>>>> development closely and tried, before giving up as most of the
>>>> development of classes and components seemed directed at business
>>>> applications.
>>>> 
>>>> I am now trying again, as GitHub and websites consistently say that
>>>> Royale supports Rich Media. But I am blowed if I can find any classes
>>>> that do this.
>>>> 
>>>> Can you possibly help? Guide me to the classes I can use for audio
>>>> (play and record) and video, vital to language learning.
>>>> Or confirm if it is not available? If it maybe, sometime?
>>>> 
>>>> Thanks
>>>> 
>>>> Virginia
>>>> 
>>>> ________________________________
>>>> Dr Virginia Westwood
>>>> Research Fellow (Intergenerational Cultural Transfer of Indigenous
>>>> Knowledges)
>>>> Project Coordinator (ARC Linkage Grant)
>>>> 
>>>> I respectfully acknowledge the traditional custodians of the Country on
>>>> which we live and work, and commit to building relationships, respect
>>>> and opportunities together.
>>>> 
>>>> Nulungu Research Institute
>>>> The University of Notre Dame Australia
>>>> 88 Guy St (PO Box 2287) Broome, Western Australia 6725
>>>> Phone (+61 8) 9192 0614
>>>> Mobile: 0408 971 446
>>>> Email:
>>>> virginia.westw...@nd.edu.au<mailto:virginia.westw...@nd.edu.au
>>> <mailto:
>>> virginia.westw...@nd.edu.au<mailto:virginia.westw...@nd.edu.au>><mailto:
>>> virginia.westw...@nd.edu.au<mailto:virginia.westw...@nd.edu.au><mailto:
>>> virginia.westw...@nd.edu.au<mailto:virginia.westw...@nd.edu.au>>>
>>>> 
>>>> Disclaimer
>>>> 
>>>> The information contained in this communication from the sender is
>>>> confidential. It is intended solely for use by the recipient and others
>>>> authorized to receive it. If you are not the recipient, you are hereby
>>>> notified that any disclosure, copying, distribution or taking action in
>>>> relation of the contents of this information is strictly prohibited and
>>>> may be unlawful.
>>>> 
>>>> This email has been scanned for viruses and malware, and may have been
>>>> automatically archived by Mimecast Ltd, an innovator in Software as a
>>>> Service (SaaS) for business. Providing a safer and more useful place
>>>> for your human generated data. Specializing in; Security, archiving and
>>>> compliance. To find out more visit the Mimecast website.
>>>> 
>>>> --
>>> 
>>> --
>>> 
>>> 
>>> 
>>> Links:
>>> ------
>>> [1] https://github.com/mjesteve/royale-examples-community/tree/develop
>> 
>> 
>> 
>> --
>> 
>> Piotr Zarzycki
>> 

Reply via email to