Description

Easily play back video in your HTML5 GameMaker Studio games! Useful for in-game cutscenes or ads

Live Demo

http://vourtsis.com/sandbox/exvideo-html5/

Features

  • Play, Stop, Pause, Resume, Loop video
  • Get if video is playing or is paused
  • Set and get size & position
  • Set track position and retrieve current position and duration
  • 3 different scale modes, fill, cover and contain
  • Easy to adjust video even after your game goes fullscreen
  • Set letterbox visibility
  • Rotate video
  • Rotate video in 3D space (X, Y, Z, Perspective)
  • Set video transparency
  • Auto fallback in mp4, m4v, ogv, webm (1)
  • Supports YouTube videos with all above features (just supply the URL)
  • Click events get passed to your game window (2)
  • Fully documented

Tested in Browsers

  • Google Chrome 39
  • Mozilla Firefox 35
  • Opera 26
  • Internet Explorer 11 (3)

Tested with Modules

  • HTML5

Notes

(1) You do need to manually convert the other video formats using a converter

(2) Click through events for Internet Explorer works for IE11 and up

(3) Rotate 3D effects do not work as expected in Internet Explorer (and some mobile browsers) http://caniuse.com/#feat=transforms3d

(*) Mobile browsers' video implementation differs and do not support autoplay because of concerns over data usage costs (https://github.com/flowplayer/flowplayer/wiki/1.3-Autoplay-does-not-work-on-mobile-device), this issue may be worked around in the future

More info

End User Licence Agreement (EULA).

Required Modules

HTML5 Export

Changes in 1.1.6

  • Fixed YouTube API changes throwing errors in the console

Version 1.1.6. Published November 3, 2016

Created with GameMaker: Studio v1.4.1763

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Santiago S 28 December 2016

Great support


Gravatar

Rene C 01 November 2016

Great, but need a fix before buying

The asset is great, but it should not be used with youtube videos. Even with interactive mode OFF, you lose control over mouse click for several seconds. Please fix it.

This review was left for a previous version of this asset.

Logo

alexandervrs (Publisher) 03 November 2016

I just added an updated version 1.1.6 which fixes this. It was YouTube changing their API.
They also need you to check if their API is loaded correctly now before doing anything with it, did not give out any errors before.


Gravatar

Jack S 04 February 2015

Do Not Buy

Javascript source code is obfuscated.

You can't fix bugs, you can't learn from it.

--- Ok that was weird... new project and importing this GMS partially imported another extension. Why I don't know ... but that can cause some really weird errors.

Still can't recommend this since the source is obfuscated - it's not maintainable long term (since it's a forced external dependency on the author). Still 2 stars now for at lest working when not being blown up by GMS x_x.

This review was left for a previous version of this asset.

Logo

alexandervrs (Publisher) 23 August 2016

Javascript source is now open (check the "exVideo Source" folder in Included Files)


Gravatar

Ruben W 04 September 2014

Hoera!

It's almost working like expected :) Not using it yet because I lose (mouse) focus over the GameMaker canvas with YouTube set on interactive.

Pro:
- Works like a charm
- asked for a feature and got great response :)
- 3d rotating video's
- Easy

Con:
- 1 Video at the time

Bug:
- using window_set_size(browser_width,browser_height); gives the browser window overflow when a video is active.

This review was left for a previous version of this asset.

Package contents

Total size 636 KB

exVideo HTML5.extension.gmx 18.6 KB exVideo HTML5
exvideo.js 28.2 KB Assets
datafiles
test.mp4 91.4 KB test.ogv 158 KB test.webm 185 KB Video_Conversion_Guide.txt 593 Bytes Video_Convert_File_HTML5.bat 619 Bytes exVideo Documentation
Manual.html 4.64 KB Manual_files
contents fonts images javascripts stylesheets
exVideo Source
Fonts Objects Rooms

What is the issue?

Back to Top