Skip to content

Instantly share code, notes, and snippets.

@alexrockt alexrockt/frame.php
Created Nov 4, 2016

Embed
What would you like to do?
LaMatric Frame with Sound
$frames = array(
"priority" => "info",
'icon_type' => 'none',
"model" => array(
"cycles" => 0,
"sound" => array(
"category" => "notifications",
"id" => "knock-knock",
"repeat" => 1
),
"frames" => array(
array(
"icon" => "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAUklEQVQYlWNUVFBgYGBgYBC98uE/AxJ4rSPAyMDAwMCETRJZjAnGgOlAZote+fCfCV0nOmA0+yKAYTwygJuAzQoGBgYGRkUFBQZ0dyDzGQl5EwCTESNpFb6zEwAAAABJRU5ErkJggg==",
"text" => "Hello"
)
)
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.