You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by spiros <ag...@novusnet.gr> on 2020/07/28 08:51:38 UTC

Youtube Video embeding

Hi, 

Is it possible to embed a youtube  video to royale application ?   

 

 

 

Best regards

 

 

Spiros 

 


Re: Youtube Video embeding

Posted by Carlos Rovira <ca...@apache.org>.
Hi Fred,

I think the UIBase method should be extending and making createElement
generate an "iframe" tag and adding some methods, so I think it
shouldn't need to be considered.

Maybe better just use the new IFrame component added by Harbs on HTML
yesterday.

That should be just use it declaring it via MXML in any App you have at
hand and try to configure it with some youtube config. You can check online
how people load a youtube video with iframe, and try to do the same with
our IFrame component and as you get it working post the resulting lines in
the SOF thread.

Thanks

El mié., 29 jul. 2020 a las 18:36, <co...@cristallium.com> escribió:

> Hi Carlos,
>
> Thanks for your reply.
>
> The fact is I didn't know about UIBase and iFrame.
>
> Is there a example somewhere how to use it ?
>
> Regards
>
>
> Le 29.07.2020 18:27, Carlos Rovira a écrit :
>
> Hi Fref,
>
> I'm all for SOF as you know since I think it is a good place to find
> answers and could be a way for Royale users to find solutions to his
> problems. For this one I think you can respond yourself talking about the
> iFrame solution and the new component done by Harbs, but I expect we could
> have a video component in the future, or maybe some more since I guess
> we'll need to take into account not only youtube but other options as well.
>
> El mié., 29 jul. 2020 a las 11:16, <co...@cristallium.com> escribió:
>
> Hi All,
>
> I see a lot of usefull knowlege in this thread and others (on chart
> component etc...). Unfortunaly this is not well indexed by search motors.
>
> For exemple search for "apache royale video play", the first result will
> be on stackoverflow. (
> https://stackoverflow.com/questions/58512563/how-to-play-a-mp4-video-with-apache-royale
> )
>
> So why not add some knowlege by answering this post (on SOF) ?
>
> I see 2 advantages : better index and more SOF questions = more audience and
> more confidence in finding an answer for future developers
>
> Today, a lot of developpers are using SOF for copy/paste snipets of code.
> It would be great to have same stuff for Apache Royale
>
> Regards
>
> Le 29.07.2020 09:41, spiros a écrit :
>
> Hi Carlos,
>
> Yes with an extension to UIBase it was easy to create an Iframe element
> and pass the YouTube url.
>
> When I finally have a stable component I will post it to this thread.
>
>
> Thanks
>
>
> Spiros
>
>
>
> -----Original Message-----
> From: Carlos Rovira [mailto:carlosrovira@apache.org]
> Sent: Tuesday, July 28, 2020 4:19 PM
> To: Apache Royale Development
> Subject: Re: Youtube Video embeding
>
> Hi Spiros,
>
> Yes, Youtube should be easy to integrate in a Royale App. I think we don't
> have a component right now for that but since Youtube used to be
> embedded via iframe in a web page that should not be a problem. I think
> there's already some components that allow you to use an iframe in royale
> that you could try, or just try some basic example and try to use in Royale
> meanwhile we add some official components.
>
> To All, someone has the time to create some basic video component anc
> contribute?
>
> Thanks
>
>
>
>
>
> El mar., 28 jul. 2020 a las 10:52, spiros (<ag...@novusnet.gr>) escribió:
>
> Hi,
>
> Is it possible to embed a youtube  video to royale application ?
>
>
>
>
>
>
>
> Best regards
>
>
>
>
>
> Spiros
>
>
>
>
>
> --
>
> Frédéric Gilli
>
> mob.0668542622
>
> http://www.cristallium.com
>
> <http://www.cristallium.com>
>
>
>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
>
> --
>
> Frédéric Gilli
>
> mob.0668542622
>
> http://www.cristallium.com
>
> <http://www.cristallium.com>
>
>
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Youtube Video embeding

Posted by co...@cristallium.com.
Hi Carlos, 

Thanks for your reply. 

The fact is I didn't know about UIBase and iFrame. 

Is there a example somewhere how to use it ? 

Regards 

Le 29.07.2020 18:27, Carlos Rovira a écrit :

> Hi Fref,
> 
> I'm all for SOF as you know since I think it is a good place to find answers and could be a way for Royale users to find solutions to his problems. For this one I think you can respond yourself talking about the iFrame solution and the new component done by Harbs, but I expect we could have a video component in the future, or maybe some more since I guess we'll need to take into account not only youtube but other options as well. 
> 
> El mié., 29 jul. 2020 a las 11:16, <co...@cristallium.com> escribió: 
> 
> Hi All, 
> 
> I see a lot of usefull knowlege in this thread and others (on chart component etc...). Unfortunaly this is not well indexed by search motors. 
> 
> For exemple search for "apache royale video play", the first result will be on stackoverflow. (https://stackoverflow.com/questions/58512563/how-to-play-a-mp4-video-with-apache-royale) 
> 
> So why not add some knowlege by answering this post (on SOF) ? 
> 
> I see 2 advantages : better index and more SOF questions = more audience and more confidence in finding an answer for future developers 
> 
> Today, a lot of developpers are using SOF for copy/paste snipets of code. It would be great to have same stuff for Apache Royale 
> 
> Regards 
> 
> Le 29.07.2020 09:41, spiros a écrit : 
> Hi Carlos,
> 
> Yes with an extension to UIBase it was easy to create an Iframe element and pass the YouTube url.
> 
> When I finally have a stable component I will post it to this thread.
> 
> Thanks    
> 
> Spiros 
> 
> -----Original Message-----
> From: Carlos Rovira [mailto:carlosrovira@apache.org] 
> Sent: Tuesday, July 28, 2020 4:19 PM
> To: Apache Royale Development
> Subject: Re: Youtube Video embeding
> 
> Hi Spiros,
> 
> Yes, Youtube should be easy to integrate in a Royale App. I think we don't
> have a component right now for that but since Youtube used to be
> embedded via iframe in a web page that should not be a problem. I think
> there's already some components that allow you to use an iframe in royale
> that you could try, or just try some basic example and try to use in Royale
> meanwhile we add some official components.
> 
> To All, someone has the time to create some basic video component anc
> contribute?
> 
> Thanks
> 
> El mar., 28 jul. 2020 a las 10:52, spiros (<ag...@novusnet.gr>) escribió:
> 
> Hi,
> 
> Is it possible to embed a youtube  video to royale application ?
> 
> Best regards
> 
> Spiros

-- 
Frédéric Gilli 

mob.0668542622

http://www.cristallium.com

 [1]

  -- 

Carlos Rovira
http://about.me/carlosrovira 

-- 
Frédéric Gilli 

mob.0668542622

http://www.cristallium.com

 [1]

 

Links:
------
[1] http://www.cristallium.com

Re: Youtube Video embeding

Posted by Carlos Rovira <ca...@apache.org>.
Hi Fref,

I'm all for SOF as you know since I think it is a good place to find
answers and could be a way for Royale users to find solutions to his
problems. For this one I think you can respond yourself talking about the
iFrame solution and the new component done by Harbs, but I expect we could
have a video component in the future, or maybe some more since I guess
we'll need to take into account not only youtube but other options as well.

El mié., 29 jul. 2020 a las 11:16, <co...@cristallium.com> escribió:

> Hi All,
>
> I see a lot of usefull knowlege in this thread and others (on chart
> component etc...). Unfortunaly this is not well indexed by search motors.
>
> For exemple search for "apache royale video play", the first result will
> be on stackoverflow. (
> https://stackoverflow.com/questions/58512563/how-to-play-a-mp4-video-with-apache-royale
> )
>
> So why not add some knowlege by answering this post (on SOF) ?
>
> I see 2 advantages : better index and more SOF questions = more audience and
> more confidence in finding an answer for future developers
>
> Today, a lot of developpers are using SOF for copy/paste snipets of code.
> It would be great to have same stuff for Apache Royale
>
> Regards
>
> Le 29.07.2020 09:41, spiros a écrit :
>
> Hi Carlos,
>
> Yes with an extension to UIBase it was easy to create an Iframe element
> and pass the YouTube url.
>
> When I finally have a stable component I will post it to this thread.
>
>
> Thanks
>
>
> Spiros
>
>
>
> -----Original Message-----
> From: Carlos Rovira [mailto:carlosrovira@apache.org]
> Sent: Tuesday, July 28, 2020 4:19 PM
> To: Apache Royale Development
> Subject: Re: Youtube Video embeding
>
> Hi Spiros,
>
> Yes, Youtube should be easy to integrate in a Royale App. I think we don't
> have a component right now for that but since Youtube used to be
> embedded via iframe in a web page that should not be a problem. I think
> there's already some components that allow you to use an iframe in royale
> that you could try, or just try some basic example and try to use in Royale
> meanwhile we add some official components.
>
> To All, someone has the time to create some basic video component anc
> contribute?
>
> Thanks
>
>
>
>
>
> El mar., 28 jul. 2020 a las 10:52, spiros (<ag...@novusnet.gr>) escribió:
>
> Hi,
>
> Is it possible to embed a youtube  video to royale application ?
>
>
>
>
>
>
>
> Best regards
>
>
>
>
>
> Spiros
>
>
>
>
>
> --
>
> Frédéric Gilli
>
> mob.0668542622
>
> http://www.cristallium.com
>
> <http://www.cristallium.com>
>
>
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Youtube Video embeding

Posted by co...@cristallium.com.
Hi All, 

I see a lot of usefull knowlege in this thread and others (on chart
component etc...). Unfortunaly this is not well indexed by search
motors. 

For exemple search for "apache royale video play", the first result will
be on stackoverflow.
(https://stackoverflow.com/questions/58512563/how-to-play-a-mp4-video-with-apache-royale)


So why not add some knowlege by answering this post (on SOF) ? 

I see 2 advantages : better index and more SOF questions = more audience
and more confidence in finding an answer for future developers 

Today, a lot of developpers are using SOF for copy/paste snipets of
code. It would be great to have same stuff for Apache Royale 

Regards 

Le 29.07.2020 09:41, spiros a écrit :

> Hi Carlos,
> 
> Yes with an extension to UIBase it was easy to create an Iframe element and pass the YouTube url.
> 
> When I finally have a stable component I will post it to this thread.
> 
> Thanks    
> 
> Spiros 
> 
> -----Original Message-----
> From: Carlos Rovira [mailto:carlosrovira@apache.org] 
> Sent: Tuesday, July 28, 2020 4:19 PM
> To: Apache Royale Development
> Subject: Re: Youtube Video embeding
> 
> Hi Spiros,
> 
> Yes, Youtube should be easy to integrate in a Royale App. I think we don't
> have a component right now for that but since Youtube used to be
> embedded via iframe in a web page that should not be a problem. I think
> there's already some components that allow you to use an iframe in royale
> that you could try, or just try some basic example and try to use in Royale
> meanwhile we add some official components.
> 
> To All, someone has the time to create some basic video component anc
> contribute?
> 
> Thanks
> 
> El mar., 28 jul. 2020 a las 10:52, spiros (<ag...@novusnet.gr>) escribió:
> 
>> Hi,
>> 
>> Is it possible to embed a youtube  video to royale application ?
>> 
>> Best regards
>> 
>> Spiros

-- 
Frédéric Gilli 

mob.0668542622

http://www.cristallium.com

 [1]

 

Links:
------
[1] http://www.cristallium.com

RE: Youtube Video embeding

Posted by spiros <ag...@novusnet.gr>.
Hi Carlos,

Yes with an extension to UIBase it was easy to create an Iframe element and pass the YouTube url.

When I finally have a stable component I will post it to this thread.


Thanks    


Spiros 



-----Original Message-----
From: Carlos Rovira [mailto:carlosrovira@apache.org] 
Sent: Tuesday, July 28, 2020 4:19 PM
To: Apache Royale Development
Subject: Re: Youtube Video embeding

Hi Spiros,

Yes, Youtube should be easy to integrate in a Royale App. I think we don't
have a component right now for that but since Youtube used to be
embedded via iframe in a web page that should not be a problem. I think
there's already some components that allow you to use an iframe in royale
that you could try, or just try some basic example and try to use in Royale
meanwhile we add some official components.

To All, someone has the time to create some basic video component anc
contribute?

Thanks





El mar., 28 jul. 2020 a las 10:52, spiros (<ag...@novusnet.gr>) escribió:

> Hi,
>
> Is it possible to embed a youtube  video to royale application ?
>
>
>
>
>
>
>
> Best regards
>
>
>
>
>
> Spiros
>
>
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Youtube Video embeding

Posted by Carlos Rovira <ca...@apache.org>.
Hi Spiros,

Yes, Youtube should be easy to integrate in a Royale App. I think we don't
have a component right now for that but since Youtube used to be
embedded via iframe in a web page that should not be a problem. I think
there's already some components that allow you to use an iframe in royale
that you could try, or just try some basic example and try to use in Royale
meanwhile we add some official components.

To All, someone has the time to create some basic video component anc
contribute?

Thanks





El mar., 28 jul. 2020 a las 10:52, spiros (<ag...@novusnet.gr>) escribió:

> Hi,
>
> Is it possible to embed a youtube  video to royale application ?
>
>
>
>
>
>
>
> Best regards
>
>
>
>
>
> Spiros
>
>
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Youtube Video embeding

Posted by Harbs <ha...@gmail.com>.
I just added an Iframe component to the html swc.

> On Jul 28, 2020, at 11:03 PM, Harbs <ha...@gmail.com> wrote:
> 
> You can use a <js:WebBrowser> component.
> 
> We should probably add IFrame to the html components as well, although it should be possible to use native iframe elements in the browser html namespace. I forget what that is at the moment.
> 
>> On Jul 28, 2020, at 11:51 AM, spiros <ag...@novusnet.gr> wrote:
>> 
>> Hi, 
>> 
>> Is it possible to embed a youtube  video to royale application ?   
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Best regards
>> 
>> 
>> 
>> 
>> 
>> Spiros 
>> 
>> 
>> 
> 


Re: Youtube Video embeding

Posted by Harbs <ha...@gmail.com>.
You can use a <js:WebBrowser> component.

We should probably add IFrame to the html components as well, although it should be possible to use native iframe elements in the browser html namespace. I forget what that is at the moment.

> On Jul 28, 2020, at 11:51 AM, spiros <ag...@novusnet.gr> wrote:
> 
> Hi, 
> 
> Is it possible to embed a youtube  video to royale application ?   
> 
> 
> 
> 
> 
> 
> 
> Best regards
> 
> 
> 
> 
> 
> Spiros 
> 
> 
>