Showing posts with label Blogger. Show all posts
Showing posts with label Blogger. 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.


Saturday, March 10, 2012

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


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.