Page 1 of 1

Player

Posted: Mon Aug 13, 2012 4:36 pm
by Nana
Hi friends,


i am trying to play videos and i am using the QuickTimePlayer object.

I want to play videos from youtube without download the videos in my pc. I want my program downloads the video and plays it direct.

The code is this

set the filename of player "movie" to "URL FROM YOUTUBE"
start player "movie"

Anyone who can help me? :)

Thanks in advance

Re: Player

Posted: Mon Aug 13, 2012 4:46 pm
by Klaus
Hi Nana,
Nana wrote:I want to play videos from youtube without download the videos in my pc.
I want my program downloads the video and plays it direct.
??? Now do you want to download the video first or not?

Anyway:
1. You will need to supply a direct URL of the video to the player object!
2. QuickTime will not play FLV video files per default!
This will only work on the Mac with PERIAN installed!
3. You will need to parse the HTML page where the video is embedded, good luck with that :D

So I'm afraid this is not per se a LiveCode question, but more a
"How to extract the video urls from a YouTube html page" thing 8)

At least this is nothing that can be explained/shown here in a couple of sentences!

Did you work through these stacks already?
http://www.runrev.com/developers/lesson ... nferences/


Best

Klaus

Re: Player

Posted: Mon Aug 13, 2012 5:08 pm
by Nana
Klaus Thank you very much for your answer. You were very helpful.

Sorry for my confusing question.

Thanks