Embedding YouTube video in article
-
Hi, I'm trying to place a YouTube video at the top of my article:
<iframe width="560" height="315" src="https://www.youtube.com/embed/ziwcTWFEY4U?rel=0&controls=0&showinfo=0" frameborder="0" allowfullscreen></iframe>
When I save the article, it is changed to this:
How can I add a video to my article? Regards, Daniel
Daniel Vaughan Twitter | Blog | Microsoft MVP | LinkedIn | Calcium | Outcoder
-
Hi, I'm trying to place a YouTube video at the top of my article:
<iframe width="560" height="315" src="https://www.youtube.com/embed/ziwcTWFEY4U?rel=0&controls=0&showinfo=0" frameborder="0" allowfullscreen></iframe>
When I save the article, it is changed to this:
How can I add a video to my article? Regards, Daniel
Daniel Vaughan Twitter | Blog | Microsoft MVP | LinkedIn | Calcium | Outcoder
See the Code Project Article FAQ[^] on how to embed a video. Note also this:
Quote:
The article editor will show only a placeholder while viewing in WYSIWYG mode.
-
See the Code Project Article FAQ[^] on how to embed a video. Note also this:
Quote:
The article editor will show only a placeholder while viewing in WYSIWYG mode.
-
Hi, I'm trying to place a YouTube video at the top of my article:
<iframe width="560" height="315" src="https://www.youtube.com/embed/ziwcTWFEY4U?rel=0&controls=0&showinfo=0" frameborder="0" allowfullscreen></iframe>
When I save the article, it is changed to this:
How can I add a video to my article? Regards, Daniel
Daniel Vaughan Twitter | Blog | Microsoft MVP | LinkedIn | Calcium | Outcoder
I've just had a chance to look at your video mate - I cannot wait to see the completed article. This looks great (and even has a touch of CP orange).
This space for rent
-
See the Code Project Article FAQ[^] on how to embed a video. Note also this:
Quote:
The article editor will show only a placeholder while viewing in WYSIWYG mode.
Unfortunately it doesn't work. When I place the following in my article, it's stripped out:
<iframe style="height:315px;width:560px" src="https://www.youtube.com/embed/ziwcTWFEY4U?rel=0&controls=0&showinfo=0"></iframe>
Daniel Vaughan Twitter | Blog | Microsoft MVP | LinkedIn | Calcium | Outcoder
-
I've just had a chance to look at your video mate - I cannot wait to see the completed article. This looks great (and even has a touch of CP orange).
This space for rent
-
Unfortunately it doesn't work. When I place the following in my article, it's stripped out:
<iframe style="height:315px;width:560px" src="https://www.youtube.com/embed/ziwcTWFEY4U?rel=0&controls=0&showinfo=0"></iframe>
Daniel Vaughan Twitter | Blog | Microsoft MVP | LinkedIn | Calcium | Outcoder
Sorry to hear that. Probably something has been changed since writing the FAQ. Maybe @Sean-Ewington can have a look (he will now be notified of this post).
-
Unfortunately it doesn't work. When I place the following in my article, it's stripped out:
<iframe style="height:315px;width:560px" src="https://www.youtube.com/embed/ziwcTWFEY4U?rel=0&controls=0&showinfo=0"></iframe>
Daniel Vaughan Twitter | Blog | Microsoft MVP | LinkedIn | Calcium | Outcoder
Try putting it in as: <iframe style="height:315px;width:560px" src="//youtube.com/embed/ziwcTWFEY4U"></iframe>
Thanks, Sean Ewington CodeProject
-
Try putting it in as: <iframe style="height:315px;width:560px" src="//youtube.com/embed/ziwcTWFEY4U"></iframe>
Thanks, Sean Ewington CodeProject
-
Let me dig in. Where's that hammer...? [Edit: is it this article[^]? Seems to be working. Did you have to do anything special? Or was there something you had to not do to get it working? If there's still an issue I'll dig in further.
cheers Chris Maunder
-
Let me dig in. Where's that hammer...? [Edit: is it this article[^]? Seems to be working. Did you have to do anything special? Or was there something you had to not do to get it working? If there's still an issue I'll dig in further.
cheers Chris Maunder
Hi Chris. I'm experiencing this issue. Video was showing up in preview but isn't showing after publishing: [SignalChat: WPF & SignalR Chat Application](https://www.codeproject.com/Articles/1181555/SignalChat-WPF-SignalR-Chat-Application)
"As beings of finite lifespan, our contributions to the sum of human knowledge is one of the greatest endeavors we can undertake and one of the defining characteristics of humanity itself"
-
Hi, I'm trying to place a YouTube video at the top of my article:
<iframe width="560" height="315" src="https://www.youtube.com/embed/ziwcTWFEY4U?rel=0&controls=0&showinfo=0" frameborder="0" allowfullscreen></iframe>
When I save the article, it is changed to this:
How can I add a video to my article? Regards, Daniel
Daniel Vaughan Twitter | Blog | Microsoft MVP | LinkedIn | Calcium | Outcoder
Hi Daniel, how did you manage to resolve this issue?
"As beings of finite lifespan, our contributions to the sum of human knowledge is one of the greatest endeavors we can undertake and one of the defining characteristics of humanity itself"