Displaying a Video

Hi,
I was wondering if there is a way to display a video in one of my forms, something like an image media field but that displays a video. does this exists in servoy?
my idea was to be able to choose some video file and reproduce it until i choose to change it.
Any ideas of how could i do this??
Thanks in advance

Hi,

You can build one bean and place it in the form to display video in Servoy Application.I have integrated the QuickTime Player in my Servoy Apps, by using the QT4Java(http://devworld.apple.com/quicktime/qtjava/) and it works well.

Hope it helps.

Thanks.

I heard a rumor that there might be something in the works for this already… ;)

sssssssst ;-)

Uh good to know that!, guess ill just wait for that rumor to come true
Keep up the good job

I wouldn’t develop against the QT4Java api’s. It hasn’t been updated in a long time and is basically the legacy QuickTime API. It doesn’t work under 64 bit machines, and Apple doesn’t plan to ever make it work. Its basically dead.

Another way to go may be to use Patrick Talbot’s BrowserSuite bean to show the video, if the format is supported - http://servoy-stuff.net/browser_suite.php

Cheers,

Ben

The easiest way would be to embed your video in .flv format (the Adobe Flash format - used by YouTube) and use the ServoyFlashPlayer of the Browser Suite to display it.

You can download the latest version of the suite here : http://www.servoy-stuff.net/browser_suite.php

ptalbot:
The easiest way would be to embed your video in .flv format (the Adobe Flash format - used by YouTube) and use the ServoyFlashPlayer of the Browser Suite to display it.

Can the Browser Suite display other video formats?

JC

Hi Carlos,

it all depends what plugin you install on the native browser, if your browser have QuickTime installed then the BrowserSuite’s browser will be able to use the QuickTime plugin.

ptalbot:
it all depends what plugin you install on the native browser, if your browser have QuickTime installed then the BrowserSuite’s browser will be able to use the QuickTime plugin.

So, if the native browser have QuickTime, and all other plugins, then any movie format will be displayed. Correct?

JC

Correct, but the problem is that you don’t know in advance whether your client will have the plugin you want installed…

ptalbot:
Correct, but the problem is that you don’t know in advance whether your client will have the plugin you want installed…

I see. Well, this is a case for the ‘as good as it gets’ approach.

What is the file is stored in the server (into the application server upload directory for instance) as we do when storing images? Is there a way to display the various formats of video files as easy as we do with different image files? Have any body encountered this challenge before?

JC

ptalbot:
The easiest way would be to embed your video in .flv format (the Adobe Flash format - used by YouTube) and use the ServoyFlashPlayer of the Browser Suite to display it.

You can download the latest version of the suite here : http://www.servoy-stuff.net/browser_suite.php

How to embed a video in .flv format?

Thanks,

jcarlos:

ptalbot:
Correct, but the problem is that you don’t know in advance whether your client will have the plugin you want installed…

I see. Well, this is a case for the ‘as good as it gets’ approach.

What is the file is stored in the server (into the application server upload directory for instance) as we do when storing images? Is there a way to display the various formats of video files as easy as we do with different image files? Have any body encountered this challenge before?

JC

Why do you want to display the ‘various formats of video’? Why not settle on one?
Also there are streaming servers available for video, this is far more efficient than a Tomcat server serving videos!
Servoy is not meant to be serving video, but you can easily host them online.

Infop:
How to embed a video in .flv format?

Hi Infop, Google is your friend, you know! ;)

ptalbot:

Infop:
How to embed a video in .flv format?

Hi Infop, Google is your friend, you know! ;)

Patrick is right. Check the following links:

http://www.walkernews.net/2008/01/11/how-to-embed-flv-flash-in-wordpress-or-html/

One thing I read to keep in mind: the .flv extension must be included in MIME types on your server to get working the embed FLV Flash videos.

JC

ptalbot:
Why do you want to display the ‘various formats of video’? Why not settle on one?

I thought that it will as easy as displaying different format types (as we do with images). I just learned that it’s not as trivial

ptalbot:
Also there are streaming servers available for video, this is far more efficient than a Tomcat server serving videos!

Agree. I was planning to do that. I just wanted to know about the Servoy experience ;-)

ptalbot:
Servoy is not meant to be serving video, but you can easily host them online.

Yes, I’ll be creating a YouTube channel for this specific project. I’ll try the Browser Suite. I am following your advice as described in your post from last year:

ptalbot:
The easiest way would be to embed your video in .flv format (the Adobe Flash format - used by YouTube) and use the ServoyFlashPlayer of the Browser Suite to display it.

:-)

JC

jcarlos:
Yes, I’ll be creating a YouTube channel for this specific project. I’ll try the Browser Suite. I am following your advice as described in your post from last year:

ptalbot:
The easiest way would be to embed your video in .flv format (the Adobe Flash format - used by YouTube) and use the ServoyFlashPlayer of the Browser Suite to display it.

:-)

Actually if you host that on YouTube, the ServoyBrowser will be the bean to use.
Set the URL to the URL of the video page and you will be all set.

ptalbot:
Actually if you host that on YouTube, the ServoyBrowser will be the bean to use.
Set the URL to the URL of the video page and you will be all set.

Would the entire page be displayed? I’d need to display the video only.