-2
Could anyone tell me how I can supplement my Jwplyer code to perform the following updates.
Add a function that saves the running time of the video in a cookie file using Javascript valid for 2 days. Together with the requested function, add together a message that is activated in the player asking if the user wants to return the video at the point where it stopped, only if the cookie file exists.
<div id='jplay'style='width: 100%;'></div>
<script type="text/javascript">
var playerInstance=jwplayer("jplay");
playerInstance.setup({
localization:{fullscreen:"Tela Cheia", hd:"Qualidade", copied:"Copiado", playbackRates:"Velocidade da reprodução", videoInfo:"Sobre este vídeo", rewind:"Voltar 10s", settings:"Qualidade","loadingAd":"Carregando anúncio",},
playbackRateControls:"[0.25, 0.5, 0.75, 1, 1.25, 1.5, 2]",
id:"jplay",
controls:true,
displaytitle:true,
width:"100%",
height:"100%",
aspectratio:"16:9",
fullscreen:"true",
autostart: false,
preload:"auto",
sharing:{heading:"Compartilhar"},
image: jw.image,
sources: 'arquivos de video aqui',
type:"video/mp4",
tracks:[{file:"",label:"Português",kind:"captions","default":true},
</script>