I would like to create a small app (web) to play a video clip stored on a web server.
What is the proper way to go about this and what video format would best be used?
In a perfect world, the video would stream, so it would start right away. I am pretty
sure mov and wmv files both stream, as do some flash formats.
Does livecode support playing a flash video inside a web app?
Thanks for the help.
Mike
how to play video off a internet server?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 361
- Joined: Wed Apr 27, 2011 2:12 pm
Re: how to play video off a internet server?
Hi Mike,
LiveCode supports all QuickTime playable formats, but I would not rely on WMV etc.
But you could play your video inside of a browser object, this way you could even
have FLASH video and everything the users browser support!
Best
Klaus
LiveCode supports all QuickTime playable formats, but I would not rely on WMV etc.
But you could play your video inside of a browser object, this way you could even
have FLASH video and everything the users browser support!
Best
Klaus
-
- Posts: 361
- Joined: Wed Apr 27, 2011 2:12 pm
Re: how to play video off a internet server?
Sounds great. So I create a browser object and then issue the play command or do I use a player object. This confuses me a bit.
Mike
Mike
Re: how to play video off a internet server?
Hi Mike,
well, a browser object needs of course HTML input!
So you need to create a "template" html with a placeholder for the movie URL,
put the text snippet into a variable, replace the placeholder with the real URL and do
...
revBrowserSet "htmltext", tVariableWithHTMLTemplate
...
Google for some example html code for the different video formats.
Best
Klaus
well, a browser object needs of course HTML input!

So you need to create a "template" html with a placeholder for the movie URL,
put the text snippet into a variable, replace the placeholder with the real URL and do
...
revBrowserSet "htmltext", tVariableWithHTMLTemplate
...
Google for some example html code for the different video formats.
Best
Klaus
-
- Posts: 361
- Joined: Wed Apr 27, 2011 2:12 pm
Re: how to play video off a internet server?
What I am trying to do is create an email template that will auto-play a video when the email is opened.
Can I use the browser object to do this? Is this way above and beyond what Live Code can do?
The video will reside on a server, not embedded, so I figure I would call the video (either a video file,
flash file or a runrev app using the web deployment feature . . . not sure which) from the email template.
Your expert opinion?
Mike
Can I use the browser object to do this? Is this way above and beyond what Live Code can do?
The video will reside on a server, not embedded, so I figure I would call the video (either a video file,
flash file or a runrev app using the web deployment feature . . . not sure which) from the email template.
Your expert opinion?
Mike
Re: how to play video off a internet server?
Hi Mike,
ok, WHERE do you want to display the video?
In a LiveCode stack or standalone?
You write "web deployment feature", do you want to export your stack as a "RevLet"?
In that case you can only use a (QuickTime) player object.
Email template?
Now I'm lost...
Best
Klaus
ok, WHERE do you want to display the video?
In a LiveCode stack or standalone?
You write "web deployment feature", do you want to export your stack as a "RevLet"?
In that case you can only use a (QuickTime) player object.
Email template?
Now I'm lost...

Best
Klaus