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

Video is not playing in IE if "Shockwave Flash Object" is turned off


Though i am embedding the JWPlayer into IE11 with HTML5 (without Flash) to load the youtube video; IE11 is not playing it without enabling the "Shockwave Flash Object" add-on in it. I want to play video without enabling the Flash add-on.

Can please assist me in this.

8 Community Answers

Donni

Best Answer  JW Player Support Agent  

It seems you are using configs from an older version of the player. Please review the updated configuration reference. . Below is what your player.setup() could look like if updated:

var playerInstance = jwplayer("myElement");
playerInstance.setup({
    file: 'https://www.youtube.com/watch?v=D6vMwtkdozQ',
    image: 'rough-horn-2146181__340.jpg',
    width: 380,
    height: 220,

View in conversation

Donni

JW Player Support Agent  
0 rated :

What version of Windows are you running? HLS in HTML5 in Internet Explorer 11+ is Windows 8.1 & 10 only.

s...

User  
0 rated :

Hi Donni,

The OS which I am using is "Windows 8.1 Enterprise". Please find the below script which I am using,

<script type="text/javascript">
var playerInstance = jwplayer("myElement");
playerInstance.setup({
primary : 'html5',

levels: [
{'file': 'https://www.youtube.com/watch?v=D6vMwtkdozQ', type: 'DASH' }
],

modes: [
{ type: 'html5', src: '/jwplayer/player.swf' }

],
'image': 'rough-horn-2146181__340.jpg',
'width':'380',
'height':'220'
})
</script>

And today I see the video is not playing even after enabling the Flash add-on. Instead showing an error as "An error occurred. Please try again."

Thanks & Regards,
Sundar

s...

User  
0 rated :

Hi Donni,

Please ignore the above script and consider the below.

<script type="text/javascript">
var playerInstance = jwplayer("myElement");
playerInstance.setup({
primary : 'html5',

levels: [
{'file': 'https://www.youtube.com/watch?v=D6vMwtkdozQ', type: 'mp4' }
],

modes: [
{ type: 'html5', src: '/jwplayer/player.swf' }

],
'image': 'rough-horn-2146181__340.jpg',
'width':'380',
'height':'220'
})
</script>


Thanks & Regards,
Sundar

Donni

Best Answer  JW Player Support Agent  
0 rated :

It seems you are using configs from an older version of the player. Please review the updated configuration reference. . Below is what your player.setup() could look like if updated:

var playerInstance = jwplayer("myElement");
playerInstance.setup({
    file: 'https://www.youtube.com/watch?v=D6vMwtkdozQ',
    image: 'rough-horn-2146181__340.jpg',
    width: 380,
    height: 220,

s...

User  
0 rated :

Thank you Donni. It is working for us, Thanks for your timely help.

I am just having a clarification, whether the given license key has any expiry date or it is a permanent one.

Thanks & Regards,
Sundar

Donni

JW Player Support Agent  
0 rated :

Cloud-hosted players have rotating license keys and self-hosted players have static license keys.

s...

User  
0 rated :

Hi Donni,

Thank you for the timely help, the video is working. I am just having a clarification - does the license key which we used is having the expiration period?
Please confirm.

Thanks & Regards,
Sundar

s...

User  
0 rated :

Donni,

Please ignore the above query. Thanks for the Information.

Thanks & Regards,
Sundar

This question has received the maximum number of answers.