Facing Issues with JWplayer embbeded in Moodle CMS
Hello All,
We are trying to use JWplayer in Moodle CMS to play videos, but we are facing the below issues
Playing for first time in pop-up but not the second time
Sometimes video gets disaligned while playing, getting black screen.
This is the code we are using, Please let me know if any alternation required
<script src='http://content.jwplatform.com/libraries/C8mpWfqr.js'></script> <script>jwplayer.key='PnGAncGgb+uBeIN8h/oIOaCntlILrksQmXQ9nqNZmG0=';</script> <div id='myElement'>Loading the player...</div> <script type='text/javascript'> var playerInstance = jwplayer('myElement'); playerInstance.setup({ image : 'http://d2etc5xx6yjqwo.cloudfront.net/topic-8/topic-8-400x224-00001.png', file: 'http://d2etc5xx6yjqwo.cloudfront.net/topic-8/play.m3u8', width: 400, height: 220, title: 'Topic-8', abouttext: 'Cloud Kinetics - AVID Player', }); </script>
Thanks
Selvan.R