When I try creating a video post for my website, using youtube videos, posts look like a blank white box that says "posted by jerry, July 18, 2011" when my posts are really just youtube videos. I would rather the posts on my site look more like the typical video box that everyone is used to seeing. My website is http://www.AbodeMarketing.com.
Virgil's right, you're posting your HTML code within the visual editor. To switch, just click the "HTML" tab on your site's Add New Post page. You should be good to go. If your looking to regularly insert videos into your posts, I recommend the plugin Simple Video Embedder. I use it on my tech blog and love it. If you need any help implementing it into your theme just lemme know.
Your issue is you're pasting in the Youtube embed code using WordPress' Visual Editor instead of the HTML Editor button which is right next to it.
Simply delete the Youtube code, grab it again from Youtube, edit your post, click the HTML button and paste in the code. You can update your post and your video will show up.
The only gotcha to remember is once you press the HTML button every post or page you edit from then on will start off using the HTML editor so you'll want to switch back by click the Visual button again.
Related
I'm writing a code for a web page in HTML 5 and I can't seem to get my audio file to play when a link is clicked. It will play the audio when you click the back button on the browser but not when the link is clicked.
Here is the section of code that I'm having trouble on:
<audio id="hit" src="audio/hit.mp3" preload="hit"></audio>
Home
Lessons and Camps
Staff
Online Store
Contact
I tried adding a semicolon to each link after the () but that didn't help. I also tried adding a preload="auto" to the tag but that didn't help either. I have a first code page in the course that I am taking that I copied to code from directly and that one is working fine so I'm not sure why this isn't doing the same.
I didn't know if is something that I have to define outside of a div or not, but I tried moving it and it still only works when the back button is clicked.
Thanks for any help!
When you click those links, they perform your onclick event, but the link is also followed. You can stop the navigation like this (keeping things as similar as possible to your original HTML).
Home
I need to implement a facebook share button on a website I am currently developing. The theory is simple and works with a simple link, e.g. https://www.facebook.com/share.php?u=https%3A%2F%2Freddit.com%2Fr%2Fall%2F. This works for me for random pages and my home page.
However, this does not work for all pages of that web site except the home page (/).
Example:
Page http://www.youmatch.global/approach/
Share link https://www.facebook.com/share.php?u=http%3A%2F%2Fwww.youmatch.global%2Fapproach%2F
The sharing dialog states "Object not found". I am already trying for two days but I have no clue what might be the problem.
Any ideas?
You may take look at this page to see what's wrong in your sharer : https://developers.facebook.com/tools/debug/sharing/
I wanted to try out Linkwithin, a widget to show related posts underneath each post, to see how it looks like and stuff. On the Linkwithin website you can install the widget by clicking on a link which directed you to Blogger. I added the widget to my blog.
Now I would like to get rid of it, but on the Linkwithin website it's stated NOWHERE how to remove Linkwithin! So I tried deleting the widget but it wasn't showing up. So I went to the HTML source code and wanted to delete it straight from there, but I simply can't find it...
Does anyone know how to get rid of it, or can find it in the code?
Website is www.wldhrts.com
Many thanks!
You need to remove that widget from your blog. It's the first widget on your right sidebar (just above the search box).
Move to
Blogger >> template >> edit Template >>
Search for 'id='HTML2' it's the widget holding your linkwithin code. You should be able to find code like
<b:widget id='HTML2' locked='false' title='' type='HTML'>...</b:widget>
Remove the whole widget.
you can alternatively set nRelate on your Blog which is way better then LinkWithin.Here is the link of complete post explaining every process step by step. nRelate also offer you to earn some money by showing ads on your Blog or website.
http://sarcaassm.blogspot.com/2014/02/setup-nrelate-widget-to-your-blog.html
it is not always 'HTML2'. it depends upon where you have it. just try to reinstall it from linkwithin site, you will see codes, see what are they, note down on notepad and then search them in tempelate and remove. that will only work super fast. you may also like 'how to remove it only from blogger home'
I need a method to get likes for my facebook page directly by cliking on a picture
I mean when a visitor of my website click in a specific picture he automaticaly likes my page
with facebook social plugin I got this link but it doesn't make you liking the page automaticaly you need to click the like button and confirm
I don't know how to get that link or html code , "I visited a website uses this method"
I hope you can help me
I researched this as well but I can confirm you that, since this could be easily abused to mislead the client and obtain a load of likes, it is not possible in an official, Facebook-approved way.
I'm wondering if anyone can help me. I'm hoping I can open an iFrame in the centre of my webpage from clicking a picture. So in effect the iframe would be hidden until the picture is clicked. I have a very small and simple upload form on another page that I would like to appear when the user needs to upload and click the picture. I've had a good look round on this site and google in general but not found what I'm looking for, or the basics weren't included because it's common knowledge for most people here. Would there also be a way of closing this when it's finished uploading too? The form currently diverts to the homepage when finished so It would be handy to have a close option as in the end (post successful upload) the iframe contents will be the same as the page it's displayed on.
The best/easiest I have come across has been on w3schools but I have read using html for iFrames is not widely accepted or it isn't the best option cross-browser.
I have been viewing and trying different code but without even the basic knowledge I can't get my head around it.
If anyone is able to help, please assume I'm 5 years old. I'm not daft but in terms of code I'm literally just starting.
Thanks in advance
You would need to add a javascript onclick function to your img tag which would open a new window upon a click. You would pass the window.open function the name of the html file you want to display. Something like this:
<img src="image.jpg" onclick="window.open('welcome.html')">