Welcome! To use this support forum, please Login or Join Today!

You are here → Home :: Forum Home :: General WordPress :: WordPress :: Thread

   

In the Slider Is there a Way to Place a video embed code or video short code instead of pictures

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 
It looks like WordPress is converting some characters and is stripping out the code.

Can you verify if this works for you or not?
http://demos.simplethemes.com/onyx/flash-test

I was able to replicate the problem Chrome, but I didn't ask what browser you were using.
If this is good with you, I've made a shortcode that will make this much easier for you.

[youtube url="YOUTUBEURL" width="840" height="523"]


You'll need to update your theme if you want this to work.
I've added this to the repository if you want to download.
The only file changed was: wp-content/themes/functions/content_functions.php