Blogger Help and Support on using Blogger and Blogger Templates
Ping Blogger Help and Support My Ping in TotalPing.com

Embed Youtube Video As A Background of Blogger


Here's how to embed youtube video as a background of your blogger site. This is another awesome way to make any YouTube video as your blogger blog's main background image. Thanks tubular jQuery effect we are able to achieve this in free blogging platform.

Let do this now with these 3 simple steps below;

1. Copy and paste this javascript below to above of your </head> html blogger template:
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
//<![CDATA[
/* jQuery tubular plugin
|* by Sean McCambridge
|* http://www.seanmccambridge.com/tubular
|* Copyright 2012
|* licensed under the MIT License
|* Enjoy.
|*
|* Thanks,
|* Sean */

var videoWidth = 853;
var videoRatio = 16/9;
var defaultDiv = 'wrapper-video';

jQuery.fn.tubular = function(videoId,wrapperId) {
wrapperId = (typeof(wrapperId) == undefined) ? 'wrapper-video' : wrapperId;
t = setTimeout("resizePlayer()",1000);

jQuery('html,body').css('height','100%');
jQuery('body').prepend('<div id="yt-container" style="overflow: hidden; position: fixed; z-index: 1;"><div id="ytapiplayer">You need Flash player 8+ and JavaScript enabled to view this video.</div></div><div id="video-cover" style="position: fixed; width: 100%; height: 100%; z-index: 2;"></div>');
jQuery('#' + wrapperId).css({position: 'relative', 'z-index': 99});

var ytplayer = 0;
var pageWidth = 0;
var pageHeight = 0;
var videoHeight = videoWidth / videoRatio;
var duration;

var iframe = '<iframe id="myytplayer" width="' + videoWidth + '" height="' + videoHeight + '" src="http://www.youtube.com/embed/' + videoId + '?autoplay=1&controls=0&modestbranding=1&showinfo=0&hd=1&iv_load_policy=3&version=3&wmode=transparent&loop=1&playlist=' + videoId + '" frameborder="0" allowfullscreen></iframe>';

jQuery('#ytapiplayer').html(iframe);
jQuery(window).resize(function() {
resizePlayer();
});
return this;
}

function onYouTubePlayerReady(playerId) {
ytplayer = document.getElementById("myytplayer");
ytplayer.setPlaybackQuality('medium');
ytplayer.mute();
}

function resizePlayer() {
var newWidth = jQuery(window).width();
var newHeight = jQuery(window).height();
jQuery('#yt-container, #video-cover').width(newWidth).height(newHeight);
if (newHeight > newWidth / videoRatio) {
newWidth = newHeight * videoRatio;
}
jQuery('#myytplayer').width(newWidth).height(newWidth/videoRatio);
}

$().ready(function() {
$('body').tubular('61BLn00AN_w','wrapper-video');
});
//]]>
</script>
2. Change the <body> tag with this code:
<body expr:class='&quot;loading&quot; + data:blog.mobileClass'><div id='wrapper-video'>


3. Last step is put this below code at above of </body> tag of your blogger template.
 <div>


That's ALL..!!!

Note: you can change the youtube video id (see the red: 61BLn00AN_w) with your own or any youtube video you want.



How To Host Files with Dropbox

Today, you'll learn how to host files with dropbox. In this issue, blogger help and support, will show you a simple trick to host any files you need for blogger site on dropbox.

Just follow these below steps;
1. Upload your files to dropbox.com
2. Get you files 'download link'.
3. Put it on your site with the dropbox download link.
4. That's all. DONE.

It's simply huh!?!?

Here's the sample of our javascript file that host with dropbox:
https://dl.dropboxusercontent.com/s/0enwz7u76s4p1cl/bloggerautomaticsitemap.js

That file are used for blogger help and support sitemap.


Blogger Help and Support Sitemap


Blogger help and support sitemap will help you use our blogger help and support posts in easy way to use blogger and blogger templates on our recommendation.