[PLUGIN] Video

0 favourites
From the Asset Store
8-bit retro-style music and sound effects: 10 loops-able music tracks and 301 individual SFX!
  • Hum... I have no idea about copyright of video if I use the video for a tutorial in this case. Could someone provide a 'safe' video url in *.webm format?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Maybe you can try this settings:

    <img src="http://i1220.photobucket.com/albums/dd443/gonzdevour/video.jpg" border="0" />

    Paste this link on properties>source:

    w3schools.com/html5/movie.ogg

    Remember to create a video object at first, of course.

  • It works, which is good. But now how would you point it to a file on your computer? like a video file within the project( someone should make it possible to import video files hint hint ;) ) Would you use a regular computer file URL or would you specifically have to upload it to a server?

  • The plugin interfaces the video standard of HTML5, so streaming of videos hosted online.

    You have to make your video in a compliant format, host it on a server (with the correct mime type), and use its url as parameter in the plugin as Gonzdevour showed.

  • I 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

    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.

  • 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.

  • I thought you need to put the video file into the exported folder.

    See this, replace test file to yours.

  • 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?

  • NRABrazil

    The performance of video tag is depend on browser, maybe the browser on ipad does not support video tag yet, sorry.

  • 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...)

  • 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

    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.

  • 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

  • delgado

    It works fine in my computer. Test capx here

  • With WebGL dont work :) when i swith off

    webgl all works fine:) But Author should do a update? :)

  • Scirra should hire you <img src="smileys/smiley32.gif" border="0" align="middle" />

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)