![](https://secure.gravatar.com/avatar/a80df22a37fb6e68c7392fd90f4a16bc?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
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?