
video player
I have recorded video by camera and it saved as mp4 but when I tried to play it on the web page by jw player I got Error loading media file could not be played
I have recorded video by camera and it saved as mp4 but when I tried to play it on the web page by jw player I got Error loading media file could not be played
Are you hosting your content with us? Do you have a link to a page with your player that we can look at?
No I'm using it on the local host
and this the code I used to play the video
<script type="text/javascript">
jwplayer("aa").setup({
flashplayer: "jwplayer/player.swf",
file: "~/Videos/E-learning.mp4",
width: "550",
height: "400",
primary:'html5',
poster: 'images/notAvailble.jpg',
});
</script>
Try following one of our basic embedding options available at: https://support.jwplayer.com/customer/portal/articles/1406723-basic-video-embedding-options#fndtn-method-4