Interested in HTML5 and other interactive web technologies? Then you’ve come to the right place. Here at Graphite Lab we always choose the best technology for the job. In today’s world, the job always includes mobile compatibility. Due to rigid platform restrictions, and the discontinued development of Flash mobile, we must turn to other methods of providing interactivity on the mobile web.

Last time, I showed a fairly simply Flash embed code using SWFobject to start off our web programming discussion here on the blog. Now I’d like to move on to share some of the Flash alternatives we’ve explored over the last year. In this post I will show a simple HTML5 video embed.

The HTML5 video tag is one of its most popular features. It allows video to be embedded in a website with traditional HTML code rather than with a Flash or Java player. There are many things to consider when setting this up. Most important to note is the video format. Since we do not have a player plugin rendering the video, the user’s web browser will actually be responsible for rendering the media. You guessed it: Every browser likes a different format for video! There is a detailed chart on Wikipedia’s HTML5 Video entry, showing which formats go on which browser, but essentially you need an .ogv, .webm, and .mp4 versions of your video to cover all browsers.

Create an HTML5 video element.


Now let’s add multiple sources to account for those non .mp4 playing browsers. Video and audio files can be converted online through various sites.


Not showing up yet? Your web server is most likely not set up to serve these new video types yet. All you need to do is edit your .htaccess file on the root of your site. If you don’t have one, just create a new file with this info and save as “.htaccess” and upload to your root. It should read:

AddType audio/ogg .oga
AddType audio/wav .wav
AddType video/ogg .ogv .ogg
AddType video/webm .webm
AddType video/mp4 .mp4

Now your videos should be showing up in any modern browser or phone!

There are a few more basic variables you can set to customize your video presentation. First we add the word “controls” to the tag indicating we want to allow the user to see the video player controls, such as Play, Seek, Mute, etc.


Next, I add a few more options. Autoplay and Loop are pretty self-explanatory. Poster refers to the image shown when the video is done playing, or before it begins if autoplay is off.


In the coming posts, we’ll explore more features of HTML5 and start looping in the necessary Javascript and jQuery to control it.

-Zack Smith
Interactive Developer at Graphite Lab

We’re bringing Lucky Luke: The Lonesome Cowboy Collection to PS5, Xbox Series, Switch 2, PS4, Xbox One, Switch, and PC!

Every game features quality-of-life improvements, including improved graphics, save states, achievements, visual filters, custom screen bezels, and rebindable controls!

 “How to Play” guides are there to onboard unfamiliar players and help them solve difficult challenges.

Add it to your wishlist!

#luckyluke #stlmade #comigsoon #gamedev #madewithunity
We've bought Smithsonian's Digging for Dinosaurs to Nintendo Switch! 

Pure Nintendo praised the game's educational fun, accessible controls, and ability to let young explorers learn and play independently.

Discover why it's a great adventure for curious kids, now available on Nintendo Switch!

Read the review: https://purenintendo.com/review-smithsonian-digging-for-dinosaurs-nintendo-switch/

#bestdinogames #bestgamesforswitch #kidsgames #learninggames #dinosaurs
Our next Educational Nintendo Switch release is coming soon!

Graphite Lab and @playdatedigital are bringing another @smithsonian educational adventure to Nintendo Switch with Smithsonian: Planets and the Solar System, launching October 29! 

Designed for curious young explorers, Planets combines interactive activities, mini-games, colorful animation, and fascinating astronomy facts to introduce kids to our solar system through play.

Wishlist now: https://www.nintendo.com/.../smithsonian-planets-and-the.../

Trailer: https://youtu.be/qTs--j2JjNQ

Looking for more educational kids content for your youngest players? Check out Smithsonian: Digging for Dinosaurs, too! Available now!

#solarsystem #stem #kidsgames #learninggamesforkids #nintendoswitch #edu
BOARD SPORTS is here!

Play Golf, Pool, and Bowling like never before in this three-game sports series only possible on Board. Here's why I love it: 

The "phygital" pieces offer new ways to interact. Twist, Swing and Slide to make the perfect golf shot, roll the perfect strike, or land the sweetest bank shot to sink the 8-ball. It just feels more fun on Board. 

It's made for friends and family, but is a blast playing solo as well. Different game modes, rules, and settings allow each game to suit all sorts of skill levels. 

It captures the "one more round" magic that brings me right back to the first time I loaded Wii Sports. 

We hope you love it, too!

Check out the game: 
https://board.fun/products/board-sports

Learn more about BOARD: 
https://board.fun/products/the-board

#boardisfun #stlmade #graphitelab #golf #bowling #billiards #madewithunity
New from Graphite Lab and Atari – its Centipede Swarm!
Centipede: Swarm fuses the arcade purity of Centipede with chaotic, power-scaling mayhem — evolving Atari’s classic for Amazon Luna Family Game Night! Play this four-player neon-drenched, bullet-hell roguelike Free with Prime on Amazon Luna.

Game: https://luna.amazon.com/game/centipede-swarm/B0FP79K7WS
Time is running out!

Hive Jump 2: Survivors is part of Steam Bullet Fest and is currently 50% OFF!

Blast through endless alien hordes and grab the deal before Bullet Fest ends on June 15 at 10 AM PST.

Hive Jump 2: Survivors:
https://store.steampowered.com/app/2545740/Hive_Jump_2_Survivors/ (https://store.steampowered.com/app/2545740/Hive_Jump_2_Survivors/)

See a
ll Bullet Fest games:

https://store.steampowered.com/category/bullet (https://store.steampowered.com/category/bullet)
#hivejump #game #50%off #deals
Rollercoaster Tycoon Classic is out for PS4, XBOX One, and Nintendo Switch 2! Grab your JoyCons and start building the park of your dreams! Now with mouse support controls and in 4k resolution. 

#rollercoasters #tycoon #nintendo #xbox #ps4
Must Play Bullet-Heaven games

Available now on Google Play!

#brotato #hivejump #vampiresurvivors #deathmustdie #20minutestilldawn
Fresh trailer! Hive Jump 2: Survivors, free to download on Google Play! As the lone survivor of a jump squad, you must mow down hordes, destroy hives, and use resources like alien goo and amber to unlock permanent upgrades.

Google Play: https://play.google.com/store/apps/details?id=com.graphitelab.hivejumpsurvivors
#indiegames #graphitelab #hivejump #games #popular
Hive Jump 2 is now officially on Google Play! Featured in Google’s Indie Selects, Hive Jump 2 is a sci-fi bullet heaven roguelite where players fight endless alien swarms using a jetpack to dodge and attack, collect resources to upgrade abilities and weapons in a quest for vengeance!

App Link: https://play.google.com/store/apps/details?id=com.graphitelab.hivejumpsurvivors&hl=en_US

#hivejump #hivejump2survivors #indiegames #googleplay #android
Loading the next set of instagram posts...