JS Embed
JS Embed is used to represent <script>
elements
Format
HTML
<script id="infogram_0_trump_trending_downward_on_broadcast_media"
title="Trump trending downward on broadcast media"
src="//e.infogr.am/js/embed.js?wYj"
type="text/javascript">
</script>
JSON
{
"type": "jsembed",
"embed-js": "PHNjcmlwdCBpZD0iaW5mb2dyYW1fMF90cnVtcF90cmVuZGluZ19kb3dud2FyZF9vbl9icm9hZGNhc3RfbWVkaWEiIHRpdGxlPSJUcnVtcCB0cmVuZGluZyBkb3dud2FyZCBvbiBicm9hZGNhc3QgbWVkaWEiIHNyYz0iLy9lLmluZm9nci5hbS9qcy9lbWJlZC5qcz93WWoiIHR5cGU9InRleHQvamF2YXNjcmlwdCI+PC9zY3JpcHQ+"
}
Schema
Key | Type |
---|---|
type * | String, Value should be jsembed |
embed-js * | Base 64 Encoded String of Embed code |