[PLUGIN] Video

Post your completed addons to share with the community

Post » Tue Apr 30, 2013 11:03 am

@mrcgkh

Put an image url at "Poster" property.

Here is a video plugin demo with auto-play, open it at chrome. It need a delay to preload some video stream then auto-play. Looks fine in this test.
Capxrexrainbow2013-04-30 11:09:33
B
97
S
22
G
176
Posts: 4,109
Reputation: 103,021

Post » Tue Apr 30, 2013 11:08 am

@Jota

Could you provide me a simple capx?
B
97
S
22
G
176
Posts: 4,109
Reputation: 103,021

Post » Wed May 01, 2013 11:22 pm

@Rexrainbow,
Do you know if there is a way to disable the right click of saving the video and copying the URL? I want to protect some videos I am making from being downloaded easily.

Thanks.
B
94
S
29
G
11
Posts: 1,545
Reputation: 20,993

Post » Thu May 02, 2013 1:29 pm

Disabling Right click will not stop to see the urls. In Firefox
Tools menu -> Page Info -> Media will reveal videos
B
20
S
8
G
6
Posts: 176
Reputation: 8,047

Post » Thu May 02, 2013 2:40 pm

@mrcgkh

Thank you.
B
94
S
29
G
11
Posts: 1,545
Reputation: 20,993

Post » Sat May 04, 2013 9:38 am

Hi @rexrainbox

I want to add custom controls. How can i add actions for
First Frame
Previous Frame
Next Frame
Last Frame controls?
B
20
S
8
G
6
Posts: 176
Reputation: 8,047

Post » Sat May 04, 2013 1:00 pm

Also i want to add a sprite to top of video. Editing Z-Order has no effect. Sprites shown always at the bottom of the video
B
20
S
8
G
6
Posts: 176
Reputation: 8,047

Post » Mon May 06, 2013 4:54 am

@mrcgkh

What's the "frame"? Is it a frame of C2 game engine? (1/60), or a frame of this video?

I could add an action to seek the video to a target time, and it could implement "go to frame" (time unit = 1/60).
B
97
S
22
G
176
Posts: 4,109
Reputation: 103,021

Post » Mon May 06, 2013 9:02 am

@rexrainbow
First i want to say thanks for this great plugin.

I mean the frame of the video.

Here's my test:
http://db.tt/G2zvWyWU   (There are 4 videos. May take a long time to load)

Because of Z-Order didn't worked I tried this solution. I rendered first and last frame as a image. After the end of the video i moved the video to negative coordinates. And call the last frame as an image. The coordinates of the image and video seems fine on C2 but they're moving a fex pixels in browser.
B
20
S
8
G
6
Posts: 176
Reputation: 8,047

Post » Mon May 06, 2013 9:12 am

@mrcgkh

I only found the solution of seeking to a target time in second. But I had not found how to seek to a target time in frame, sorry. Any idea? @Pode .

I will try the zo-rder again, in my experience, it is possible.rexrainbow2013-05-06 09:13:06
B
97
S
22
G
176
Posts: 4,109
Reputation: 103,021

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: spongehammer, thapelofocus and 3 guests