Ctrl+P
A collection of JW Player-related snippets for Visual Studio Code
jwdeclare
const ${1:playerInstance} = jwplayer('${2:myElement}');
jwsetup
${1:playerInstance}.setup({
$2
});
jwevent
${1:playerInstance}.on('$2', (evt) => {
console.log(evt);