[PLUGIN] Video

0 favourites
From the Asset Store
Add SubRip (SRT) subtitles to your videos in Construct 3
  • Smit

    I had no experience on using PhoneGap, sorry.

    Maybe Pode has some idea.

  • It's a Java plugin. So you need to bundle it yourself when you export to Phonegap.

  • After doing some more research it turns out that the broken video tag is a problem with Webview and only effects older android versions. I've tested this on Android 4.0+ and the video plays correctly.

    However autoplay doesnt work, neither does the "on ended" event.

    Since I'm targeting android 4.0+ users the problem is solvable <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Is there a way to set the video source, so it will be read on android devices after building it as an app? The current way of doing this by using "local storage" doesn't translate to an app on Android devices.

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

    rexrainbow

    I tried these steps but exporting to Node Webkit Desktop export and placed the movie.ogg into the same folder where lies the ".exe". All I get is a black screen. Have you tried this?

    I am using the last stable 1.19.

  • Jailson

    3. put movie.ogg downloaded (at step1) into export folder (at step2)

    In Node Webkit Desktop export, it seems to auto pack the export folder, so that you might not do this step success.

    My solution is, put video in "file" property at the right side of editor (default). Just like put a text into "file".

    But... I'm not sure, this method works wired...

  • Jailson

    My solution is, put video in "file" property at the right side of editor (default). Just like put a text into "file".

    rexrainbow

    I didn't understand what you mean. Could you please give another step by step? <img src="smileys/smiley9.gif" border="0" align="middle" />

  • when i use your video plugin, i compile my app who play webm videos.

    i compile my apps with Node-webkit, on pc the app works perfectly, but the generated DMG for mac osx dont work at all.

    Have you tried your plugin+webm videos compiled for mac???

  • > Jailson

    >

    > My solution is, put video in "file" property at the right side of editor (default). Just like put a text into "file".

    >

    >

    rexrainbow

    I didn't understand what you mean. Could you please give another step by step? <img src="smileys/smiley9.gif" border="0" align="middle" />

    I assume he means that he imports the file into Construct 2 (right click, import files in the bottom right window) but even after importing, this still doesn't work for me offline. Any help would be much appreciated!

  • Jailson imothep85 Agni

    Here is a demo of video using ogg format. It could be played at chrome browser and node-webkit (exe). But, I have no idea why the length of video had become 0.1 second.

    The ogg format only could be added at "music" folder, never mind.

    Here is a demo of video using mp4 format. It could be played at chrome browser (in preview mode) without any problem. But, it could not be played at node-webkit.

  • i would like to know of more options was added, or if this plugin was updated? <img src="smileys/smiley17.gif" border="0" align="middle" />

  • imothep85

    This plugin did not have new version.

    Well, you could update it again to get the latest version.

  • Hello HOW to make the video plugin stop shaking when i do the "run layout???

    Th video player shakeallways hen i watch a video, the player move from left to right with mini shakes, and its impossible to watch the video.

  • imothep85

    What's your testing browser? (IE might have this problem)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • well its the same in every browser, and when its compiled in EXE too, when its full screen you dont see the video shaking, but when its on window mode in the html pahe or in the xe; the player start shaking.

    I FOUND THE PROBLEM:

    the bug arrive only when i put: Fullscreen in browser: SCALE or LETTER BOX SCALE or CROP.

    AND the only way for solving that is to do the app at the same size of the video, and is no more shake :s but if for example my videos is in 720x405 and my layout in 1280x720, the bug start again

    but if i need to put others stuffs in my app, like a scrolling text in the bottom of the app or a menu etc whell its the same problem.

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