<p>Did you try to format the parameter like so:</p>

<p><code>vimeo_color: 'FFFFFF'</code></p>

<p><strong>Update:</strong></p>

<p>It is the right code I posted. So make sure to wrap the value in quotes, as otherwise Twig reads <code>FFFFFF</code> as a variable. Only numbers or a boolean <code>false</code> or <code>true</code> can be passed without.</p>

<p><strong>And then, after you got your syntax right</strong>, go to CP Settings → Tools → Empty Cache and clear your "Data Caches". I just installed the plugin to test it and found out it uses caching and doesn't take into account that the user could change these parameters.</p>

CC BY-SA 3.0
2015-06-18T21:32:31.520Z
I have tried but I was not surprised that it didn't work. When you embed vimeo video, the color code is without #...
LessMore Creative Studio
CC BY-SA 3.0
2015-06-18T21:39:35.460Z
What about `vimeo_color: 'FFFFFF'`
carlcs
CC BY-SA 3.0
2015-06-18T21:52:28.163Z
I must admit, I have tried this one too and some other more but still no success...
LessMore Creative Studio
CC BY-SA 3.0
2015-06-18T21:59:20.017Z
Ok, then I can't help. A string value should be in quotes, only numbers or booleans can be passed without. Without the quotes Twig looks for a variable FFFFFF.
carlcs
CC BY-SA 3.0
2015-06-18T22:02:43.913Z
Did you try using the other output tags the plugin provides? *(sorry for just guessing here, but I never used the plugin)*
carlcs
CC BY-SA 3.0
2015-06-18T22:50:28.417Z
Yes, I have tried to use the `vimeo_autoplay` and it didn't work as well. That's why I was asking if someone did manage to setup and parameter...
LessMore Creative Studio
CC BY-SA 3.0
2015-06-19T20:50:31.760Z
Great update @carlcs! And you even downloaded and tested the plugin yourself... I'm impressed! :)
Lindsey D
CC BY-SA 3.0
2015-06-18T21:29:53.227Z
2015-06-19T20:12:26.083Z
2015-06-19T20:12:26.083Z
carlcs
<p>Author of the plugin here - @Lindsey is correct - wrapping the color in quotes is the correct syntax. If you test it with this video, it works fine:
<a href="https://vimeo.com/130900978">https://vimeo.com/130900978</a></p>

<p>One thing to note - with Vimeo, a video owner can overwrite this option - so if they set it to a specific theme color, you can't change it through this embed parameter. For more info on the Vimeo API, you can see this documentation: <a href="https://developer.vimeo.com/player/embedding">https://developer.vimeo.com/player/embedding</a></p>

CC BY-SA 3.0
2015-06-20T04:35:56.700Z
In all fairness, I just reiterated the solution that @carlcs originally posted. Thanks for adding the official solution! And great note about the video owner's settings, probably a tricky thing to diagnose.
Lindsey D
CC BY-SA 3.0
2015-06-20T07:30:21.600Z
Thank you! This was actually my problem. The video I was embedding was of a Vimeo Plus account with specific embedding setting that couldn't be overwritten. Maybe it is just important to notice that only Vimeo plus and pro users can overwrite styling options.
LessMore Creative Studio
CC BY-SA 3.0
2015-06-20T07:33:23.200Z
And it was not only the `vimeo_color` parameter that couldn't be overwritten, I have tried also `vimeo_autoplay` and I assume that other things won't work too. All together, great plugin!
LessMore Creative Studio
CC BY-SA 3.0
2015-06-20T00:16:14.487Z
2015-06-20T00:16:14.487Z
A-P
<p>I am relatively new to Craft and I came across the lovely plugin <a href="https://github.com/A-P/Embedder" rel="nofollow noreferrer">Embedder</a> and I have managed to make good use of it. </p>

<p>For some reason, I don't manage to apply the paramters. I have followed the advice on the following <a href="https://craftcms.stackexchange.com/questions/9430/using-parameters-with-embedder">post</a> but still, don't manage to apply the vimeo paramters.</p>

<p>My code looks like that:</p>

<pre><code>{% set video = craft.embedder.url(entry.workVideo, {max_width:5000, max_height:8000, vimeo_color:ffffff}) %}

{% if video %}
    &lt;div class="work_video"&gt;
        {{ video.embed_code }}
    &lt;/div&gt;
{% endif %}
</code></pre>

<p>All is fine beside the fact that the <code>vimeo_color</code> parameter doesn't work. I have tried other parameters like <code>vimeo_autoplay:true</code> also with no success.</p>

CC BY-SA 3.0
2015-06-19T17:31:35.497Z
I'm voting to "leave open" because it **does not** appear to be a bug report, and looks more likely to be user error.
Lindsey D
CC BY-SA 3.0
2015-06-19T17:33:30.873Z
This question was also posted to Github (presumably by OP)... https://github.com/A-P/Embedder/issues/11
Lindsey D
CC BY-SA 3.0
2015-06-19T19:22:25.993Z
@Lindsey, I already suggested to put the value in quotes, but deleted the answer, as the OP said it didn't fix the issue. Looks like it's not a syntax problem.
carlcs
CC BY-SA 3.0
2015-06-19T19:32:58.627Z
@carlcs I think you were on the right track, and was mainly echoing what you originally said. Because without quotes, **Twig reads that as a variable, not a string.** I only made a point about it because the OP's Github example _still_ didn't have quotes around that string.
Lindsey D
CC BY-SA 3.0
2015-06-19T19:34:03.090Z
@carlcs I'd actually wager that the quotes were the right answer, and the OP simply misunderstood you. You're spot on 99% of the time, why would this instance be any different? ;)
Lindsey D
CC BY-SA 3.0
2015-06-19T19:41:02.390Z
Lol, @Lindsey. Undeleted the answer and we will see if it was just a problem of my english (which unfortunatelly isn't 99% at all ...)! ;)
carlcs
CC BY-SA 3.0
2015-06-19T19:42:57.077Z
Great! With any luck, the plugin developer will help them figure it out, and we can port the correct answer back here.
Lindsey D
CC BY-SA 3.0
2015-06-20T07:30:06.233Z
The issue I have encounter was not due to misunderstanding how to use the plugin but due to the video itself. It was of a vimeo plus account with specific styling that couldn't be overwritten.
LessMore Creative Studio
<plugin-embedder>
Vimeo video with Embedder plugin
# Vimeo video with Embedder plugin

(Asked by: username_0 on 2015-06-18)

I am relatively new to Craft and I came across the lovely plugin Embedder and I have managed to make good use of it. 
For some reason, I don't manage to apply the paramters. I have followed the advice on the following post but still, don't manage to apply the vimeo paramters.
My code looks like that:
{% set video = craft.embedder.url(entry.workVideo, {max_width:5000, max_height:8000, vimeo_color:ffffff}) %}

{% if video %}
    
        {{ video.embed_code }}
    
{% endif %}

All is fine beside the fact that the vimeo_color parameter doesn't work. I have tried other parameters like vimeo_autoplay:true also with no success.

**Tags:** plugin-embedder
> **Comments:**
> **username_1**: I'm voting to "leave open" because it **does not** appear to be a bug report, and looks more likely to be user error.  
> **username_1**: This question was also posted to Github (presumably by OP)... https://github.com/A-P/Embedder/issues/11  
> **username_2**: @Lindsey, I already suggested to put the value in quotes, but deleted the answer, as the OP said it didn't fix the issue. Looks like it's not a syntax problem.  
> **username_1**: @carlcs I think you were on the right track, and was mainly echoing what you originally said. Because without quotes, **Twig reads that as a variable, not a string.** I only made a point about it because the OP's Github example _still_ didn't have quotes around that string.  
> **username_1**: @carlcs I'd actually wager that the quotes were the right answer, and the OP simply misunderstood you. You're spot on 99% of the time, why would this instance be any different? ;)  
> **username_2**: Lol, @Lindsey. Undeleted the answer and we will see if it was just a problem of my english (which unfortunatelly isn't 99% at all ...)! ;)  
> **username_1**: Great! With any luck, the plugin developer will help them figure it out, and we can port the correct answer back here.  
> **username_0**: The issue I have encounter was not due to misunderstanding how to use the plugin but due to the video itself. It was of a vimeo plus account with specific styling that couldn't be overwritten.  

---

## 2 answers

### Answer by username_3 on 2015-06-20. Score: 5 | Accepted answer

Author of the plugin here - @Lindsey is correct - wrapping the color in quotes is the correct syntax. If you test it with this video, it works fine:
<https://vimeo.com/130900978>

One thing to note - with Vimeo, a video owner can overwrite this option - so if they set it to a specific theme color, you can't change it through this embed parameter. For more info on the Vimeo API, you can see this documentation: <https://developer.vimeo.com/player/embedding>

> **Comments:**
> **username_1**: In all fairness, I just reiterated the solution that @carlcs originally posted. Thanks for adding the official solution! And great note about the video owner's settings, probably a tricky thing to diagnose.  
> **username_0**: Thank you! This was actually my problem. The video I was embedding was of a Vimeo Plus account with specific embedding setting that couldn't be overwritten. Maybe it is just important to notice that only Vimeo plus and pro users can overwrite styling options.  
> **username_0**: And it was not only the `vimeo_color` parameter that couldn't be overwritten, I have tried also `vimeo_autoplay` and I assume that other things won't work too. All together, great plugin!  

---

### Answer by username_2 on 2015-06-18. Score: 3

Did you try to format the parameter like so:

`vimeo_color: 'FFFFFF'`

**Update:**

It is the right code I posted. So make sure to wrap the value in quotes, as otherwise Twig reads `FFFFFF` as a variable. Only numbers or a boolean `false` or `true` can be passed without.

**And then, after you got your syntax right**, go to CP Settings → Tools → Empty Cache and clear your "Data Caches". I just installed the plugin to test it and found out it uses caching and doesn't take into account that the user could change these parameters.

> **Comments:**
> **username_0**: I have tried but I was not surprised that it didn't work. When you embed vimeo video, the color code is without #...  
> **username_2**: What about `vimeo_color: 'FFFFFF'`  
> **username_0**: I must admit, I have tried this one too and some other more but still no success...  
> **username_2**: Ok, then I can't help. A string value should be in quotes, only numbers or booleans can be passed without. Without the quotes Twig looks for a variable FFFFFF.  
> **username_2**: Did you try using the other output tags the plugin provides? *(sorry for just guessing here, but I never used the plugin)*  
> **username_0**: Yes, I have tried to use the `vimeo_autoplay` and it didn't work as well. That's why I was asking if someone did manage to setup and parameter...  
> **username_1**: Great update @carlcs! And you even downloaded and tested the plugin yourself... I'm impressed! :)  

---

