To get these cool features, we just need to add some scripts to our template and use the right tags for the images. For adding youtube videos, pasting their URLs will be enough.
How to add videos/images in Blogger comments
Step 1. Go to Dashboard > Template > Edit HTML
Step 2. Find (using CTRL + F) the following tag:
</body>Step 3. Just above/before the </body> tag, paste this code:
<script src='http://code.jquery.com/jquery-latest.js' type='text/javascript'/>Step 4. Save the changes by clicking on the Save Template button.
<script src='http://helplogger.googlecode.com/svn/trunk/youtubevideos.js'/>
<script src='http://helplogger.googlecode.com/svn/trunk/pics-comments.js'/>
Instructions
Now each time you want to post youtube videos, just paste their urls in the comment box.
For adding images, use the tags below before and after the address of your image:
[img]your-image-url[/img]Note: replace your-image-url with the URL
Settings
If you want to let your visitors know how to post images in blogger comments, then go to Dashboard > Settings > Posts and Comments and look for the Comment Form Message section, there you need to click on "Add" link and add your text. For example:
Need to add an image? Use this code <b>[img]IMAGE-URL-HERE[/img]</b>After you have added your text, click on the Save Settings button on the top right corner. And you're done!
If you enjoy reading this blog, please share and subscribe. For any questions, drop a comment below.
0 Comments