Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Streaming from amazon cloudfront - need client logo to appear


Hi
I cant seem to get a logo to appear in player with link .
Here is my code -
<div id="myElement">Loading the player ...</div>
<script type="text/javascript">
jwplayer("myElement").setup({
playlist: [{


image: "https://s3.amazonaws.com/otl-thumbnails/promo-still.jpg",


logo: {
file: "https://s3.amazonaws.com/otl-thumbnails/Barbizon_logo_red.png",
link: "http://barbizonteenchoice.com/"
},
sources: [
{ file: "rtmp://s3by25xsomsqrk.cloudfront.net/cfx/st/tc-barbizon-promo.mp4" },
{ file: "https://s3.amazonaws.com/otl-videos/tc-barbizon-promo.mp4" }

]



}],

repeat: "false",
primary: "flash",
autostart: "true",
width: "100%",
aspectratio: "16:9",


});
</script>

7 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

That code looks fine, where is this running? The only thing to change is to remove the comma on the last line.

chris

User  
0 rated :

How do you add more videos to the playlist?

Ethan Feldman

JW Player Support Agent  
0 rated :

You just need to make multiple playlist entries, here is some sample code:

playlist: [{
file: “/uploads/sintel.mp4”,
image: “/uploads/sintel.jpg”,
title: “Sintel Trailer”
},{
file: “/uploads/tears.mp4”,
image: “/uploads/tears.jpg”,
title: “Tears of Steel Trailer”
},{
file: “/uploads/bunny.mp4”,
image: “/uploads/bunny.jpg”,
title: “Big Buck Bunny Trailer”
},{
file: “/uploads/elephants.mp4”,
image: “/uploads/elephants.jpg”,
title: “Elephants Dream Trailer”
}]

michael

User  
0 rated :

Ethan - the video is at http://173.203.75.122:88/index.aspx
still no logo png appearing. any ideas why?

Ethan Feldman

JW Player Support Agent  
0 rated :

Remove this code from the playlist block:

logo: {
file: “https://s3-us-west-2.amazonaws.com/tc2014/images/barbizon/Barbizon_logo_red.png”,
link: “http://barbizonteenchoice.com/”
},

Move it under the repeat line. It is not a playlist, it is the logo option.

mike

User  
0 rated :

thx !!

Ethan Feldman

JW Player Support Agent  
0 rated :

Np!

This question has received the maximum number of answers.