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

Error loading skin: Crossdomain loading denied


Hi,

I have a problem with loading local skin.
Website is hosted in IIS 7. Website has bindings to 2 domain names. First one contains english characters only. Another one contains '' character. And in second case error appears in Firefox and Opera under Windows 7 OS. But it works fine in Chrome, Safari and IE under Windows 7 OS.

Could you please help me to resolve the problem in Firefox and Opera?

8 Community Answers

Ethan Feldman

JW Player Support Agent  
-1 rated :

Link ?

JW Player

User  
-1 rated :

http://sprakradet.no/Tema/Tegnsprakteiknsprak/ - all works fine
http://sprkrdet.no/Tema/Tegnsprakteiknsprak/ - problems

Ethan Feldman

JW Player Support Agent  
0 rated :

What include in generating the jw embed on these pages?

JW Player

User  
0 rated :

Do you mean how it set up?

If yes, then it initialized from javascript:

var slowmo = window.location.protocol + '//' + window.location.host + '/templates/sprakradet/Scripts/slowmo/slowmo.js';
var skin = window.location.protocol + '//' + window.location.host + '/templates/sprakradet/Scripts/slowmo/jwplayer/six.xml';

// JWPlayer requires an id
var identifier = 'video-' + id++;

// Plugins
var plugins = {};
plugins[slowmo] = {};

// Setup
jwplayer(identifier).setup({
file: file,
skin: skin,
image: readyImage,
width: element.width(),
height: element.width() * .75,
primary: "flash",
plugins: plugins,
controlbar: 'bottom'
});

JW Player

User  
0 rated :

$(document).ready(function(){
$('.video-box').videoBox({
file: $.trim($('.video-box').text())
});
});

Ethan Feldman

JW Player Support Agent  
0 rated :

I mean which specific include files (js), have that code?

JW Player

User  
0 rated :

Page which hosts jwplayer has references to:

jquery-1.9.1.min.js
jquery-migrate-1.1.1.min.js
jquery.tablesorter.min.js
jwplayer.js

<script type="text/javascript">
jwplayer.key = "<my-jwplayer-code>";
</script>

and reference to video-box.js where code from my previous 2 posts implemented.

Player works in flash mode.

Also player use slowmo plugin:

var slowmo = window.location.protocol + '//' + window.location.host + '/templates/sprakradet/Scripts/slowmo/slowmo.js';

var plugins = {};
plugins[slowmo] = {};

// Setup
jwplayer(identifier).setup({
file: file,
skin: skin,
image: readyImage,
width: element.width(),
height: element.width() * .75,
primary: "flash",
plugins: plugins,
controlbar: 'bottom'
});

Ethan Feldman

JW Player Support Agent  
0 rated :

I would try to host the skin fine on the same exact domain, not sub domain, to test.

This question has received the maximum number of answers.