I'm trying to embed a youtube video on a WP site which uses Suarez theme, and the embedded video loads up as a picture, with no interactive elements. I tried to use both original and short links, the embed code, but none seem to work. Any insights on this topic ?
Thank you in advance.
I tried to use an iframe in the page itself and it worked. Did you try that?
i took a random video then i scrolled down to share and use the embed function. I coped all the code.
Then i went to pages in the wordpress and used my front page for this. Then i went to text in the standaard wordpress editor and pasted the code. hit save and there it was the video
NOTE:
you can make it autoplay when the page loads. and its default to allow full screen.
If you want to make it autoplay paste this behinde your iframe code like this : ?autoplay=1
this src is in you copied iframe tag!
src="https://www.youtube.com/embed/-9r7ezjl1us?autoplay=1"
Cees
Related
I am using the nivo slideshow included with Wordpress.
I put a video into the slideshow rotation, but it's using shadowbox or lightbox. It's an anchor tag, which links to the video. When clicked on, the video should load in a shadowbox pop-up, but I can't get it to work. I know you're supposed to put a "rel="shadowbox" in the img, but I don't know where to put that code.
I could also use the lightbox plugin, which I have, but it';s also not working.
Any thoughts? The website is bearcomservices.com.
This is for a client.
The image is of the WP admin bar. The "Slideshow" is what we're using. It lists in the page source as "Nivo". Not quite sure where it's from.
I also have ftp access, but I don't even know where to begin looking to edit anything to make this work. I've used ftp before, and I've used Wordpress, but never both...
Have u tried ShadowJS Plugin for wordpress??
I am developing a theme for WordPress 3.6 and as far as I know embedded links, like if just place a link into the post for YouTube it should auto embed its self. that's not the case here - would any one know what would cause links from services like YouTube to not embed?
[embed][/embed] doesn't work either...
Make sure the YouTube link is not hyperlinked. If the URL is shown in
your theme’s link color (as the second line in the screenshot below),
then it is hyperlinked. Simply select the whole URL and click the
“Unlink” icon on your Visual Editor toolbar.
Once the URL is unlinked, you will see the link text in black. Make
sure to place the YouTube URL or shortcode on its own line. This
means there should be no character or whitespace before or after the
URL/shortcode.
http://en.support.wordpress.com/shortcodes/
However, beyond those issues you might want to look into. the API that WP uses to embed links from YouTube, Twitter, Flicker...
http://oembed.com/
oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly.
Unlink the link if it's linked and use the shortcode :
[youtube=http://www.youtube.com/XXXX] and that will work.
I'm using wp_editor in a plugin to let users save some datas.
It's working fine on localhost, but on the website, I keep getting the same problem:
the editor is not themed and pre-text is HTML encoded.
Comparing the two HTML code, I discovered that on the website, what I see is the text area which is hidden in localhost.
Moreover, the iframe which is loaded in localhost and is supposed to theme and display the editor is not even loaded on the website.
Am I clear?
Any wonderful idea? :)
It seems there is a conflict between using the Simple Facebook Connect plugin and using the wp_editor function.
Deactivating the plugin made it work, I didn't look further...
Wordpress is now replacing the youtube links that people post into comments of a post with the actual video. It is rather anoying and I would like to know if it is possible to leave the link as is and not add the embed code to view the video directly from the comment container?
Have you tried entering that code in the TEXT tab rather than the VISUAL tab of the editor?
Does anyone know a way to implement an iframe on a WordPress website. Every time I place the code onto the correct page, wordpress strips my code and the iframe breaks.
I was wondering if there was a plugin that allows iframe code to stay intact or if there is some form of shortcode to use.
I have tried:
[iframe url="http://www.youtube.com/embed/X3kLPtVjjhA" width="579" height="360"]
[fixiframe url="http://www.youtube.com/embed/X3kLPtVjjhA" width="579" height="360"]
and installed the "embed iframe" plug-in on my site but none of them seem to work.
I appreciate the help.
You don't need an iframe to post a youtube video, but to answer your questions about iframes in wordpess..
I am not sure what those plugins do. You can create page templates and have iframes in your pages without using any plugins.
Create a new page template and add the iframe in the php code for that page template. More specifically, create a copy of page.php and rename it. In the comments at the beginning of the file, edit the line with the template file name to Template Name: MyPage. Edit the page code and add iframe code where you need it. And select this template (MyPage) as the template for your page in page edit section wp-admin.
You can also add the embed code as meta information to page in wp-admin, and fetch this meta information in the code to display the iframe. In this way, you can use different iframes for different pages with a single template.
Let me know if you need help with this. I will post a complete solution
Why are you using an iframe to load a Youtube video, you should use the embed tag that they show under the video...
I have iframes in my wordpress for all the Facebook/twitter buttons and they work great!