I'm using JW Player to display videos. My videos are uploaded directly onto JW Player server and it returns a video key for each one through BOTR API (Bits on the Run) that belongs to JW service.
Here is how I display a video with video key
<iframe src="http://content.bitsontherun.com/players/myvideokey.js">
That way video will NOT be responsive although I tried many ways (designers.hubspot.com/docs/snippets/responsive/how-to-make-a-youtube-or-other-iframe-video-responsive).
Then I follow jw player instruction: http://www.jwplayer.com/blog/new-in-jw-player-responsive-design/ and it works like a charm but not all keys.
<script type="text/javascript">
jwplayer("container").setup({
file: "http://content.jwplatform.com/videos/myvideokey.mp4",
width: "100%",
aspectratio: "16:9",
autostart: true,
repeat: true
});
</script>
My problem is that: Some of my video keys work but not others. That means some keys only work with iframe way but in the second way it shows this error "Video cannot be played" (it does not show "video not found").
All my video keys are in only one BOTR API account.