`rel=0` on youtube href returning error
I added the following youtube iframe:
<iframe width="1280" height="720" src="//www.youtube.com/embed/$videoKey?wmode=transparent&rel=0" frameborder="0" allowfullscreen=""></iframe>
where $videoKey
is the unique key from youtube for
a video. I added &rel=0
to the href to hide
related videos on end. Now I get the following error:
An error occurred while rendering asset preview: Error on line 18: The reference to entity "rel" must end with the ';' delimiter.
Is rel
some sort of reserved word? How can I fix
this
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ryan Griffith on 29 Jan, 2015 01:43 PM
Hi Joseph,
When adding additional URL parameters, the ampersand (
&
) must be encoded to produce valid XML. When you have a moment, try using the following and let me know how it works out:Please let me know if you have any questions.
Thanks!
Ryan Griffith closed this discussion on 24 Feb, 2015 09:11 PM.