[PLUGIN] Video

  • Hello!

    I want to insert a video for an executable versi?n of my videogame (with awesomium). I tried this:

    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

    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.

    But it doesn't work. Any help?

    Thanks!

  • nastycloud

    This plugin only played video on browser. Sorry I don't have time to make it working on awesomium platform.

  • Hi, great plugin.

    Have you tested on mobile using CocoonJS? thanks!

  • 3division

    No, I don't think it will pass in cocoonJS, sorry.

  • Rex we are using your plugin in some games with videos. We are converting to HTML5 and opening in browsers but not working on ipad, Is there any way to embed the videos so that they work well on ipad?

    Please help us on it

  • RoSecco

    Sorry, I don't have ipad to test the problem.

    Pode , do you have any idea about playing video on ipad?

  • RoSecco rexrainbow : on ipad/iphone (ios in general), the <video> can't work like that. In fact, if you want to launch a video, it's going to display in fullscreen, with the controls of the platform (meaning you can't style them, you can't autoplay the video, and you don't have any info about when it's finished).

  • Hi,

    I've got some problems with this plugin when I try to export the project and open it on firefox. the video doesn't play and I don't know what's happening, because the video plays on the IE and plays too on Google Chrome.

    Can someone help me, please?

    <img src="smileys/smiley5.gif" border="0" align="middle" />

  • gblima

    Humm... I guess... maybe the format of video. Are you useing "mp4" video? You might provide another video format like "webM" or "ogg" for firefox.

  • Is there a way to reverse play the video? Something such as reverse = true/false and it starts at the last time elements and works back to 0?

    Thanks.

    Draco

  • dracogriff

    I though the video tag of html5 did not support this feature. (Am I right, Pode ?)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • rexrainbow : the HTML5 video tag allows it, but it depends on the browser, the OS and the codec. Since most video codec are designed to stream a few block of images, display them, and do that chunk after chunk. That means that depending of the combination of sources listed above, the display can be choppy, or even not working at all.

  • Is there anyway I can play the video behind sprites? i mean it does not follow the layering it's always at the top even though it's layer is at the bottom.

  • snapworxdigital : the video frame is overlayed on top of the game canvas. It wouldn't be wise to paint the video inside the canvas without getting a hit on the performances...

  • RoSecco rexrainbow : on ipad/iphone (ios in general), the <video> can't work like that. In fact, if you want to launch a video, it's going to display in fullscreen, with the controls of the platform (meaning you can't style them, you can't autoplay the video, and you don't have any info about when it's finished).

    Does this mean you cant use the "on ended" event?

    I'm also having problems using this plugin when building an Android app. I found a post saying that the video tag is basically broken on Android. But there is a solution here, is it posible to combine/implement this in the plugin?

    Or another workaround?

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