Code is here
The problem is if the calendar is completely shown in screen, the dayclick event and select event work fine, but if you change the resolution or the screen size, in those days that they are not shown the events doesn´t work.
$(function() {
$('#calendar').fullCalendar({
customButtons: {
botonMenu: {
text: ' # OPCIONES ',
click: function() {
$('#calendar_menu_lateral').sidebar('toggle');
}
}
},
header: {
left: 'prev,next today botonMenu',
center: 'title',
right: 'month, agendaWeek, agendaDay'
},
defaultDate: '2017-03-22',
defaultView: 'month',
editable: true,
selectable: true,
select: function(start, end, jsEvent, view) {
var m = moment(start);
var date = m.format()
if (view.name != 'agendaDay') {
$('#calendar').fullCalendar('changeView', 'agendaDay');
$('#calendar').fullCalendar('gotoDate', date);
} else if (view.name == 'agendaDay') {
$("input[name=inicio]").val(date);
$("input[name=finaliza]").val(date);
$("input[name=nombreEvento], #usersadds").val("");
$("#usuarios").html("");
$("#tipoEvento").prop('selectedIndex', 0);
$("#fieldsUsuarios").slideUp();
$("#eventos").modal('show').css({
'top': '40px',
'margin-top': '0'
});
}
},
eventClick: function(evento, jsEvent, view) {
var ini = moment(evento.start).format("dddd DD-MM-YYYY HH:mm");
var fin = moment(evento.end).format("dddd DD-MM-YYYY HH:mm");
if (ini == "Invalid date")
ini = "Sin horario de inicio"
if (fin == "Invalid date")
fin = "Sin horario de finalización";
$("#origen_").html(evento.origen);
$("#titulo_").html(evento.title);
$("#descripcion_evento").html(evento.descripcion);
$("#link_evento").html(evento.link);
$("#link_evento").prop("href", evento.link);
$("#horarios_").html(ini.capitalizeWords() + " - " + fin.capitalizeWords());
$("#id_evento").val(evento.id);
$("#usuario_").val(evento.origen);
if (usuario_origen == evento.origen)
$("#eliminar_evento").show();
else
$("#eliminar_evento").hide();
$("#info_").modal("show").css({
'top': '40px',
'margin-top': '0'
});
},
events: [{
"id": "3",
"title": "asdf",
"start": "2017-03-31 10:30:00",
"end": "2017-03-31 10:30:00",
"color": "orange",
"editable": false,
"borderColor": "black",
"textColor": "black",
"origen": "herherrera",
"descripcion": "asdf",
"link": "https:\/\/intranext.ejercito.mil.ar"
}, {
"id": "1",
"title": "Primera anotacion",
"start": "2017-03-08 07:00:00",
"end": "2017-03-08 07:00:00",
"color": "purple",
"origen": "aramone",
"descripcion": "aguna guebada",
"link": ""
}, {
"id": "2",
"title": "asdfasdf",
"start": "2017-03-10 06:30:00",
"end": "2017-03-10 06:30:00",
"color": "orange",
"origen": "aramone",
"descripcion": "ls\u00f1akflpsdaf asdfasdf",
"link": ""
}, {
"id": "6",
"title": "tres",
"start": "2017-03-11 06:00:00",
"end": "2017-03-11 07:00:00",
"color": "purple",
"origen": "aramone",
"descripcion": "adfasdf asdfm asdka s{lasdpf{adsfui adskf as\u00f1dkfupwaidj casoiudf asdf",
"link": ""
}, {
"id": "7",
"title": "otro mas",
"start": "2017-03-09 09:30:00",
"end": "2017-03-10 09:30:00",
"color": "grey",
"origen": "aramone",
"descripcion": "asdgf asdfasdf a asdfasdfa sd",
"link": ""
}]
});
});
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.8/semantic.min.css" rel="stylesheet"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.8/semantic.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.1/moment.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.2.0/fullcalendar.min.css" rel="stylesheet"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.2.0/fullcalendar.min.js"></script>
<div class="ui container">
<div id="calendar"></div>
</div>
found a solution:
.fc-scroller { overflow-x: visible !Important; }
Related
I have a query:
SELECT c.mainColour,t AS colour
FROM c
JOIN t IN c.creatorStyleMainColours
WHERE c.creatorDefaultStyleProfile = "test"
and it returns whole of the array inside the new colour object:
[
{
"colour": {
"mainColour": "black",
"colourPairings": [
"orange",
"silver",
"gold"
]
}
}
]
I need it to just return the main colour values
how do I just select the value of the "mainColour" so its a simple array like ["black","beige","white"] from the document below
I have tried:
SELECT VALUE c.mainColour,t AS colour
FROM c
JOIN t IN c.creatorStyleMainColours
WHERE c.creatorDefaultStyleProfile = "test"
but that returns a syntax error.
Here is the full document:
{
"accountId": "59951c4d-1f0b-483b-a020",
"creatorDefaultStyleProfile": "test",
"creatorDefaultStyleGender": "Female",
"creatorStyleAccountName": "",
"creatorStyleCategory": [
{
"categoryCode": "fashion",
"categoryName": "Fashion",
"categoryMetadata": {
"occasions": [
{
"occasionCode": "casual",
"occasionName": "Casual",
"occasionTypes": [
{
"occasionCode": "out",
"occasionName": "Everyday Wear"
}
]
}
],
"season": [
{
"seasonCode": "spring",
"seasonName": "Spring"
}
]
},
"id": "fashion"
}
],
"creatorStyleDescription": "",
"creatorStyleId": "Classic_Default",
"creatorStyleImages": [
{
"styleImageUrl": "https://4965fa50-6caf-11ed-8082e.png",
"styleImageCategory": "fullsize",
"styleImageResolution": {
"width": 269.25,
"height": 359
},
"styleImagePins": [
{
"itemId": "F243906F37487C78D7EB99880142B370",
"vector": {
"x": 198.125,
"y": 44.33332824707031
}
},
{
"itemId": "9B543E0DC1B05F6E9AFD0A88285AEEF9",
"vector": {
"x": 52.791656494140625,
"y": 46.33332824707031
}
},
{
"itemId": "3E6464FC1F12E3C6E435F751438F1468",
"vector": {
"x": 120.45832824707031,
"y": 320.3333282470703
}
},
{
"itemId": "1CD6065A4C7A0BD66E44DC8A62448534",
"vector": {
"x": 115.45832824707031,
"y": 192
}
}
]
}
],
"creatorStyleItems": [
{
"creatorStyleItemId": "9B543E0DC1B05F6E9AFD0A88285AEEF9",
"ItemType": "Chest",
"creatorStyleItemName": "t-shirt",
"creatorStyleItemImages": [
{
"imageUrl": "https://images/23660493-1-white?$XXL$",
"imageCategory": "thumbnail"
}
]
},
{
"creatorStyleItemId": "F243906F37487C78D7EB99880142B370",
"ItemType": "Chest",
"creatorStyleItemName": "chunky knit cardigan",
"creatorStyleItemImages": [
{
"imageUrl": "https://images/14399002-1-black?$XXL$",
"imageCategory": "thumbnail"
}
]
},
{
"creatorStyleItemId": "1CD6065A4C7A0BD66E44DC8A62448534",
"ItemType": "Leg",
"creatorStyleItemName": " mom jeans",
"creatorStyleItemImages": [
{
"imageUrl": "https://images-blue/202501450-1-denimblack?$XXL$",
"imageCategory": "thumbnail"
}
]
},
{
"creatorStyleItemId": "3E6464FC1F12E3C6E435F751438F1468",
"ItemType": "Feet",
"creatorStyleItemName": "trainers",
"creatorStyleItemImages": [
{
"imageUrl": "https://images./203112454-1-brown?$XXL$",
"imageCategory": "thumbnail"
}
]
}
],
"creatorStyleMainColours": [
{
"mainColour": "black",
"colourPairings": [
"beige",
"grey",
"white"
]
},
{
"mainColour": "beige",
"colourPairings": [
"black",
"grey",
"white"
]
},
{
"mainColour": "white",
"colourPairings": [
"beige",
"grey",
"black"
]
}
],
"creatorStyleMerchantGroup": "test1",
"creatorStyleName": "",
"creatorStyleProfiles": [
{
"id": "",
"profileAccountId": "test1",
"profileId": "test1",
"profileIsDefault": false,
"profileName": "classic",
"profileBiometric": {
"biometricName": "",
"biometricGender": "Female",
"biometricHeight": [
],
"biometricAgeRange": [
],
"biometricHairColour": [
],
"biometricSkinColour": [
],
"biometricBodyShape": [
],
"biometricMeasurement": {
}
},
"profilePersona": {
"personaName": "",
"personaDressSense": [
],
"personaInterests": [
],
"personaStyleIcons": [
],
"personaColours": [
]
}
}
],
"creatorStyleStatus": {
"styleStatusId": "nonpublished",
"styleStatusDescription": ""
},
"id": "classicStyle1",
"_rid": "IW43AJ08x+8BAAAAAAAAAA==",
"_self": "dbs/IW43AA==/colls/IW43AJ08x+8=/docs/IW43AJ08x+8BAAAAAAAAAA==/",
"_etag": "\"97005ae1-0000-1500-0000-638523be0000\"",
"_attachments": "attachments/",
"_ts": 1669669822
}
I got a scenario of completing 3 deliveries.
Delivery 1 - 1 Pickup (P1) and 3 Drop offs (D11,D12,D13).
Delivery 2 - 1 Pickup (P2) and 2 Drop offs (D21,D22).
Delivery 3 - 1 Pickup (P3) and 3 Drop offs (D31,D32,D33).
it should provide a route in a way that next pickup should happen after existing delivery is completed.
e.g. if we consider P2 as first point then P1 or P3 must come after D21 and D22. Here sequence of Drop offs can be anything.
The HERE Tour Planning API should be able to solve your problem. Here you can define your jobs with pickups and deliveries, and the API provides you an optimized tour.
You can also define properties of your fleet, to take into account.
https://developer.here.com/documentation/tour-planning/dev_guide/index.html
Example request:
{
"id": "7f3423c2-784a-4983-b472-e14107d5a54a",
"plan": {
"jobs": [
{
"id": "7f3423c2-784a-4983-b472-e14107d5a54a",
"places": {
"pickup": {
"times": [
[
"2019-07-04T08:00:00Z",
"2019-07-04T10:00:00Z"
],
[
"2019-07-04T16:00:00Z",
"2019-07-04T18:00:00Z"
]
],
"location": {
"lat": 52.53088,
"lng": 13.38471
},
"duration": 180,
"tag": {
"tag": "some tag"
}
},
"delivery": {
"times": [
[
"2019-07-04T08:00:00Z",
"2019-07-04T10:00:00Z"
],
[
"2019-07-04T16:00:00Z",
"2019-07-04T18:00:00Z"
]
],
"location": {
"lat": 52.53088,
"lng": 13.38471
},
"duration": 180,
"tag": {
"tag": "some tag"
}
}
},
"demand": [
10,
5
],
"skills": [
"fridge"
]
}
],
"relations": [
{
"type": "sequence",
"jobs": [
"departure",
"job1",
"break",
"job2"
],
"vehicleId": "7f3423c2-784a-4983-b472-e14107d5a54a"
}
]
},
"fleet": {
"types": [
{
"id": "7f3423c2-784a-4983-b472-e14107d5a54a",
"profile": {
"tag": "big truck"
},
"costs": {
"fixed": 22,
"distance": 0.0001,
"time": 0.0048
},
"shifts": [
{
"start": {
"time": "2019-07-04T00:00:00Z",
"location": {
"lat": 52.53088,
"lng": 13.38471
}
},
"end": {
"time": "2019-07-04T00:00:00Z",
"location": {
"lat": 52.53088,
"lng": 13.38471
}
},
"breaks": [
{
"times": [
[
"2019-07-04T08:00:00Z",
"2019-07-04T10:00:00Z"
],
[
"2019-07-04T16:00:00Z",
"2019-07-04T18:00:00Z"
]
],
"duration": 180,
"location": {
"lat": 52.53088,
"lng": 13.38471
}
}
]
}
],
"capacity": [
10,
5
],
"skills": [
"fridge"
],
"limits": {
"maxDistance": 20000,
"shiftTime": 21600
},
"amount": 1
}
],
"profiles": [
{
"name": {
"tag": "big truck"
},
"departureTime": "2019-07-04T00:00:00Z",
"avoidRoutes": {
"features": [
"tollRoad"
]
},
"type": "car"
}
]
},
"configuration": {
"optimizations": {
"traffic": "liveOrHistorical",
"waitingTime": {
"reduce": true,
"bufferTime": 15
}
}
}
}
Response:
{
"problemId": "7f3423c2-784a-4983-b472-e14107d5a54a",
"statistic": {
"cost": 1024,
"distance": 32000,
"duration": 180,
"times": {
"driving": 3600,
"serving": 600,
"waiting": 180,
"break": 1200
}
},
"tours": [
{
"vehicleId": "7f3423c2-784a-4983-b472-e14107d5a54a",
"typeId": "7f3423c2-784a-4983-b472-e14107d5a54a",
"stops": [
{
"location": {
"lat": 52.53088,
"lng": 13.38471
},
"time": {
"arrival": "2019-07-04T00:00:00Z",
"departure": "2019-07-04T00:00:00Z"
},
"load": [
10,
5
],
"activities": [
{
"jobId": "7f3423c2-784a-4983-b472-e14107d5a54a",
"jobTag": {
"tag": "some tag"
},
"type": "delivery",
"location": {
"lat": 52.53088,
"lng": 13.38471
},
"time": {
"start": "2019-07-04T00:00:00Z",
"end": "2019-07-04T00:00:00Z"
}
}
]
}
],
"statistic": {
"cost": 1024,
"distance": 32000,
"duration": 180,
"times": {
"driving": 3600,
"serving": 600,
"waiting": 180,
"break": 1200
}
}
}
],
"unassigned": [
{
"jobId": "7f3423c2-784a-4983-b472-e14107d5a54a",
"reasons": [
{
"code": 1,
"description": "cannot serve required skill"
}
]
}
]
}
I have a problem with the following situation.
json:
{
"reviews": [
{
"title": "aaaaaaaaaaaaaaaaaaaa",
"user": {
"firstName": "Tom",
"hasPicture": false,
"gender": "MALE",
"ageGroup": "71",
"registerDate": 1337040000000
},
"bookingDate": 1459468800000,
"product": {
"name": "XS33"
},
"recommendation": true,
"proofedBooking": true
},
{
"title": "bbbbbbbbbbbbbbbbbbbb",
"user": {
"firstName": "Jim",
"hasPicture": false,
"gender": "MALE",
"ageGroup": "31",
"registerDate": 1337040000000
},
"bookingDate": 1459468800000,
"product": {
"name": "XS33"
},
"recommendation": true,
"proofedBooking": true
},
{
"title": "ccccccccccccccccccccccccc",
"user": {
"firstName": "Jane",
"hasPicture": false,
"gender": "FEMALE",
"ageGroup": "68",
"registerDate": 1337040000000
},
"bookingDate": 1459468800000,
"product": {
"name": "XS33"
},
"recommendation": true,
"proofedBooking": true
}
],
"total": 4396,
"facets": {
}
}
How can I do a repeater and display the results like:
start repeater of title
aaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbb
ccccccccccccccccccccccc
end repeater
thanks in advance for your help.
I am trying to use Data Loader from amCharts in WordPress, but I have no success. I am starting with an default Stock Chart and replacing the JS dataset structure with the one from the github site. Then I change the corresponding field values but I always get an empty site. I am using a CSV file on the same server to make sure it is not an access to external sources problem.
Does someone maybe have a complete code?
Here is my not working code so far:
var chart = AmCharts.makeChart("chartdiv", {
"type": "stock",
"color": "#fff",
"dataSets": [{
"title": "MSFT",
"fieldMappings": [{
"fromField": "Open",
"toField": "open"
}, {
"fromField": "High",
"toField": "high"
}, {
"fromField": "Low",
"toField": "low"
}, {
"fromField": "Close",
"toField": "close"
}, {
"fromField": "Volume",
"toField": "volume"
}],
"compared": false,
"categoryField": "Date",
/**
* data loader for data set data
*/
"dataLoader": {
"url": "uploads/2015/12/table.csv",
"format": "csv",
"showCurtain": true,
"showErrors": true,
"async": true,
"reverse": true,
"delimiter": ",",
"useColumnNames": true
},
}],
//"dataDateFormat": "YYYY-MM-DD",
"panels": [{
"title": "Value",
"percentHeight": 70,
"stockGraphs": [{
"type": "candlestick",
"id": "g1",
"openField": "open",
"closeField": "close",
"highField": "high",
"lowField": "low",
"valueField": "close",
"lineColor": "#fff",
"fillColors": "#fff",
"negativeLineColor": "#db4c3c",
"negativeFillColors": "#db4c3c",
"fillAlphas": 1,
"comparedGraphLineThickness": 2,
"columnWidth": 0.7,
"useDataSetColors": false,
"comparable": true,
"compareField": "close",
"showBalloon": false,
"proCandlesticks": true
}],
"stockLegend": {
"valueTextRegular": undefined,
"periodValueTextComparing": "[[percents.value.close]]%"
}
},
{
"title": "Volume",
"percentHeight": 30,
"marginTop": 1,
"columnWidth": 0.6,
"showCategoryAxis": false,
"stockGraphs": [{
"valueField": "volume",
"openField": "open",
"type": "column",
"showBalloon": false,
"fillAlphas": 1,
"lineColor": "#fff",
"fillColors": "#fff",
"negativeLineColor": "#db4c3c",
"negativeFillColors": "#db4c3c",
"useDataSetColors": false
}],
"stockLegend": {
"markerType": "none",
"markerSize": 0,
"labelText": "",
"periodValueTextRegular": "[[value.close]]"
},
"valueAxes": [{
"usePrefixes": true
}]
}
],
panelsSettings: {
color: "#fff",
plotAreaFillColors: "#333",
plotAreaFillAlphas: 1,
marginLeft: 60,
marginTop: 5,
marginBottom: 5
},
chartScrollbarSettings: {
graph: "g1",
graphType: "line",
usePeriod: "WW",
backgroundColor: "#333",
graphFillColor: "#666",
graphFillAlpha: 0.5,
gridColor: "#555",
gridAlpha: 1,
selectedBackgroundColor: "#444",
selectedGraphFillAlpha: 1
},
categoryAxesSettings: {
equalSpacing: true,
gridColor: "#555",
gridAlpha: 1
},
valueAxesSettings: {
gridColor: "#555",
gridAlpha: 1,
inside: false,
showLastLabel: true
},
chartCursorSettings: {
pan: true,
valueLineEnabled: true,
valueLineBalloonEnabled: true
},
legendSettings: {
color: "#fff"
},
stockEventsSettings: {
showAt: "high",
type: "pin"
},
balloon: {
textAlign: "left",
offsetY: 10
},
periodSelector: {
position: "bottom",
periods: [{
period: "DD",
count: 10,
label: "10D"
}, {
period: "MM",
count: 1,
label: "1M"
}, {
period: "MM",
count: 6,
label: "6M"
}, {
period: "YYYY",
count: 1,
label: "1Y"
}, {
period: "YYYY",
count: 2,
selected: true,
label: "2Y"
}, {
period: "YTD",
label: "YTD"
}, {
period: "MAX",
label: "MAX"
}]
}
});
}
I have tried to post this video to our word press site using the same approach via youtube approach and code. How do get this to work? Thanks.
{
"talk": {
"id": 1,
"name": "Al Gore: Averting the climate crisis",
"description": "With the same humor and humanity he exuded in <em>An Inconvenient Truth,<\/em> Al Gore spells out 15 ways that individuals can address climate change immediately, from buying a hybrid to inventing a new, hotter \"brand name\" for global warming.",
"slug": "al_gore_on_averting_climate_crisis",
"recorded_at": "2006-02-25 00:00:00",
"published_at": "2006-06-27 00:11:00",
"updated_at": "2014-07-03 20:42:24",
"viewed_count": 2459958,
"emailed_count": 720,
"commented_count": 239,
"event": {
"id": 3,
"name": "TED2006"
},
"images": [{
"image": {
"size": "113x85",
"url": "http:\/\/images.ted.com\/images\/ted\/205_113x85.jpg"
}
}, {
"image": {
"size": "240x180",
"url": "http:\/\/images.ted.com\/images\/ted\/205_240x180.jpg"
}
}, {
"image": {
"size": "480x360",
"url": "http:\/\/images.ted.com\/images\/ted\/205_480x360.jpg"
}
}],
"image_16x9": false,
"media": {
"internal": {
"64k": {
"uri": "http:\/\/download.ted.com\/talks\/AlGore_2006-64k.mp4?apikey=16c11a6054506983485e20e837125c1da6c5a46a"
},
"uri": "http:\/\/download.ted.com\/talks\/AlGore_2006-180k.mp4?apikey=16c11a6054506983485e20e837125c1da6c5a46a"
"180k": {
},
"320k": {
"uri": "http:\/\/download.ted.com\/talks\/AlGore_2006-320k.mp4?apikey=16c11a6054506983485e20e837125c1da6c5a46a"
},
"450k": {
"uri": "http:\/\/download.ted.com\/talks\/AlGore_2006-450k.mp4?apikey=16c11a6054506983485e20e837125c1da6c5a46a"
},
"600k": {
"uri": "http:\/\/download.ted.com\/talks\/AlGore_2006-600k.mp4?apikey=16c11a6054506983485e20e837125c1da6c5a46a"
},
"950k": {
"uri": "http:\/\/download.ted.com\/talks\/AlGore_2006-950k.mp4?apikey=16c11a6054506983485e20e837125c1da6c5a46a"
},
"podcast-light": {
"uri": "http:\/\/download.ted.com\/talks\/AlGore_2006-light.mp4?apikey=16c11a6054506983485e20e837125c1da6c5a46a"
},
"podcast-regular": {
"uri": "http:\/\/download.ted.com\/talks\/AlGore_2006.mp4?apikey=16c11a6054506983485e20e837125c1da6c5a46a"
},
"podcast-high": {
"uri": "http:\/\/download.ted.com\/talks\/AlGore_2006-480p.mp4?apikey=16c11a6054506983485e20e837125c1da6c5a46a"
},
"audio-podcast": {
"uri": "http:\/\/download.ted.com\/talks\/AlGore_2006.mp3?apikey=16c11a6054506983485e20e837125c1da6c5a46a"
},
"podcast-low-en": {
"uri": "http:\/\/download.ted.com\/talks\/AlGore_2006-low-en.mp4?apikey=16c11a6054506983485e20e837125c1da6c5a46a"
},
"podcast-high-en": {
"uri": "http:\/\/download.ted.com\/talks\/AlGore_2006-480p-en.mp4?apikey=16c11a6054506983485e20e837125c1da6c5a46a"
}
}
},
"languages": {
"sq": {
"name": "Albanian"
},
"ar": {
"name": "Arabic"
},
"bg": {
"name": "Bulgarian"
},
"zh-cn": {
"name": "Chinese, Simplified"
},
"zh-tw": {
"name": "Chinese, Traditional"
},
"hr": {
"name": "Croatian"
},
"nl": {
"name": "Dutch"
},
"en": {
"name": "English",
"native": true
},
"fr": {
"name": "French"
},
"fr-ca": {
"name": "French, Canadian"
},
"gl": {
"name": "Galician"
},
"de": {
"name": "German"
},
"el": {
"name": "Greek"
},
"gu": {
"name": "Gujarati"
},
"he": {
"name": "Hebrew"
},
"hi": {
"name": "Hindi"
},
"hu": {
"name": "Hungarian"
},
"id": {
"name": "Indonesian"
},
"it": {
"name": "Italian"
},
"ja": {
"name": "Japanese"
},
"ko": {
"name": "Korean"
},
"lv": {
"name": "Latvian"
},
"lt": {
"name": "Lithuanian"
},
"rup": {
"name": "Macedo"
},
"mk": {
"name": "Macedonian"
},
"fa": {
"name": "Persian"
},
"pl": {
"name": "Polish"
},
"pt": {
"name": "Portuguese"
},
"pt-br": {
"name": "Portuguese, Brazilian"
},
"ro": {
"name": "Romanian"
},
"ru": {
"name": "Russian"
},
"sr": {
"name": "Serbian"
},
"sk": {
"name": "Slovak"
},
"sl": {
"name": "Slovenian"
},
"es": {
"name": "Spanish"
},
"sw": {
"name": "Swahili"
},
"sv": {
"name": "Swedish"
},
"tl": {
"name": "Tagalog"
},
"th": {
"name": "Thai"
},
"tr": {
"name": "Turkish"
},
"uk": {
"name": "Ukrainian"
},
"ur": {
"name": "Urdu"
}
},
"tags": [{
"tag": "alternative energy"
}, {
"tag": "cars"
}, {
"tag": "climate change"
}, {
"tag": "culture"
}, {
"tag": "environment"
}, {
"tag": "global issues"
}, {
"tag": "politics"
}, {
"tag": "science"
}, {
"tag": "sustainability"
}, {
"tag": "technology"
}],
"themes": [{
"theme": {
"id": 7,
"name": "Presentation Innovation"
}
}, {
"theme": {
"id": 15,
"name": "A Greener Future?"
}
}, {
"theme": {
"id": 23,
"name": "Bold Predictions, Stern Warnings"
}
}, {
"theme": {
"id": 25,
"name": "Design That Matters"
}
}, {
"theme": {
"id": 28,
"name": "Not Business as Usual"
}
}, {
"theme": {
"id": 30,
"name": "Technology, History and Destiny"
}
}],
"speakers": [{
"speaker": {
"id": 2,
"name": "Al Gore"
}
}],
"ratings": [{
"rating": {
"id": 7,
"name": "Funny",
"count": 439
}
}, {
"rating": {
"id": 3,
"name": "Courageous",
"count": 122
}
}, {
"rating": {
"id": 2,
"name": "Confusing",
"count": 45
}
}, {
"rating": {
"id": 1,
"name": "Beautiful",
"count": 46
}
}, {
"rating": {
"id": 21,
"name": "Unconvincing",
"count": 209
}
}, {
"rating": {
"id": 11,
"name": "Longwinded",
"count": 90
}
}, {
"rating": {
"id": 8,
"name": "Informative",
"count": 361
}
}, {
"rating": {
"id": 10,
"name": "Inspiring",
"count": 337
}
}, {
"rating": {
"id": 22,
"name": "Fascinating",
"count": 91
}
}, {
"rating": {
"id": 9,
"name": "Ingenious",
"count": 49
}
}, {
"rating": {
"id": 24,
"name": "Persuasive",
"count": 227
}
}, {
"rating": {
"id": 23,
"name": "Jaw-dropping",
"count": 84
}
}, {
"rating": {
"id": 26,
"name": "Obnoxious",
"count": 96
}
}, {
"rating": {
"id": 25,
"name": "OK",
"count": 139
}
}]
}
}
What you've posted is in JSON format. For WordPress, your best bet is to either use an embed link in the HTML tab of the WYSIWYG -- or just use the built in media library tool for embedding any type of media. This explains it reasonably well enough. http://youtu.be/aejMIghQKYo?t=2m4s