
"No media_id found" error
I am trying to embed a youtube video into my site,
I am using the cloud-hosted library found on my dashboard.
and my embed code looks like this:
<script type="text/javascript">
var playerInstance = jwplayer("videospace");
playerInstance.setup({
file: "//www.youtube.com/watch?v=W4DG0qRCTdo",
width: 640,
height: 360
});
</script>
I tried to follow the instructions to get a media_id here: https://support.jwplayer.com/customer/en/portal/articles/2083166-troubleshooting-data-capture-issues
but i couldnt not see the API section on the dashboard. also, we upload a lot of content to youtube, i would hate to have to import each and every video first via the dashboard.
is there really no simple way to embed youtube videos?
thanks!