Showing posts with label Blogger Tutorial. Show all posts
Showing posts with label Blogger Tutorial. Show all posts

Saturday, June 15, 2013

How To Add A Free Forum To Your Blogger/BlogSpot Blog

1. Create a new stand alone page on your blog. To do so, navigate to “Edit Posts >> Edit Pages” and hit the tab that says “New Page”. Now, type a title for your page, say “Forum” and publish the page. You may leave the content part empty. Now, look out for the address bar. Just save the URL to a temporary text document, say Doc 1, which should probably look similar to the URL shown below.
http://YOURDOMAINNAME.blogspot.com/p/forum.html

2.Next, you need to navigate to the following link – Nabble. Sign up and follow the simple procedures to generate your forum. Now, choose the options menu at the top and hit the “Embedding Options” to get the script. Save this script to a temporary text document as well.
3. Next, navigate to “Design >> Edit HTML” from your blogger dashboard and search for the following code.
<div id='content-wrapper'>

Add the following codes just above the line you searched for.
<b:if cond='data:blog.url == "FORUM URL"'>
CODE FROM NABBLE
</b:if>

Now, replace “CODE FROM NABBLE” in the above code with the script that you downloaded in step 2. The one which you temporarily saved to a text document in step 2.
Next, add the following piece of code just above < /head> in your template.
<b:if cond='data:blog.url == "FORUM URL"'>
<style type='text/css'>
#content-wrapper {
display:none !important;
}
</style>
</b:if>

4. If you did not find the code mentioned in step 3, then look out for the following code and follow the remaining procedures as mentioned below. Else, skip to step 5.
<div class='columns fauxcolumns'>

Add the following codes just above the line you searched for.
<b:if cond='data:blog.url == "FORUM URL"'>
CODE FROM NABBLE
</b:if>

Now, replace “CODE FROM NABBLE” in the above code with the script that you downloaded in step 2. The one which you temporarily to a text document in step 2.
Next, add the following piece of code just above < /head> in your template.
<b:if cond='data:blog.url == "FORUM URL"'>
<style type='text/css'>
.columns, .fauxcolumns {
display:none !important;
}
</style>
</b:if>

Note: If you don’t find any of those codes mentioned above, neither the one at step 3 nor the one at step 4, then, leave a comment below and I’ll let you know where you need to add the codes by looking at your blog’s page source.
5. Don’t forget to replace “FORUM URL” in the above codes with your forum URL  – the one you saved to Doc 1 (refer step 1), before you save your template. Well, that’s it! Your done and your forum should be live.


Keywords: How To Add a Forum To Your Blogspot Blog?,Blog, Blogger, Blogger Tutorial, Blogger Embedding, Forum,Free Forum Theme For Blogger,Add A Free Forum To Your Blogger/BlogSpot Blog,Free Blogger Templates,Free Forum Templates For Blogger.

Saturday, February 2, 2013

JWPlayer Playlist


Introduction to playlists
A playlist is a sequential list of video, audio or image files. The JW Player supports various scenarios to load, show and interact with such playlists.

An entry in the playlist is not just a URL to the media file, but an object that can have multiple properties, such as file, image, title, description, provider and duration. The more properties are provided, the more information the player can display about that entry.

Playback of a playlist can be customized by two configuration options:
repeat
This option defines what the player should do when an item finishes playback. The default is none (do nothing). It can be set to list (play the next entry until the entire list is done), always (keep on playing the entries forever) and single (re-play the current entry).
shuffle
By default, the player starts a playlist with the first entry and then plays all entries sequentially. Set this option to true to let the player randomly select which entry to play next.

Loading inline JSON playlists
The easiest way to load a playlist is to define it as a JavaScript object (JSON) your HTML code. The JW Embedder allows you to do this (this does not work with the SWFObject and <embed> methods). Here's an example:

<div id="container"></div>

<script type="text/javascript">
    jwplayer("container").setup({
        'flashplayer': 'jwplayer.swf',
        'playlist': [{
            'file': '/videos/video1.mp4',
            'image': '/thumbs/video1.jpg',
            'title': 'The first video'
        },{
            'file': '/videos/video2.mp4',
            'image': '/thumbs/video2.jpg',
            'title': 'The second video'
        }],
        repeat: 'list'
    });
</script>

This code will result in a player with two videos, which will play back to back. In the controlbar, a previous entry and next entry button will appear. These can be used to navigate the playlist.


Jwplayer_playlist_prevnext_buttons


Loading external RSS playlists
Next to inline JSON playlists, it is possible to load external playlists into the JW Player. These external playlists should be in the (widely used) RSS format. The Yahoo! Media extension can be used to include media-specific data in the RSS feed (e.g. <:media:thumbnail> for the preview image).

The RSS feed can simply be loaded into the JW Player by assigning it to the file configuration option. Example:

<div id="container"></div>

<script type="text/javascript">
    jwplayer("container").setup({
        'flashplayer': '/assets/jwplayer.swf',
        'file': '/assets/playlist.xml'
    });
</script>


Note that JW Player supports additional playlist formats in Flash-only mode. For HTML5, the player only supports mediaRSS (as of version 5.7). Since mediaRSS is the industry standard for media playlists too, we strongly recommend you use this format.

Crossdomain loading
An important issue to keep in mind with playlists is that they cannot be loaded cross-domain. In other words, if your player is embedded at http://somesite.com, you cannot load an RSS playlist from http://othersite.com. This restriction applies to both Flash and HTML5. There are workarounds though:

You can place a small (PHP) script on the server that hosts your player to proxy the external playlist. This is the easiest solution which works for both Flash and HTML5.
If you're using only the Flash mode of JW Player (no HTML5), you can place a crossdomain.xml file on the server that hosts the playlists.
A very technical solution for HTML5 is to configure the server that hosts your playlists for Cross-Origin Resource Sharing.

Playlist UI component
In addition to loading/playing a playlist, JW Player can display the list in a dedicated UI component. Users can scroll through the playlist and select the entry they want to view. An entry's image, title, description and duration are shown.

To enable the visual playlist, set the following two options:

playlist.position
Where to place the playlist relative to the video. Can be set to bottom or right.
playlist.size
Width (if position=right) or height (if position=bottom) of the playlist in pixels. The default is 180.
Here's how to set the Playlist UI in combination with an RSS feed:

<div id="container"></div>

<script type="text/javascript">
    jwplayer('container').setup({
        'file': '/assets/playlist.xml',
        'flashplayer': '/assets/player.swf',
        'width': '720',
        'height': '240',
        'playlist.position': 'right',
        'playlist.size': '320'
    });
</script>

The resulting player will look like this, with the playlist located at the right side:


jwplayer_playlist_ui_component

In HTML5 mode, the playlist UI component will be displayed the same way, but note that in iOS, the default scrolling behavior is a bit different, requiring that the user use a two-finger swipe gesture to scroll the playlist. The JW Player includes support for the iScroll JavaScript library, which enables one-finger scrolling in iOS. Simply download the script and include it in your page's <head> tag to enable it:

<head>
  <script type="text/javascript" src="/jwplayer/iscroll-4.js"></script>
</head>

Playlist skinning
JW Player supports a flexible skinning model that allows designers to dramatically change the look of a player. The playlist UI component can also get skinned, and many of the freely available skins do so.

Some skins (e.g. Modieus) assign each playlist entry lots of space, so a large description will fit. In other skins (e.g. Bekle), each playlist entry is very narrow, solely displaying the titles of the entries.

See our skin building guide for in-depth info on skinning the playlist UI component and the player in general.

Plugins & Providers
JW Player features an extensive plugin model for extending its functionality (e.g. for Captioning). The player also supports so-called providers to extend the underlying playback capabilities (e.g. for RTMP Streaming). Both plugins and providers supply configuration options that can be set per playlist entry.

For inline JSON playlists, you can simply insert these options in the HTML code. The options should be prepended with the name of the plugin/provider and a dot. Here's an example configuration that uses the captions plugin, with a dedicated captions file per playlist entry:

<div id="container"></div>

<script type="text/javascript">
    jwplayer("container").setup({
        'flashplayer': 'jwplayer.swf',
        'playlist': [{
            'file': '/videos/video1.mp4',
            'title': 'The first video',
            'captions.file': '/assets/captions1.txt'
        },{
            'file': '/videos/video2.mp4',
            'title': 'The second video',
            'captions.file': '/assets/captions2.txt'
        }],
        plugins: {
            captions: {}
        }
  });
</script>

For external RSS playlists, you can use the jwplayer: extension to insert these custom properties. Here's the same example playlist in RSS format:

<rss version="2.0" xmlns:jwplayer="http://developer.longtailvideo.com/">
<channel>
    <item>
        <title>The first video</title>
        <jwplayer:file>/videos/video1.mp4</jwplayer:file>
        <jwplayer:captions.file>/assets/captions1.txt</jwplayer:captions.file>
    </item>
    <item>
        <title>The second video</title>
        <jwplayer:file>/videos/video2.mp4</jwplayer:file>
        <jwplayer:captions.file>/assets/captions2.txt</jwplayer:captions.file>
    </item>
</channel>
</rss>

Note the top level element, which describes the JW Player namespace using the xmlns:jwplayer attribute. This must be available in order to not break validity.


Keywords: JW Player, Playlist, Blogger, Blogger Tutorial, Blogger Embedding, Blog, Website.


Friday, January 25, 2013

JW Player-Subtitles-Closed Caption-Audio Description Plugins


Captions plugin and Audio Description plugin are used to load both a captions SRT and an audio description MP3 file. Both can be toggled on/off through a large, descriptive button in the display area. The plugins are automatically loaded by JW Player from our CDN:
        plugins: {
            captions: { file: '/assets/Parker.srt' },
            audiodescription: { file: '/assets/Parker.mp3' }
        }
    });
</script>


Here is a basic setup with both Audio Description and Closed Captions

Embed Code

SWFObject 1.5
<script type='text/javascript' src='swfobject-1.5.js'></script><div id='mediaplayer'></div><script type="text/javascript">    var so = new SWFObject('player.swf','playerID','480','300','9');    so.addParam('allowfullscreen','true');    so.addParam('allowscriptaccess','always');    so.addVariable('file', '/assets/Parker.mp4');    so.addVariable('image', '/assets/Parker.jpg');    so.addVariable('plugins', 'audiodescription-2,captions-2');    so.addVariable('audiodescription.file', '/assets/Parker.mp3');    so.addVariable('captions.file', '/assets/Parker.srt');    so.write('mediaplayer');</script>

SWFObject 2.2
<script type='text/javascript' src='swfobject-2.2.js'></script><div id='mediaplayer'></div><script type="text/javascript">   var flashvars = {      'file':   '/assets/Parker.mp4',      'image':  '/assets/Parker.jpg',      'plugins':        'audiodescription-2,captions-2',      'audiodescription.file':  '/assets/Parker.mp3',      'captions.file':  '/assets/Parker.srt'   };       var params = {      'allowfullscreen':        'true',      'allowscriptaccess':      'always'   };    var attributes = {      'id':                     'playerID',      'name':                   'playerID'   };   swfobject.embedSWF('player.swf', 'mediaplayer', '480', '300', '9', 'false',        flashvars, params, attributes);    </script>

JW Embedder
<script type='text/javascript' src='/jwplayer/jwplayer.js'></script><div id='mediaplayer'></div><script type="text/javascript">  jwplayer('mediaplayer').setup({    'flashplayer': 'player.swf',    'id': 'playerID',    'width': '480',    'height': '300',    'file': '/assets/Parker.mp4',    'image': '/assets/Parker.jpg',    'plugins': {       'audiodescription-2': {           'file': '/assets/Parker.mp3'       },       'captions-2': {           'file': '/assets/Parker.srt'       }    }  });</script>

If you prefer a black box around the captions instead of a thin outline, set the back option to true.

Other accessibility features of this player are its keyboard controls (using the TAB and SPACE controls), its screen reader-labeled buttons and the full-screen button. Also, immediately above the player, hidden controls allow screen reader users to control the basic functionality of the player (Play / Mute / Stop).



Keywords: Closed Caption,Audio Description, Plugins, Subtitles, Tutorial, Blogger Tutorial, Tutorials,JW Player-Blogger Embedding,Website.


Saturday, March 17, 2012

Remove YouTube Link

Remove YouTube Branding  from the video.
How can i configure how to prevent to click the link for watch on youtube?
Note:copyrighting video not working.

Breaking Nokia phones on purpose - Nokia Test Center(video)


You can now remove the YouTube branding from the video.

Original Code:
<iframe width="560" height="315" src="http://www.youtube.com/embed/PG_yOWrEDJA?rel=0" frameborder="0" allowfullscreen></iframe>

Modified Code:
<iframe allowfullscreen="" frameborder="0" height="315" src="http://www.youtube.com/embed/LqB4UdpUoGM?modestbranding=1&amp;rel=0" width="420"></iframe>


Add the parameter ?modestbranding=1.

modestbranding=1&amp;



Keywords:Remove YouTube Branding,Remove YouTube Link,Remove YouTube Logo,Tutorial, Tutorials, Blogger Tutorial.

Saturday, March 10, 2012

How embed swf games to a website?

Make sure you have installed Adobe Flash Player on your web browser. And you must find a web server to host your .swf file. Then you can embed the .swf file to your website with HTML code like the code below:

 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="432" height="330" title="game">
<param name="movie" value="/flash/game.swf" />
<param name="quality" value="high" />
<embed src="/flash/game.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="432" height="330"></embed>
</object>


Keywords:Answers, Questions, Blogger Tutorial, Tutorial, Tutorials, Blogger Embedding, Embed Flash Games, Embed Object,Website.

Infolinks



Infolinks it a great monetization tool

General Information

Website infolinks.com
Blog blog.infolinks.com
Category Advertising
Phone +1-212-201-7481
Email Info@infolinks.com
Employees 32
Founded 2007
Description In - Text Advertising Provider 


Infolinks, Inc. is a leading provider of In-Text Advertising services, working with online content publishers worldwide.

In-Text advertising inserts text link advertisements within the content of websites, usually in the form of double-underline hyperlinks. Upon a hover of the mouse, a floating informational bubble opens with content from an advertiser. If clicked, the visitor is directed to the advertisers landing page and the website owners earn advertising revenue; otherwise, when the mouse is moved away from the hyperlink, the bubble disappears.

Infolinks enables website owners and publishers to benefit from premium In-Text ads. Established in 2007 and backed by Primera Capital, Infolinks leads the industry with an attractive business model and guarantees the highest revenue sharing basis to all partners. Since the companys incorporation, thousands websites have been integrating Infolinks In-Text ads and they take pride in making the process effortless, easy and immediately profitable.

Infolinks In-Text ads complete the contextual web ad experience. Infolinks integration takes 1-minute only as it simply requires the insertion of one line of Infolinks script code into web pages’ html. After that, the entire process is intelligently automated without being held to any long-term commitments.


Keywords:Pay Per Click Advertising, In Text Ads, Contextual Ads, Website, Blog, Blogger, Blogger Tutorial, Ad exchange, Advertisers, Publishers, NEWS


AdBrite





General Information
Website adbrite.com
Category Advertising
Email privacy@adbrite.com
Employees 70
Description Largest independent online ad exchange


"We are implementing a top-level domain requirement, and will no longer accept sites that use free blog hosting solutions like Blogspot, Hpage, Tumblr, or .Co.CC (free hosting solution). We are also not accepting sites with less than 10 page views per day. If you would like to place ads on sites like this please consider using a different service, as we can't accept these types of sites.
If you have any additional questions please feel free to ask.

regards
(name-hidden)
Customer Support"


 Hello Publisher,

We've completed the review of your zone, Top Banner ( Zone ID******** ), that you've submitted. Unfortunately, we are unable to approve it for our marketplace at this time due to the following reasons:
- Not a top level domain
If you wish to petition our decision or you have changed your site's content to meet our standards, please forward this email to********** with a request to have your zone re-reviewed.

Thanks,
The adBrite Team

Keywords:Ad exchange, Advertisers, Blogger Tutorial, NEWS, Publishers, Tutorial, Tutorials,Pay Per Click Advertising.

Saturday, March 3, 2012

JW Player-Blogger Embedding


Its very simple. You should put a space beteween embed & src. It has to look like this:
<embed src="http://www.jeroenwijering.com/embed/player.swf"width="720"height="324"allowscriptaccess="always"allowfullscreen="true"flashvars="height=324&width=720&file=http://x264.servebeer.com/550.mp4&searchbar=false&smoothing=false"/>

And NOT like that:
<embedsrc="http://www.jeroenwijering.com/embed/player.swf"width="720"height="324"allowscriptaccess="always"allowfullscreen="true"flashvars="height=324&width=720&file=http://x264.servebeer.com/550.mp4&searchbar=false&smoothing=false"/>

Deactivate auto play for embedded video
autostart (false): Set this to true in the player to automatically start playing when the page loads.

"HTML can not be accepted. Tag is not closed"
Blogger don't like autoclosing tags. Instead of just
  />
 at the end, you should use
</embed>



Exemple



Keywords: Blog, Blogger, Blogger Embedding, Blogger Tutorial, JW Player, Tutorials.


Friday, February 17, 2012

Insert Javascript in Blogger Template and Posts


1)How to Insert Javascript in the Template

Design > Edit HTML

Now you Search with Browser for the string "text/javascript"


Cmd+f on a Mac
Ctrl+f on a PC
Look for "text/javascript"

And...
Take Note of the Position you Found It! At Google there are Wise Guys and they Know that the Best Position to put Javascript Code for Site Functionality is: the End of the Body
The idea to put Javascript in the head has been largely diffused Simply because that the best way to keep Ordered and Readable your HTML Content... But now if you look at how HTML is Loading you will arrive to understand than it's Best to Load Before some Content and Images than Code. In Fact there is an Human Looking at the Screen and he Doesn't like so much Waiting in front a Blank or Messy Image :)


Insert Highlighted Code to Test
Save Template
If you have Inserted an Alert command just Click on View Blog to verify than is Working! :)
If you need to Insert Javascript in your Post Look right to the Next Section.

2)Hot to Insert Javascript in the Posts





Insert Code at the Post's Bottom
To Test Insert Highlighted Code
Publish and View Post to Verify

Keywords: Blog, Blogger, Blogger Tutorial, Hot to Insert Javascript in the Posts, How to Insert Javascript in the Template, Javascript, Tutorials.


Embed Search Box In Blogger Header

Embed Search Box In Blogger Header that makes it look beautiful.You can also Embed Google Search Box In Blogger Header, to add to your earnings Or custom search engine to your blog. This is very important trick to increase your earnings of Adsense if you add google search as you will be got paid to get searched from your google search from your blog.


Now How to add this link unit to your Blogger Header?

1.Login to your blogger
2.Go to LAYOUT tab
3.Then EDIT HTML tab
4.Click On EXPAND WIDGETS to expand html
5. Search the below code in red

<div class='descriptionwrapper'>
<p class='description'><span><data:description/></span></p>


Now Add the seach code after these lines.

If you want to add your google search then add the google search code from adsense.

It will look like this:-


If you want search unit to be placed above the description and below title then place the search code above these red lines.

Many readers asked me for the codes of search box that can be placed in header. Visit my post for blog search box code here.

Note:-Make the adsense code eco-friendly by putting it here before adding.


Keywords: Adsense, Blogger Tutorial, Embed Search Box WIDGETS, Search Box Code For Blogger, Search Box Code For Website, Search Box For Blogger, Search Box For Website, Tutorials.


Thursday, February 16, 2012

How Add Search Box Code To Blogger

How to add a search box to your blogger,as default template doesn't provide any search codes or search box in your template so as readers can search of in your blog or web from your blog.There are many methods of adding search box to your blog at different places you want and different types of codes for search which you want to be done in our blog.Now i will explain where to add these codes and what codes to add to make a seach box in your blog.

Lets first of all start with the search codes which you need to add in your blog. The codes are below:-

First

<form id="searchThis" action="/search" style="display:inline;" method="get"><input id="searchBox" name="q" type="text"/> <input id="searchButton" value="Go" type="submit"/></form>


Change the text in red to any text like search or hit you want to display in button to hit the search.

Your search box will appear like this below.



Second

If you want to add some styling like this new sample below:-



Use these codes

<form id="searchthis" action="/search" style="display:inline;" method="get">
<input id="search-box" name="q" size="25" type="text" style="background: #ccccff; border: 2px solid #000066"/><input id="search-btn" value="Search" type="submit" style="background: #000066; border: 2px outset #ff0000; color: #ffffff; font-weight: bold;"/></form>


Edit the colors or styling in red in above codes to change the styling of search box to adjust in your template.

Third

Now if you want to add image in place of search button like below:-



Use these codes:-

<form id="searchthis" action="/search" style="display:inline;" method="get">
<input id="search-box" name="q" size="25" type="text" value="Enter search terms"/><input id="search-btn" value="Search" type="image" src="http://dryicons.com/images/icon_sets/stickers_icon_set/png/16x16/search_magnifier.png" style="margin-left: 5px; margin: 3px 0 0 5px;"/></form>


Change the image url in red above with the url of the image you want to use.and hope you would have no problem in using any of the codes.

Now How To place search Box at different places in blogger blog:-

To Place it in sidebar:-

Under Template->Page Elements tab, click “Add a Page Element” at the place where you want your search box to appear.
Select HTML/JavaScript and add the above codes.

If you want to place search box in header read this tuorial Embed search Box In Blogger Header.

I hope you will love this tutorial.


LinkShare_300x250


Keywords: Blogger Tutorial, Embed Search Box WIDGETS, How To Place Search Box, Search, Tutorials.