Page 1 of 1
playing a YouTube vid in a stack
Posted: Thu Oct 28, 2010 2:42 pm
by adventuresofgreg
Hi: Is there any way to embed a youtube video in a stack and play it?
The only way I can think of off-hand, is to have the LiveCode app write an html page with the YouTube vid embedded, then view the html with a browser. I'd rather keep it all in LC if possible.
Thanks!
Re: playing a YouTube vid in a stack
Posted: Thu Oct 28, 2010 3:09 pm
by Klaus
Hi Greg,
you can keep in LC and use the browser object to display your selfmade html
Best
Klaus
Re: playing a YouTube vid in a stack
Posted: Thu Oct 28, 2010 3:14 pm
by adventuresofgreg
Klaus wrote:Hi Greg,
you can keep in LC and use the browser object to display your selfmade html
Best
Klaus
Thanks Klaus - I was just looking at RevBrowser. I guess the best way would be to whip up some custom html that includes the embed code (resizing the youtube as required), then display it in a RevBrowser window. right?
Re: playing a YouTube vid in a stack
Posted: Thu Oct 28, 2010 4:55 pm
by Klaus
EX-ACTLY
If you want to include the Flash video (or whatever you want to show) you could store it in a custom property
of the stack and write it to file specialfolderpath("temporary") when needed.
Best
Klaus