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

Adding Vast into my JW embed


Hey,
I'm new in JW player and using the free version.
I have 2 questions.
I've insert a video from my computer and got this code

<script src="http://jwpsrv.com/library/sr+VhqF2EeSPtBJtO5t17w.js"></script>
<div id='playerq6P12BeE'></div>
<script type='text/javascript'>
jwplayer('playerq6P12BeE').setup({
playlist: '//content.jwplatform.com/feed/q6P12BeE.rss',
width: '300',
height: '250',
mute: 'true',
autostart: 'true',
repeat: 'true'
});
</script>

My questions are:
1. Why when copying it to notepad and end it with .html i see the player saying :" Error playing playlist: Error loading file---what am I doing wrong?
2. I'm working with Epom ad server and they gave me vast tag:
http://n85adshostnet.com/vast.xml?key=b345c871a757e15df316e6a96301e940
how would I insert it?

1 Community Answers

Cooper Reid

JW Player Support Agent  
0 rated :

Please make sure that you putting your local file under a web root. The flash player will not work properly if the file is simply placed on your Desktop. Also, you’ll need an Ads tier license to integrate advertising. Here is how a basic preroll ad is integrated:
http://support.jwplayer.com/customer/portal/articles/1431665-basic-preroll-video-ads
-Cooper

This question has received the maximum number of answers.