Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
gdevelop5:objects:video [2019/09/30 16:55]
bouh
gdevelop5:objects:video [2020/03/18 01:08] (current)
bouh
Line 5: Line 5:
 <note important>​Video files can be very heavy, even for short videos, making your game longer to download and launch. Make sure to use a good compression and limit the length of the video as much as possible.</​note>​ <note important>​Video files can be very heavy, even for short videos, making your game longer to download and launch. Make sure to use a good compression and limit the length of the video as much as possible.</​note>​
 <note important>​Before a video can be played, you have to ensure that the player interacted first with your game (a simple click/touch on the screen is ok to allow to play videos)</​note>​ <note important>​Before a video can be played, you have to ensure that the player interacted first with your game (a simple click/touch on the screen is ok to allow to play videos)</​note>​
 +
 +<note important>​File must be a  **.mp4** format encoded as:
 +  * **H264** for the video,
 +  * **AAC** for the audio.
 +</​note>​
  
 Videos can be controlled using events: timing, state (play/​paused),​ audio volume... Videos can be controlled using events: timing, state (play/​paused),​ audio volume...