
Custom Embed Reference
I am trying to custom embed jwp and these two references seem to contradict each other:
https://support.jwplayer.com/customer/en/portal/articles/1891931-building-custom-embeds-with-player-libraries
https://support.jwplayer.com/customer/portal/articles/1406723#fndtn-advanced
The first uses this syntax:
<script>
jwplayer("container").setup({
playlist: "//content.jwplatform.com/feeds/F2YKWOWd.rss"
}
And the second uses this:
<script type="text/JavaScript">
var playerInstance = jwplayer("myElement");
playerInstance.setup({
"playlist": https://content.jwplatform.com/feeds/ioPpI637.json
});
I assume it's a difference in context. Can someone please help me understand which of these pages, (or some other page) I should be using for guidance?