#holder{width:640px; margin:auto; margin-top:0px; padding:0px; background-color:#fff;}
#player{width:640px;height:360px;}
#videobar {width:640px; height:100px; background:#000;}
.videobar-wide a.videobar-nav {height:100px!important;}
.videobar-wide div.videobar-viewport {width:540px!important;}

$('#player').player({
apiKey: 'movideo50Kaliber',
appAlias: {
flash: "50kaliber-universal-flash",
iphone: "50kaliber-universal-iphone",
ipad: "50kaliber-universal-ipad"
},
playlistId: '48696'
});
$('#videobar').videobar({
apiKey: 'movideo50Kaliber',
appAlias:'50kaliber-universal-flash',
playlistId: '48696',
mediaHandler: playMedia,
heightViewport: '100px',
heightContainer: '100px',
showDesc: false
});
function playMedia(e) {
e.preventDefault();
$('#player').player('play' , { mediaId:e.data.id });
}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: