
Error only in Flash but not Html5: "Skin not a valid file type"
//JW 6 setup media:
jwplayer('myPlayer').setup({
file: 'https://domain.com/media.mp4',
primary: 'flash',
flashplayer: '/asset/jwplayer.flash.swf',
html5player: '/asset/jwplayer.html5.js',
width: '100%',
skin:'/skin/five-custom.xml'
});
I am not sure how to send an attachment, however my xml file simply removes elements I choose not to include. The skin attributes were modified to have the name:
<?xml version="1.0" ?><skin author="JW Player" name="five-custom" target="6.7" version="3.0">
All this works when primary is removed which renders html5. However, when testing to force to use primary:'flash'.
I get the error:
"Error loading skin: Skin not a valid file type"
Why does it work for HTML5 but not in Flash?