
Unencoded apostrophes break video preview image
Given the following page source, the initial keyframe for the video renders black instead of the image referenced in the player setup. A single quote is valid URL syntax (see rfc-2396, 2.3. Unreserved Characters), and should be supported in player setup since the parameter takes a URL. To see this, you'll need to replace the script source in the example and may need to replace the video file if it expires before you look at this ticket. You can keep the image, as that won't expire.
We are using 6.12, but the issue was present in 6.11.
We use JWPlayer as a part of the Escenic platform. It's a web CMS that integrates with JWPlayer. The way it generates image file names doesn't encode single quotes because, as stated above, they should be "safe" in a URL. It seems that the single quote is breaking something along the way, and the keyframe images never gets set as a backgroud-image for the player. We don't have a lot of wiggle room to change the way Escenic generates image URLs, so we need this issue addressed at the player level.
<html>
<head>
<script src="path-to-your/jwplayer.js ">///YOUR KEY HERE///</script>
</head>
<body>
<div id="myElement">Loading the player... </div>
<script type="text/javascript">
var playerInstance = jwplayer("myElement");
playerInstance.setup({
primary:"HTML5",
width:"100%",
aspectratio:"16:9",
autostart:false,
image:"http://qa1.kansascity.com/entertainment/hgw9h-Thats-showbiz/ALTERNATES/LANDSCAPE_560/That's%20showbiz",
file:"http://output.mci.media.s3.amazonaws.com/binary/2015/2/27/20/1424872004188-162ucs/IMG_2189-1425070299925.mp4?AWSAccessKeyId=AKIAJHT5OUFKQVKNBCBQ&Expires=1592332063&Signature=THxY0%2BXLRrNr1iCFdiiWF6ddNGo%3D",
advertising:{
client:"googima",
tag:"http://pubads.g.doubleclick.net/gampad/ads?sz=400x300&vpos=preroll&sdkv=3.9…3D%26pl%3Dhomepage&impl=s&correlator=[timestamp]&unviewed_position_start=1"
}
});
</script>
</body>
</html>