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

JW Player Conflict with Other embedded players


Hello,

We are loving what we have seen of JW Player 7 so far. We've got it installed as a Wordpress Plugin and it was working great.

My company offers video training as a subscription service to customers and we have over 952 videos on our site. One thing I noticed is that once I installed the JW Player scripts on our site that JW Player hi-jacks all embedded video players regardless of the the whether it is instantiated on the page.

Here is a video where we have called the JW Player to load a video: http://dev.sharepoint-videos.com/jw-player-video/ We have used the following code:

<div id="visualPlayer">Loading the player...</div>
<script type="text/javascript">
var playerInstance = jwplayer("visualPlayer");
playerInstance.setup({
file: "http://sharepoint-videos.s3.amazonaws.com/screencasts/1331404.mp4",
width: 650,
height: 545,
title: 'Basic Video Embed',
description: 'A video with a basic title and description!'
});
</script>

Here is another video that uses a hosted video player and as you can see Jw Player is trying to load the video even though there is no player instantiated on that page and it results in broken videos.

http://dev.sharepoint-videos.com/module-1/sp10-checking-permissions-for-a-user/

Our concern is that we have to slowly migrate from one player to another and we can't afford for our content to be impacted.

How can be assured that JW Player will only load on the pages where instantiate the player in Javascript?

0 Community Answers

This question has received the maximum number of answers.