[PLUGIN] Video

Post your completed addons to share with the community

Post » Sat Nov 16, 2013 9:11 pm

If you want to set multiple sources dinamically (e.g. .mp4 & .ogg at runtime), you could add:

edittime.js, line 34:
---
AddStringParam("Source2", "The location (URL) of the video file", '""');
AddAction(0, 0, "Set source", "Setting", "Set video source to <i>{0}</i> <i>{1}</i>", "Set video source.", "SetSource");
---

runtime.js, line 202:
---
Acts.prototype.SetSource = function (src,src2)
{
     this.elem.src = src;
     this.elem.src = src2;
};
---

You could also add .webm this way as source3, for me two were enough.
B
2
Posts: 1
Reputation: 152

Post » Mon Dec 02, 2013 10:45 pm

Howdy,

I've started using Rex Video. Quite nice. Noticed a few things, in CSS top and left positions are continually updating with TICK, would I be able to remove this from my copy? Or is this typically how Construct2 organises elements inside the Canvas?

2. I can't seem to be able to click on all video controls. Its like something else overlays over the top. I can click on play/pause and audio on and off.. anyone else had this issue?

James

B
2
Posts: 9
Reputation: 168

Post » Tue Dec 03, 2013 12:27 am

Created new Construct2 Project, dragged video across, nothing else on layout except video. Then added Touch to Project, can click on slider first time, second time everything freezes, can no longer slide. Only in Chrome so far.
B
2
Posts: 9
Reputation: 168

Post » Wed Dec 04, 2013 11:10 am

Can this plug-in use with Node-Webkit ?
It's not work for me T-T
B
11
S
1
Posts: 84
Reputation: 1,462

Post » Mon Dec 09, 2013 9:45 am

Hey, Im quite new to Construct2 and programming and found this Rex Video plugin very useful. Currently Im working on a project where I need videos to have text subtitles (preferable from an external editable source).
Any thoughts on how to load an external file and display its content on a text object according to video time?
B
4
Posts: 3
Reputation: 206

Post » Fri Dec 13, 2013 7:28 pm

Why not make it optional (knowing there will be a performance hit).
This is exactly what i need. to put sprites that I control on the top layer, while the bottom one plays videos (depending)..
any recommendations
B
4
Posts: 5
Reputation: 512

Post » Wed Jan 01, 2014 7:10 pm

I just made a huge improvment to this script in order to make the video object be drawn inside the canvas insted of in a separate video html element.
This allows for example to have other game objects on top of the video, and also eliminates the "shrinking" and "delayed drag" behaviours verified in the current version.

Not fully tested though.

How should I release this changes I've made?
B
8
S
1
Posts: 5
Reputation: 437

Post » Fri Jan 03, 2014 9:24 pm

Hi!

I was just wondering how to play a video on bottom, to use my "chroma" effect (http://www.scirra.com/forum/chroma-effect_topic83592.html ) for a webcam on top of it.
So please, is there a way for Gaps to release his/her improvements?

B
39
S
11
G
5
Posts: 132
Reputation: 8,228

Post » Thu Jan 16, 2014 9:09 pm

The zip file appears to be broken? Is there a newer version I can download anywhere?

Thanks
B
22
S
7
Posts: 316
Reputation: 2,490

Post » Thu Jan 30, 2014 1:02 pm

i am used the video plugin and inserted a .mov video. it is working on the computer but not working in my ipad using cocoonjs. how should i make the video run on my ipad
B
1
Posts: 2
Reputation: 129

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest