Add Multiplayer to a Game in Four Steps using Amazon GameLift

Published August 23, 2019 by Amazon Game Tech, posted by GameDev.net
Do you see issues with this article? Let us know.
Advertisement
 
$(document).ready(function(e) { var player = videojs('gamedev_video', { controls: true, autoplay: 'muted', preload: 'auto' }); player.src({type: 'video/mp4', src: 'https://storage.googleapis.com/gamedev-files/campaigns/gamelift/amazongamelift_music.mp4'}); player.ready(function() { player.play(); }); player.on('play', function() { ga('send','event','Campaign','gamelift-video-july2019', 'play'); }); player.on('volumechange', function() { ga('send','event','Campaign','gamelift-video-july2019', 'volume'); }); });
Cancel Save
0 Likes 2 Comments

Comments

mrgreerm

What video?

March 12, 2020 12:55 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement