Player

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Nana
Posts: 38
Joined: Sat Aug 11, 2012 8:01 pm

Player

Post by Nana » Mon Aug 13, 2012 4:36 pm

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

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Player

Post by Klaus » Mon Aug 13, 2012 4:46 pm

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

Nana
Posts: 38
Joined: Sat Aug 11, 2012 8:01 pm

Re: Player

Post by Nana » Mon Aug 13, 2012 5:08 pm

Klaus Thank you very much for your answer. You were very helpful.

Sorry for my confusing question.

Thanks

Post Reply