![](https://secure.gravatar.com/avatar/4c5d8e7c611a60ac02912351e2b0da84?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
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?