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

YouTube video not working

Full html:

<!DOCTYPE html>

<html lang="en">
<meta charset="utf-8" />
<script src="<account_token_here>.js"></script>
<div id='playerXvfdHDkXFoqa'></div>
<script type='text/javascript'>
file: '//',
title: 'my title',
width: '100%',
aspectratio: '16:9'

When I press Play button, the player stucks, it shows endless loading spinner.

3 Community Answers


0 rated :

Try putting "http:" before the file name. What you've got there is not a valid URL.

Cooper Reid

JW Player Support Agent  
0 rated :

Mr Neutron is correct, you’ll need the entire URL.


0 rated :

I tried to run this html locally (not on a webserver). Locally it does not work, but on a webserver it works. Thanks

This question has received the maximum number of answers.