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

SVG bug in Firefox (close banner X icon)


Hello,

there is a bug in firefox which prevents inline SVG in <img src> from being rendered, when there is an unescaped # symbol, see

https://jsfiddle.net/m1x56s7o/ vs https://jsfiddle.net/m1x56s7o/2/, firefox cannot render the first image in first link.

However, this method of inline svg is used for displaying closing icon for overlay banners in JW Player. That means Firefox users cannot see the icon.

Please, fix this by encoding the source (or at least the # symbols) in inline svg.

4 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

Thank you for the links. I am just curious how you are setting up your page with JW Player and your image. Do you have a link by chance with no other elements?

Randy

Jakub Michálek

User  
0 rated :

Hello,

yes, we are using the JW Player on
http://video.aktualne.cz/ eg. http://video.aktualne.cz/ze-sveta/mosa-dostala-novou-nohu-v-nemocnici-pro-slony-uz-devatou-v-r/r~9373d3ea504811e682380025900fea04/?overlay (the query sting is necessary)

Said image is a close button for overlay advert (usually triggered at 15 seconds into the video). For now, we have turned this ad position off for Firefox (hence the query string to force it). So it is a matter of VAST plugin.

I believe this issue is new in v7.4 since in v7.3 the close button displayed correctly.

Even though it is a bug in Firefox to be honest, I think JW Player might accomodate for this issue until they fix this.

Thank you

Jakub

Jakub Michálek

User  
0 rated :

jwplayer().getConfig() looks like this http://pastebin.com/Kr8x5HCU

Randy

JW Player Support Agent  
0 rated :

Hello Jakub,

Looking into your Fiddle code examples. I do not see the use of our player within the examples but see the error. This seems to me to be more of a browser specific issue and not so much a JW Player issue. I will let our UI team know about this however.

Kindly,

Randy

This question has received the maximum number of answers.