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

Youtube


Hi can you re-enable youtube embedding, even tho it didn't work I could copy the code and enter the URL and title of the video to get a nice responsive player, but since the option is removed now I can't embed any more videos.

Thanks,
Csaba

3 Community Answers

Cooper Reid

JW Player Support Agent  
0 rated :

Hi Csaba,

You can use this code:

jwplayer(“player”).setup({
file: ‘https://www.youtube.com/watch?v=xxx’,
title: ‘My Video’,
width:‘100%’
});

While making sure the jwplayer source code is included on the page -

Kind Regards,
Cooper

nilgesz.csaba

User  
0 rated :

Hi Cooper,

That doesn't work for me for some reason, now I copied an old youtube embed code, publish anything in jwplayer copy it's player id and add it to my old code that looks like this:

<div id=''></div>
<script type='text/javascript'>
jwplayer('').setup({
file: '//',
title: '',
width: '100%',
aspectratio: '16:9'
});
</script>

Hope this won't break in future my embed videos.

Csaba

Cooper Reid

JW Player Support Agent  
0 rated :

You’ll have to manually insert the file parameter
Cooper

This question has received the maximum number of answers.