[PLUGIN] Video

Post your completed addons to share with the community

Post » Thu Dec 29, 2011 10:41 pm

Super cool.

How to insert a local file - e.g. if the file is stored in d:\movies\mymovie.mp4 on the local hard disk.
B
3
G
1
Posts: 10
Reputation: 545

Post » Fri Dec 30, 2011 12:58 am

I thought you need to put the video file into the exported folder.
See this, replace test file to yours.
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Thu Jan 19, 2012 8:02 pm

Hi Rex,

Thanks for your great contributions for C2 community!

I test this plugin with a mp4 video file, which I copied to exporter folder in the server (Dropbox).

Video Test

It worked in Chrome, but not in iPad/Safari!

Anyone has tested it in iPad?
B
90
S
5
G
8
Posts: 165
Reputation: 7,648

Post » Fri Jan 20, 2012 12:15 am

@NRABrazil

The performance of video tag is depend on browser, maybe the browser on ipad does not support video tag yet, sorry.
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Fri Jan 20, 2012 3:51 pm

It's no going to work like that on iOS since apple wants the video to load fullscreen (lots of problem with JS and video on iOS, like JS and audio...)
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Thu Feb 09, 2012 6:05 pm

test the case of "reading video file in exported folder", it work.

You can try by these steps.
1. download test file (movie.ogg) from gonzdevour's link
http://www.w3schools.com/html5/movie.ogg
2. in capx, assign src url to "movie.ogg", then export capx.
3. put movie.ogg downloaded (at step1) into export folder (at step2)
4. open the index.html in exported folder. It works in my testing.



You can also put it in a video folder by entering:

2b. in capx, assign src url to "video/movie.ogg", then export capx.

Then just make a folder named video and put that with all movies into your export folder.
B
8
S
3
G
2
Posts: 107
Reputation: 2,219

Post » Mon Feb 27, 2012 10:16 pm

I create intro with video file all display very nice but when i put space button to go to next layout didnt work.
I try with conditions'on ended' and 'is ended' go to another layout and dont work last frame of movie are displaying and freezes
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

Post » Mon Feb 27, 2012 10:59 pm

@delgado

It works fine in my computer. Test capx here
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Tue Feb 28, 2012 8:57 am

With WebGL dont work :) when i swith off
webgl all works fine:) But Author should do a update? :)
B
94
S
19
G
34
Posts: 1,840
Reputation: 27,988

Post » Tue Feb 28, 2012 11:49 am

Scirra should hire you
B
17
S
4
G
4
Posts: 137
Reputation: 3,767

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 4 guests