Automatically Play Video

.NET Edition of the F-IN-BOX
metal
Posts: 7
Joined: Fri Mar 28, 2008 7:23 am

Automatically Play Video

Postby metal » Fri Mar 28, 2008 8:01 pm

Is there a way to automatically start video from a web link? e.g.

http://www.megavideo.com/?v=AQ6QKEHV

What I am looking for is to
1) disable the launch of web page
2) automatically start the video playing.

Thanks,

M

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Re: Automatically Play Video

Postby Softanics » Sat Mar 29, 2008 11:44 am

Thank you for your question.

metal wrote:Is there a way to automatically start video from a web link? e.g.

http://www.megavideo.com/?v=AQ6QKEHV

What I am looking for is to
1) disable the launch of web page
2) automatically start the video playing.


You should load this page, parse html code, find <embed> / <object> tags, get the parameters.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

metal
Posts: 7
Joined: Fri Mar 28, 2008 7:23 am

Postby metal » Tue Apr 01, 2008 7:42 pm

I got this from <object> tag.

http://www.megavideo.com/v/AQ6QKEHV6dd2 ... 00799801.0

But when I put the link into f_in_box control,

1) I need to click a play button to start to video.
Q: Is it possible to programatically start the video.

2) It will launch a web page for advertisement and also when you click on video while you play it will also launch the web page to metavideo.
Q: How can I disable the launch of web page? Or how can I stop mouse click at all?

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Wed Apr 02, 2008 6:53 am

metal wrote:1) I need to click a play button to start to video.
Q: Is it possible to programatically start the video.


Seems it's encoded inside the movie, so you can only emulate a click.

metal wrote:2) It will launch a web page for advertisement and also when you click on video while you play it will also launch the web page to metavideo.
Q: How can I disable the launch of web page? Or how can I stop mouse click at all?


Please try to disable the control.

Also you can try to intercept and reject mouse clicks.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Wed Apr 02, 2008 6:56 am

BTW for your task it would be better if you use f_in_box__control with TransparentMode = true, because when TransparentMode is false, a control actually contains a child window. When TransparentMode is true, f_in_box__control is just one window -- in this case mouse clicks filtering and emulation are not very hard task.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html


Return to “.NET Edition”

Who is online

Users browsing this forum: No registered users and 15 guests

cron