Skip to content

Work of the player together with the cookies #22

@susl16c

Description

@susl16c

Tell me how you can write your player worked with cookies and save the autoplay values there when you click on the checkbox?
`<script type="text/javascript">
var ap = false;
$('#chk1').prop( "checked", ap);
MRP.insert({
'url':'https://xxx.ru/radio/8000/radio.mp3',
'lang':'ru',
'codec':'mp3',
'volume':50,
'autoplay':ap,
'forceHTML5':true,
'jsevents':true,
'buffering':0,
'title':'Korea freedom',
'welcome':'Корейское радио',
'wmode':'transparent',
'skin':'faredirfare',
'width':269,
'height':52
});

	$('#chk1').click(function(){
		// save this.checked to cookies
	});
</script>`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions