0
hello I have the following code:
var player = videojs('MY_VIDEO_1');
player.on('ended', function() {
$.ajax({
url: "",
context: document.body,
success: function (s, x) {
$(this).html(s);
})
};
and this error appears on the Uncaught Syntaxerror: Unexpected token console as I resolve?
you know what the
ajaxdoes and what should pass on the url?– Ricardo Pontual
It is No Url Because it is the page that the user is to be reloaded , and I already solved problem was just add one more "};".
– Nicolas Miranda Baiger