getgrav / grav-plugin-youtube

Grav YouTube Plugin
https://getgrav.org
MIT License
23 stars 12 forks source link

Getting Error on Youtube Plugin #1

Closed attheshow closed 8 years ago

attheshow commented 9 years ago

Whoops \ Exception \ ErrorException (E_WARNING) HELP array_merge(): Argument #2 is not an array Open: /Users/mjarrell/Sites/grav/system/src/Grav/Common/Plugin.php

This is in a post with a Youtube link in the front matter YAML and in the body of the post.

rhukster commented 8 years ago

Did you create a user/config/plugins/youtube.yaml file? If so what is the contents of that file? You really don't need a config file, the defaults will just work.

attheshow commented 8 years ago

It looks like the contents of the existing file are are: enabled: false built_in_css: true

rhukster commented 8 years ago

Is everything fully up to date? I just tested the youtube plugin and it worked fine in my test installation. That array_merge() error is one that would occur if one of your plugins was out of date.

BTW, i just reread your original issue. You have a link in the frontmatter? How? The links are markdown and should be in the content portion. Can you post the source of your page?

attheshow commented 8 years ago

I'm currently at Grav v0.9.43, Youtube plugin v1.0.0.

Source:

---
title: 'Body Language Tells of Martin Shkreli (Turing Pharmaceuticals)'
date: '25-09-2015 22:49'
youtube: "https://www.youtube.com/embed/xkgFA9q7w0w"
taxonomy:
    category: blog
    tag: [youtube, body langage, tells, assessment]
---

I was recently asked to take a gander at the body language tells of Turing Pharmaceuticals CEO Martin Shkreli. The company has just this week gathered a media storm around its insanely greedy price hike of the prescription drug Daraprim which is badly needed by patients across the globe with compromised immune systems (such as AIDS patients). Without going further into the politics and social implications of their actions, I'll move on to assessing the body language that I'm seeing from Martin within the recent CBS This Morning  interview.

His body language response to the first question is to literally shake off the question. He moves his head in a quick circular motion. He disagrees vehemently with the notion that his price hike is excessive. He also enjoys fighting against the interviewer with his likely true mention that the previous price of the drug was unprofitable. He does a quick sassy head jerk to his right as a jab at the interviewer's question.

Check out [Pamela Meyer's epic TedTalk](http://www.youtube.com/watch?v=P_6vDLq64gE&t=11m39s) on Liespotting. She talks about something called "duping delight". The term was originally used by Dr. Paul Eckman who says "duping delight is the pleasure we get over having someone else in our control and being able to manipulate them." Basically after you see a person tell a lie and they think that they have been successful they give a quick unnecessary smile. Practiced liars who are used to being able to fool people will often give away their true feelings on what they're saying in this type of way.

Why does Shkreli smile at the end of some of his points? Is he happy because he really likes the interviewer? We can see from the interviewer, Don Dahler's, body language that this is a tense interview with discomfort involved. Don is questioning Martin in a semi-angry fashion. He is agast at what Turing is doing and uses his forward-pressing body language to show both intense interest and strong questioning of the moral values of what is going on. (See Dahler's tense, lowered eyebrows and taught lips when he questions Shkreli with his "greedy" question at 1:25). Why in such a situation would the interviewee smile unless he, in fact enjoyed himself in another way. I would definitely suggest "duping delight" can be seen throughout this clip.

There are also some more basic contradictions that we can see in his body language in this clip. When he talks about the patients who "sorely need a new drug" he has a slight contradictory head shake back and forth horizontally. The same occurs when he says that they are a "company that is dedicated to the treatment and cure of toxoplasmosis". It's a very interesting clip with tons of body language conflicts that can be seen throughout. As is usually the case, none of this would actually be considered "tangible evidence" in a court of law. ...But for those of us in the know, much of the truth of this case is shown visually in this news interview alone. Much of the truth is actually the opposite of what's being said verbally.
rhukster commented 8 years ago

I suggest updating to latest versions of things. if this is still an issue, please reopen.